On Mon, Aug 11, 2008 at 08:05:48AM +0200, Hans Verkuil wrote: > On Monday 11 August 2008 06:47:20 Axel Thimm wrote: > > Hi, > > > > ivtv builds on Fedora rawhide (upcoming Fedora 10) fail with > > > > [...] > > g++ -lm -o v4l2-dbg v4l2-dbg.o v4l2-driverids.o v4l2-chipids.o > > cc -D_GNU_SOURCE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 > > -mtune=generic -c -o ivtvctl.o ivtvctl.c In file included from > > ivtvctl.c:66: > > linux/ivtv.h:48: error: expected ':', ',', ';', '}' or > > '__attribute__' before '*' token > > > > I googled on the error and couldn't come up with something that made > > sense. What's causing the error and how do I fix it? > > Which kernel will fedora 10 be using? 2.6.27? Since that kernel strips > __user from headers when it installs them.
Yes, it will be 2.6.27, currently at 2.6.27rc2.git1. > That means that when ivtv.h is included the #define __user in > videodev2.h was also stripped so the __user attribute as used in ivtv.h > is no longer known and the compiler trips on that. The fix is to remove > __user from ivtv.h. OK, thanks! I'll do that conditionally for F10 upwards. > I was wondering whether fedora 10 is also building a package for the > v4l2-apps utilities inside the v4l-dvb tree. I understand some distros > do. I ask since ivtvctl is now also available there (renamed to > ivtv-ctl to be consistent with the naming of other utils). The > utilities there are always leading. And my intention is to eventually > move all the relevant ivtv utilities to the v4l2-apps dir in v4l-dvb. I'll create a package and submit it. The error above came from my submission to Fedora (I had built it under F9, but it failed under F10). > It also reminds me that I need to make a new ivtv-1.3 release for kernel > 2.6.26: the last saa717x module is now also part of that kernel, so > only utilities remains in the ivtv repository. -- Axel.Thimm at ATrpms.net
pgpX0cWC1CnXH.pgp
Description: PGP signature
_______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
