On Monday 24 April 2006 07:28, Simon Baxter wrote:
I've just downloaded vdr-remote-0.3.6, and it won't compile.
Plugin remote: make[1]: Entering directory `/home/vdruser/vdr-1.3.46/PLUGINS/src/remote-0.3.6' make[1]: Leaving directory `/home/vdruser/vdr-1.3.46/PLUGINS/src/remote-0.3.6' make[1]: Entering directory `/home/vdruser/vdr-1.3.46/PLUGINS/src/remote-0.3.6' g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"remote"' -D_GNU_SOURCE -DREMOTE_FEATURE_LIRC -DREMOTE_FEATURE_TCPIP -I../../../include -I/lib/modules/2.6.16.9/build/include remote.c /lib/modules/2.6.16.9/build/include/linux/input.h:801: error: 'kernel_ulong_t' does not name a type
hmm... no vdr sources at hands, but lets see:
$ grep -R kernel_ulong_t /usr/src/kernel-headers-2.6.16.9/include/* | \ grep typedef
/usr/src/kernel-headers-2.6.16.9/include/linux/mod_devicetable.h:typedef unsigned long kernel_ulong_t;
I would say add an include at the head of remote.c, this probably helps:
#include <linux/mod_devicetable.h>
Kind regards, Stefan