On Saturday 01 July 2006 23:24, Axel Thimm wrote:
> On Sat, Jul 01, 2006 at 11:03:23PM +0200, Hans Verkuil wrote:
> > Axel,
> >
> > Do you still have this problem with the latest 0.7 branch? It
> > should use the kernel's videodev2.h header, not the one from
> > /usr/include/linux.
>
> Yes, the only way I could get 0.7 userland to build was to add
> videodev2.h from v4l's hg.
>
> It's probably best not to rely on any kernel parts when building
> userland. I think the only bit missing is this one header.

I don't entirely understand it: are you using different Makefiles for 
utils? I've explicitly added a -I path to the kernel's include 
directory, just as is done when building the driver itself. So is why 
is that directory not available when building the utilities?

The distributions are notoriously out of date when it comes to 
videodev2.h, especially since it is undergoing changes recently.

        Hans

>
> > Thanks,
> >
> >     Hans
> >
> > On Tuesday 27 June 2006 13:45, Axel Thimm wrote:
> > > On Mon, Jun 26, 2006 at 12:24:54AM +0200, Hans Verkuil wrote:
> > > > I think I committed everything needed to release a ivtv-0.7.0
> > > > suitable for the 2.6.17 kernel. Nevertheless, I didn't have
> > > > time left for actual testing so I would appreciate it if some
> > > > of you could do it. So if you want to upgrade to a 2.6.17
> > > > kernel, then now is the time to do it.
> > > >
> > > > You can download the prerelease here:
> > > >
> > > > http://ivtvdriver.org/viewcvs/ivtv/branches/0.7.tar.gz?view=tar
> > > >
> > > > I haven't yet updated the README and ChangeLog files, but it is
> > > > effectively identical to ivtv-0.6 except for being updated for
> > > > the 2.6.17 kernel.
> > > >
> > > > Please note: ivtv-0.7.0 is for the 2.6.17 kernel, not for
> > > > earlier kernels. So don't bother downloading this if you are
> > > > using older kernels.
> > >
> > > I tried building on FC4-FC6 (all 2.6.17 kernels). There seems to
> > > be some issue in the userland build (ivtvctl):
> > >
> > > ivtvctl.c: In function 'main':
> > > ivtvctl.c:698: error: 'union <anonymous>' has no member named
> > > 'sliced' ivtvctl.c:701: error: 'union <anonymous>' has no member
> > > named 'sliced' ivtvctl.c:702: error: 'V4L2_SLICED_TELETEXT_B'
> > > undeclared (first use in this function) ivtvctl.c:702: error:
> > > (Each undeclared identifier is reported only once ivtvctl.c:702:
> > > error: for each function it appears in.)
> > > ivtvctl.c:704: error: 'union <anonymous>' has no member named
> > > 'sliced' ivtvctl.c:705: error: 'V4L2_SLICED_CAPTION_525'
> > > undeclared (first use in this function) ivtvctl.c:707: error:
> > > 'union <anonymous>' has no member named 'sliced' ivtvctl.c:708:
> > > error: 'V4L2_SLICED_WSS_625' undeclared (first use in this
> > > function)
> > >
> > > Looks like it picks up the wrong v4l headers.
> >
> > _______________________________________________
> > ivtv-devel mailing list
> > [email protected]
> > http://ivtvdriver.org/mailman/listinfo/ivtv-devel

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

Reply via email to