compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux