[Kwintv] ./configure problem

John Campbell kwintv@mail.kde.org
Sat, 23 Nov 2002 17:25:40 -0800


On Saturday 23 November 2002 01:01 pm, George Staikos wrote:
> On November 22, 2002 11:32, PiggZ wrote:
> > Hi
> > i get the following error from ./configure for kwintv3 from cvs:
> >
> > configure: WARNING: linux/videodev.h: present but cannot be compiled
> > configure: WARNING: linux/videodev.h: check for missing prerequisite
> > headers? configure: WARNING: linux/videodev.h: proceeding with the
> > preprocessor's result
> >
> > any ideas what this is?  this is the first time ive tried anything fr=
om
> > cvs and was surprised at how easy it was and how few errors (apart fr=
om
> > the above) there were
>
>   Please search in config.log to see why it is failing.

videodev2.h needs --ansi turned off to compile.  Specifically asm/types.h=
=20
checks for __STRICT_ANSI__ and if defined, doesn't define the __c64 and _=
_u64=20
types needed by v4l2.

You either need to undef __STRICT_ANSI__ around the #include=20
<linux/videodev.h> or remove the "--ansi"