Hello, Antonio On Tue, May 26, 2009 at 5:03 PM, Antonio Beamud Montero <antonio.beamud@xxxxxxxxx> wrote: > It would compile today's snapshot of v4l-dvb with an old kernel version (for > example 2.6.16)? (or is better to upgrade the kernel?) Not long time ago v4l-dvb community had discussions about dropping support for kernels older than 2.6.22. And community decided to support kernels 2.6.22 - 2.6.30+. One of the reason that it's big work to support code to make it compiles and works in old kernels. Well, developers want to spend more time working on new code. So, the best way to you is to upgrade your kernel. Second way to correct mistakes. Probably developers can help you here. One more way, probably you can take old snapshot of v4l-dvb repository that compiles and work on 2.6.16 if you need. Someone can point to link to it (i don' know). > Trying to compile today's mercurial snapshot in a SuSE 10.1 (2.6.16-21), > give the next errors: > > /root/v4l-dvb/v4l/bttv-i2c.c: In function 'init_bttv_i2c': > /root/v4l-dvb/v4l/bttv-i2c.c:411: error: storage size of 'info' isn't known > /root/v4l-dvb/v4l/bttv-i2c.c:425: error: invalid application of 'sizeof' to > incomplete type 'struct i2c_board_info' > /root/v4l-dvb/v4l/bttv-i2c.c:425: error: invalid application of 'sizeof' to > incomplete type 'struct i2c_board_info' > /root/v4l-dvb/v4l/bttv-i2c.c:425: error: invalid application of 'sizeof' to > incomplete type 'struct i2c_board_info' > /root/v4l-dvb/v4l/bttv-i2c.c:425: error: invalid application of 'sizeof' to > incomplete type 'struct i2c_board_info' > /root/v4l-dvb/v4l/bttv-i2c.c:425: error: invalid application of 'sizeof' to > incomplete type 'struct i2c_board_info' > /root/v4l-dvb/v4l/bttv-i2c.c:425: error: invalid application of 'sizeof' to > incomplete type 'struct i2c_board_info' > /root/v4l-dvb/v4l/bttv-i2c.c:427: error: implicit declaration of function > 'i2c_new_probed_device' > /root/v4l-dvb/v4l/bttv-i2c.c:411: warning: unused variable 'info' > make[5]: *** [/root/v4l-dvb/v4l/bttv-i2c.o] Error 1 Well, this mistakes appear in v4l-dvb daily build too. -- Best regards, Klimov Alexey -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html