[linux-dvb] compile error

e9hack e9hack at googlemail.com
Sun Feb 25 16:11:07 CET 2007


Hi,

the current hg-tree won't compile for kernel 2.6.18.8:

/usr/src/v4l-dvb/v4l/budget-ci.c:110: error: expected identifier before numeric constant
make[3]: *** [/usr/src/v4l-dvb/v4l/budget-ci.o] Error 1
make[2]: *** [_module_/usr/src/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.18.8'
make[1]: *** [default] Fehler 2
make[1]: Leaving directory `/usr/src/v4l-dvb/v4l'
make: *** [all] Fehler 2
very-new-darkstar:/usr/src/DVB #

budget-ci.c:
103 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
104 bool have_command;
105 };
106 #else
107 int have_command;
108 };
109 enum {
110 false = 0,
111 true = 1
112 };
113 #endif

If I remove the definition of true and false, I don't get an error.

- Hartmut



More information about the linux-dvb mailing list