[vlc-devel] V4L2 Compiling on Gentoo
thresh at altlinux.ru
Fri Oct 26 22:06:28 CEST 2007
On Fri, Oct 26, 2007 at 07:33:16PM +0100, Richard Hosking wrote:
> Just compiling the trunk on Gentoo tonight (I have
> been developing under Ubuntu until now) and it failed
> on my V4L2 code oops :-(
> This complied fine under Ubuntu 7.04.
> After some Googling, I added types.h above the
> videodev2.h line and it then compiles fine.
> #include <linux/types.h>
> #include <linux/videodev2.h>
> ?? No idea why. Ubuntu is kernel 2.6.20, whereas
> Gentoo is 2.6.22.
> Can someone patch v4l2.c to add types.h for me if
> they agree.
Could you provide more specific info on what's gcc telling you when it
fails to compile relevant code?
The attention span of a computer is only as long as its
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the vlc-devel