Re: vdr-remote plugin not compiling???
Commit Message
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
@@ -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.