[vlc-devel] V4L2 Compiling on Gentoo
Pavlov Konstantin
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.
>
> Richard.
Could you provide more specific info on what's gcc telling you when it
fails to compile relevant code?
--
Turnaucka's Law:
The attention span of a computer is only as long as its
electrical cord.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071027/dd1b2386/attachment.sig>
More information about the vlc-devel
mailing list