* [linux-dvb] Mantis-08f27ef99d74: Compile error with 2.6.25
@ 2008-05-10 8:58 Philipp Kolmann
2008-05-10 9:15 ` Igor
0 siblings, 1 reply; 5+ messages in thread
From: Philipp Kolmann @ 2008-05-10 8:58 UTC (permalink / raw)
To: linux-dvb
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?
--
The more I learn about people, the more I like my dog!
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] Mantis-08f27ef99d74: Compile error with 2.6.25
2008-05-10 8:58 [linux-dvb] Mantis-08f27ef99d74: Compile error with 2.6.25 Philipp Kolmann
@ 2008-05-10 9:15 ` Igor
2008-05-10 9:56 ` kiu
2008-05-12 17:44 ` Philipp Kolmann
0 siblings, 2 replies; 5+ messages in thread
From: Igor @ 2008-05-10 9:15 UTC (permalink / raw)
To: Philipp Kolmann; +Cc: 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
> 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?
good question. I don't know :(
Igor
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] Mantis-08f27ef99d74: Compile error with 2.6.25
2008-05-10 9:15 ` Igor
@ 2008-05-10 9:56 ` kiu
2008-05-12 17:44 ` Philipp Kolmann
1 sibling, 0 replies; 5+ messages in thread
From: kiu @ 2008-05-10 9:56 UTC (permalink / raw)
To: linux-dvb
Hi Igor,
Quoting Igor <goga777@bk.ru>:
> 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
--
kiu
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] Mantis-08f27ef99d74: Compile error with 2.6.25
2008-05-10 9:15 ` Igor
2008-05-10 9:56 ` kiu
@ 2008-05-12 17:44 ` Philipp Kolmann
2008-05-12 17:57 ` Philipp Kolmann
1 sibling, 1 reply; 5+ messages in thread
From: Philipp Kolmann @ 2008-05-12 17:44 UTC (permalink / raw)
To: Igor; +Cc: linux-dvb
On Sat, May 10, 2008 at 01:15:19PM +0400, Igor wrote:
> 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:
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2.6.24-rc4-mm1/broken-out/fix-jdelvare-i2c-i2c-constify-client-address-data.patch
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!
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-05-12 17:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-10 8:58 [linux-dvb] Mantis-08f27ef99d74: Compile error with 2.6.25 Philipp Kolmann
2008-05-10 9:15 ` Igor
2008-05-10 9:56 ` kiu
2008-05-12 17:44 ` Philipp Kolmann
2008-05-12 17:57 ` Philipp Kolmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.