On Monday 13 November 2006 21:05, Simon Baxter wrote:
> I've just checked out the latest svn, but it won't compile:
>
> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bi
>ts/stl_construct.h:107: error: invalid use of undef
> ined type âstruct v4l2_ext_controlâ
> v4l2-ctl.cpp:110: error: forward declaration of âstruct
> v4l2_ext_controlâ v4l2-ctl.cpp: At global scope:
> v4l2-ctl.cpp:670: warning: âchar* pts_to_string(char*, long unsigned
> int)â defined but not used
> make[1]: *** [v4l2-ctl.o] Error 1
> make[1]: Leaving directory `/root/ivtv_svn_3575_111306/ivtv/utils'
> make: *** [all] Error 2
>
>
> any ideas?

You have an outdated videodev2.h in /usr/include/linux. I've added a 
correct copy to the ivtv utils directory since so many linux 
distributions are sloppy with how often they update this file.

It should compile fine now.

        Hans

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to