Mantis-08f27ef99d74: Compile error with 2.6.25
Hi,
I have a Terratec Cinergy C which worked with the mantis driver and 2.6.24 fine. Now I have updated to 2.6.25 and can't compile the mantis driver anymore:
[...]
CC [M] /home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l/cx23885-dvb.o
CC [M] /home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l/cx25840-core.o/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l/cx25840-core.c:71: error: conflicting type qualifiers for 'addr_data' /home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:41: error: previous declaration of 'addr_data' was here make[3]: *** [/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l/cx25840-core.o] Error 1
make[2]: *** [_module_/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.25-1-686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l'
make: *** [all] Error 2
Any ideas how to solve this.
Thanks
Philipp
PS: Anyone know, if and when mantis will be merged with v4l-dvb tree?
Signature · 6 lines
The more I learn about people, the more I like my dog! _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
could you try with the latest mantis version
http://jusst.de/hg/mantis/rev/b7b8a2a81f3e
and during of the compilation you should use the updated dvb-headers - frontend.h anf version.h from mantis tree
Quoted 16 lines
I have a Terratec Cinergy C which worked with the mantis driver and 2.6.24 fine. Now I have updated to 2.6.25 and can't compile the mantis driver anymore:
[...]
CC [M]/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l/cx23885-dvb.o
CC [M]/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l/cx25840-core.o/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l/cx25840-core.c:71: error: conflicting type qualifiers for 'addr_data'/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:41: error: previous declaration of 'addr_data' was here make[3]: *** [/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l/cx25840-core.o] Error 1
make[2]: *** [_module_/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.25-1-686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/philipp/test/deb/dvb/mantis-08f27ef99d74/v4l'
make: *** [all] Error 2
Quoted 6 lines
Any ideas how to solve this.
Thanks
PhilippPS: Anyone know, if and when mantis will be merged with v4l-dvb tree?
good question. I don't know :(
Igor
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hi Igor,
Quoting Igor <[email protected]>:
Quoted 2 lines
could you try with the latest mantis version
http://jusst.de/hg/mantis/rev/b7b8a2a81f3e
Cinergy C doesnt work with latest driver, see
http://www.linuxtv.org/pipermail/linux-dvb/2008-May/025870.html
Signature · 6 lines
kiu _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 2 lines · Igor
could you try with the latest mantis version
http://jusst.de/hg/mantis/rev/b7b8a2a81f3e
Manits head got fixed (regarding to the hg log). So I tried it. Still the same error. Same with v4l tree.
Now I found a little patch which brought me over this compile error:
From: Andrew Morton <[email protected]>
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
---
include/media/v4l2-i2c-drv-legacy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/media/v4l2-i2c-drv-legacy.h renamed from include/media/v4l2-i2c-drv-legacy.h~fix-jdelvare-i2c-i2c-constify-client-address-data +1 -1
@@ -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
Signature · 6 lines
The more I learn about people, the more I like my dog! _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 10 lines · Philipp Kolmann
Quoted 2 lines · Igor
could you try with the latest mantis version
http://jusst.de/hg/mantis/rev/b7b8a2a81f3eManits head got fixed (regarding to the hg log). So I tried it. Still the same error. Same with v4l tree.
Now I found a little patch which brought me over this compile error:
With this patch applied (and one not used module disabled) I was able to compile latest mantis tree with Debian 2.6.25 kernel and mantis is working now for me.
Thanks for fixing this issue.
Philipp
Signature · 6 lines
The more I learn about people, the more I like my dog! _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb