Jouni wrote:
> During make I get this:
>
> /usr/local/src/v4ltesti/v4l-dvb/v4l/budget-ci.c:110: error: expected
> identifier before numeric constant
> make[3]: *** [/usr/local/src/v4ltesti/v4l-dvb/v4l/budget-ci.o] Error 1
> make[2]: *** [_module_/usr/local/src/v4ltesti/v4l-dvb/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-50-generic'
> make[1]: *** [default] Virhe 2
> make[1]: Poistutaan hakemistosta "/usr/local/src/v4ltesti/v4l-dvb/v4l"
> make: *** [all] Virhe 2
>
> Did I botch something or is there a glitch in the code?
Does the attached patch fix it for you?
@David:
This kind of stuff should go to compat.h anyway.
Fortunately, false/true are already defined there. ;-)
CU
Oliver
--
--------------------------------------------------------
VDR Remote Plugin 0.3.9 available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------
diff -r 065567ae3ae0 linux/drivers/media/dvb/ttpci/budget-ci.c
--- a/linux/drivers/media/dvb/ttpci/budget-ci.c Sun Feb 25 10:09:33 2007 -0200
+++ b/linux/drivers/media/dvb/ttpci/budget-ci.c Sun Feb 25 19:11:17 2007 +0100
@@ -100,17 +100,8 @@ struct budget_ci_ir {
int rc5_device;
u32 last_raw;
u32 ir_key;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
bool have_command;
};
-#else
- int have_command;
-};
-enum {
- false = 0,
- true = 1
-};
-#endif
struct budget_ci {
struct budget budget;
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb