[vdr] Re: vdr-remote plugin not compiling???

Suur Karu suurkaru at fastmail.fm
Tue Apr 25 07:02:41 CEST 2006


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


-------------- next part --------------
--- 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.


More information about the vdr mailing list