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 /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 make[1]: *** [remote.o] Error 1
Any ideas?
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
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?
Simon Baxter wrote:
I've just downloaded vdr-remote-0.3.6, and it won't compile.
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
Since this kernel is quite fresh, maybe its an error in the kernel headers. Try pointing DVBDIR in Make.config to an older kernel header version. Or, if you upgrade to recent VDR, don't point to kernel headers at all. Since 1.3.47 VDR defaults to use /usr/include/input.h and similar.
Cheers,
Udo
Simon Baxter wrote:
I've just downloaded vdr-remote-0.3.6, and it won't compile. 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
Since this kernel is quite fresh, maybe its an error in the kernel headers. Try pointing DVBDIR in Make.config to an older kernel header version. Or, if you upgrade to recent VDR, don't point to kernel headers at all. Since 1.3.47 VDR defaults to use /usr/include/input.h and similar.
Cheers,
Udo
I've tried both - same error against older trees, and the upgrade to 1.3.48 gives:
Plugin remote: ERROR: plugin remote doesn't honor APIVERSION - not compiled!
any ideas?
Udo Richter wrote:
Simon Baxter wrote:
I've just downloaded vdr-remote-0.3.6, and it won't compile.
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
Since this kernel is quite fresh, maybe its an error in the kernel headers. Try pointing DVBDIR in Make.config to an older kernel header version. Or, if you upgrade to recent VDR, don't point to kernel headers at all. Since 1.3.47 VDR defaults to use /usr/include/input.h and similar.
Yeah. One workaround founded in vdrportal.de is patching kernel header file input.h
SK
--- input.h.orig 2006-03-20 21:54:47.000000000 +0100 +++ input.h 2006-03-21 00:28:57.000000000 +0100 @@ -796,6 +796,7 @@
#define FF_MAX 0x7f
+#ifdef __KERNEL__ struct input_device_id {
kernel_ulong_t flags; @@ -814,6 +815,7 @@
kernel_ulong_t driver_info; }; +#endif
/* * Structure for hotplug & device<->driver matching.