Upgraded to Debian Sid and Kernel 2.6.26 Multiproto fails once again. What's up duck ? ---- lassehome:/usr/src/multiproto# make make -C /usr/src/multiproto/v4l make[1]: Entering directory `/usr/src/multiproto/v4l' creating symbolic links... Kernel build directory is /lib/modules/2.6.26-1-686/build make -C /lib/modules/2.6.26-1-686/build SUBDIRS=/usr/src/multiproto/v4l modules make[2]: Entering directory `/usr/src/linux-headers-2.6.26-1-686' CC [M] /usr/src/multiproto/v4l/cx25840-core.o In file included from /usr/src/multiproto/v4l/cx25840-core.c:42: /usr/src/multiproto/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h: In function 'v4l2_i2c_drv_init': /usr/src/multiproto/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:197: warning: assignment from incompatible pointer type /usr/src/multiproto/v4l/cx25840-core.c: At top level: /usr/src/multiproto/v4l/cx25840-core.c:71: error: conflicting type qualifiers for 'addr_data' /usr/src/multiproto/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:41: error: previous declaration of 'addr_data' was here make[3]: *** [/usr/src/multiproto/v4l/cx25840-core.o] Error 1 make[2]: *** [_module_/usr/src/multiproto/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686' make[1]: *** [default] Error 2 make[1]: Leaving directory `/usr/src/multiproto/v4l' make: *** [all] Error 2 ----
Hi,
Lauri Tischler wrote:
/usr/src/multiproto/v4l/cx25840-core.c:71: error: conflicting type qualifiers for 'addr_data' /usr/src/multiproto/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:41: error: previous declaration of 'addr_data' was here
Please try this found from linux-dvb ml:
---
Now I found a little patch which brought me over this compile error: http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2.... From: Andrew Morton akpm@linux-foundation.org drivers/media/video/tvaudio.c:147: error: conflicting type qualifiers for 'addr_data' include/media/v4l2-i2c-drv-legacy.h:37: error: previous declaration of 'addr_data' was here Cc: Jean Delvare khali@linux-fr.org Signed-off-by: Andrew Morton akpm@linux-foundation.org --- include/media/v4l2-i2c-drv-legacy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/media/v4l2-i2c-drv-legacy.h~fix-jdelvare-i2c-i2c-constify-client-address-data include/media/v4l2-i2c-drv-legacy.h --- a/include/media/v4l2-i2c-drv-legacy.h~fix-jdelvare-i2c-i2c-constify-client-address-data +++ a/include/media/v4l2-i2c-drv-legacy.h @@ -34,7 +34,7 @@ struct v4l2_i2c_driver_data { }; static struct v4l2_i2c_driver_data v4l2_i2c_data; -static struct i2c_client_address_data addr_data; +static const struct i2c_client_address_data addr_data; static struct i2c_driver v4l2_i2c_driver_legacy; static char v4l2_i2c_drv_name_legacy[32]; Now I'm a step further. Thanks Philipp -- The more I learn about people, the more I like my dog!
---
BR, Seppo
Seppo Ingalsuo wrote:
Hi,
Lauri Tischler wrote:
/usr/src/multiproto/v4l/cx25840-core.c:71: error: conflicting type qualifiers for 'addr_data' /usr/src/multiproto/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:41: error: previous declaration of 'addr_data' was here
Please try this found from linux-dvb ml:
Now I found a little patch which brought me over this compile error: http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2....
Thanks, that cured that problem, up pops next problem --- CC [M] /usr/src/multiproto/v4l/ivtv-i2c.o /usr/src/multiproto/v4l/ivtv-i2c.c: In function 'ivtv_i2c_register': /usr/src/multiproto/v4l/ivtv-i2c.c:171: error: 'struct i2c_board_info' has no member named 'driver_name' make[3]: *** [/usr/src/multiproto/v4l/ivtv-i2c.o] Error 1 make[2]: *** [_module_/usr/src/multiproto/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686' make[1]: *** [default] Error 2 make[1]: Leaving directory `/usr/src/multiproto/v4l' make: *** [all] Error 2 lassehome:/usr/src/multiproto# --- It seems that multiproto is really too broken to use. Grabbed and installed dvb-api-wrapper and normal v4l-dvb tree now it works, after I get my S2-board things maybe different.
Lauri Tischler wrote:
Thanks, that cured that problem, up pops next problem
CC [M] /usr/src/multiproto/v4l/ivtv-i2c.o /usr/src/multiproto/v4l/ivtv-i2c.c: In function 'ivtv_i2c_register': /usr/src/multiproto/v4l/ivtv-i2c.c:171: error: 'struct i2c_board_info' has no member named 'driver_name' make[3]: *** [/usr/src/multiproto/v4l/ivtv-i2c.o] Error 1 make[2]: *** [_module_/usr/src/multiproto/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686' make[1]: *** [default] Error 2 make[1]: Leaving directory `/usr/src/multiproto/v4l' make: *** [all] Error 2 lassehome:/usr/src/multiproto#
I think I just removed the offending code line... :^) I'dont need it since I use only TT budget DVB cards.
BR, Seppo