I think the idea was from now on the v4l code was supposed to compile
on kernels 2.6.12+.

On 10/18/05, John Harvey <[EMAIL PROTECTED]> wrote:
> Not sure but if we are building against our own or the particular kernel's
> (in the long run) why would there be any ifdef's like this in the 0.5 code
> for v4l2 stuff?
> Shouldn't we just remove the #ifdef & #endif lines?
>
> John
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:ivtv-devel-
> > [EMAIL PROTECTED] On Behalf Of Tyler Trafford
> > Sent: 18 October 2005 23:16
> > To: Discussion list for development of the IVTV driver
> > Subject: Re: [ivtv-devel] 2832 and v4l CVS not in sync
> >
> > It also looks like (from right below the 'priv' code) in this:
> >
> > #ifdef LINUX26
> >         s->v4l2dev->dev = &itv->dev->dev;
> >         s->v4l2dev->release = video_device_release;
> > #endif /* LINUX26 */
> >
> > The 'release' part shouldn't be inside that ifdef anymore, right?
> >
> > -Tyler
> >
> > On Tue, Oct 18, 2005 at 05:20:58PM -0400, John Harvey wrote:
> > > The owner field & the priv fields have been removed from the v4l
> > > video_device structure.
> > > Deleting the 2 lines (78  196) are enough to make it compile.
> > > The first is fine. The second should be safe since it was setting
> > private
> > > data that never appears to be used.
> > >
> > > John
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] [mailto:ivtv-devel-
> > > > [EMAIL PROTECTED] On Behalf Of Trev Jackson
> > > > Sent: 18 October 2005 21:57
> > > > To: Discussion list for development of the IVTV driver
> > > > Subject: Re: [ivtv-devel] 2832 and v4l CVS not in sync
> > > >
> > > > On Tuesday 18 Oct 2005 17:15, Cougar wrote:
> > > > > Here is compile attempt with latest ivtv and v4l trees
> > > > >
> > > > > make CONFIG_VIDEO_IVTV=m -C /lib/modules/2.6.13-15-default/build
> > > > > M=/usr/src/CVS/ivtv/driver modules make[2]: Entering directory
> > > > > /usr/src/linux-2.6.13-15-obj/i386/default' make -C ../../../linux-
> > > > 2.6.13-15
> > > > > O=../linux-2.6.13-15-obj/i386/default modules CC [M]
> > > > > /usr/src/CVS/ivtv/driver/ivtv-streams.o
> > > > > /usr/src/CVS/ivtv/driver/ivtv-streams.c:78: error: unknown field
> > 'owner'
> > > > > specified in initializer /usr/src/CVS/ivtv/driver/ivtv-streams.c:78:
> > > > > warning: initialization from incompatible pointer type
> > > > > /usr/src/CVS/ivtv/driver/ivtv-streams.c: In function 'ivtv_reg_dev':
> > > > > /usr/src/CVS/ivtv/driver/ivtv-streams.c:196: error: 'struct
> > > > video_device'
> > > > > has no member named 'priv' make[5]: ***
> > > > > [/usr/src/CVS/ivtv/driver/ivtv-streams.o] Error 1
> > > > > make[4]: *** [_module_/usr/src/CVS/ivtv/driver] Error 2
> > > > >
> > > > > ---
> > > > > Cougar
> > > > Hi
> > > >
> > > > I'm getting the same error with 2833:
> > > >
> > > >   CC [M]  /home/mythtv/ivtv-2833/driver/ivtv-streams.o
> > > > /home/mythtv/ivtv-2833/driver/ivtv-streams.c:78: error: unknown field
> > > > `owner'
> > > > specified in initializer
> > > > /home/mythtv/ivtv-2833/driver/ivtv-streams.c:78: warning:
> > initialization
> > > > from
> > > > incompatible pointer type
> > > > /home/mythtv/ivtv-2833/driver/ivtv-streams.c: In function
> > `ivtv_reg_dev':
> > > > /home/mythtv/ivtv-2833/driver/ivtv-streams.c:196: error: structure has
> > no
> > > > member named `priv'
> > > > make[3]: *** [/home/mythtv/ivtv-2833/driver/ivtv-streams.o] Error 1
> > > > make[2]: *** [_module_/home/mythtv/ivtv-2833/driver] Error 2
> > > > make[2]: Leaving directory `/usr/src/linux-2.6.8.1-12mdk'
> > > > make[1]: *** [all] Error 2
> > > > make[1]: Leaving directory `/home/mythtv/ivtv-2833/driver'
> > > > make: *** [all] Error 2
> > > >
> > > > Trev
> > > >
> > > >
> > > > _______________________________________________
> > > > 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
> > >
> >
> > --
> > Tyler Trafford
> >
> > _______________________________________________
> > 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
>

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

Reply via email to