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
That didn't help - now I get:
Plugin remote: 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 /lib/modules/2.6.16.9/build/include/linux/input.h:805: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/input.h:806: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/input.h:807: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/input.h:808: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/input.h:809: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/input.h:810: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/input.h:811: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/input.h:812: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/input.h:813: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/input.h:815: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:20: error: expected identifier before ',' token /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:20: error: expected unqualified-id before ',' token /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:21: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:36: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:119: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:143: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:157: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:162: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:189: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:222: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:227: error: 'kernel_ulong_t' does not name a type /lib/modules/2.6.16.9/build/include/linux/mod_devicetable.h:231: error: 'kernel_ulong_t' does not name a type make[1]: *** [remote.o] Error 1
Any ideas?