> On Wed, Feb 21, 2007 at 01:34:33PM +0100, Wilhelm Eger wrote: >> > > > In file included from ivtv_xv.c:53: >> > > > /usr/include/linux/videodev2.h:155: error: expected >> specifier-qualifier-list before '__s32' >> > > Get actual linux headers. >> > >> > These are the most actual linux headers available for the respective >> > distibutions, and in this case it's 2.6.19 - not that ancient. >> >> I had the same issue with gentoo standard linux headers and vanilla >> kernel >> 2.6.20. Just copied the linux headers to /usr/include/linux and it >> compiled. > > Turns out it was just a missing #include in ivtv_xdriver. If I get it > building I'll commit it later to svn. Now to the next issue: > > Fedora 7 > > /usr/include/sys/mman.h:58: error: conflicting types for 'xf86mmap' > /usr/include/xorg/xf86_ansic.h:265: error: previous declaration of > 'xf86mmap' was here > > glibc vs xorg on Fedora 7 :( > glibc-headers-2.5.90-17 > xorg-x11-server-sdk-1.2.0-5.fc7 > > Fedora Core 6 > > ivtv_xv.c:938: error: 'V4L2_PIX_FMT_HM12' undeclared (first use in this > function)
This is in videodev2.h. It was introduced in 2.6.18. But redhat/fedora is pretty bad about copying the latest videodev2.h to the /usr/include/linux directory. Hans _______________________________________________ ivtv-devel mailing list ivtv-devel@ivtvdriver.org http://ivtvdriver.org/mailman/listinfo/ivtv-devel