Re: 2.6.17-git4: dvb_net.c:1141: error: 'struct net_device' has no member named 'xmit_lock'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Jun 29, 2006 at 01:35:40AM +0200, hermann pitton wrote:
> Am Dienstag, den 27.06.2006, 23:14 +0200 schrieb hermann pitton:
> > Am Mittwoch, den 28.06.2006, 03:17 +0800 schrieb Graeme Christie:
> > > Axel Thimm wrote:
> > > >On Mon, Jun 26, 2006 at 05:23:45PM +0200, Axel Thimm wrote:
> > > >>building current v4l hq on FC5's latest kernel gives:
> > > >Sorry, that was not FC5, but the upcoming FC6 kernel, which is based
> > > >on 2.6.17-git4
> > > >
> > > >I also tried with today's hg, but it still fails on the same issue.

> > > >>  CC [M]  /builddir/video4linux-20060626/v4l/dvb_frontend.o
> > > >>  CC [M]  /builddir/video4linux-20060626/v4l/dvb_net.o
> > > >>/builddir/video4linux-20060626/v4l/dvb_net.c: In function 'wq_set_multicast_list':
> > > >>/builddir/video4linux-20060626/v4l/dvb_net.c:1141: error: 'struct net_device' has no member named 'xmit_lock'
> > > >>/builddir/video4linux-20060626/v4l/dvb_net.c:1170: error: 'struct net_device' has no member named 'xmit_lock'
> > > >>make[3]: *** [/builddir/video4linux-20060626/v4l/dvb_net.o] Error 1
> > > >>make[2]: *** [_module_/builddir/video4linux-20060626/v4l] Error 2
> > > >>make[2]: Leaving directory `/amd/heretic/0/data_nobkp/bach/bach-kernel/fc6-i386/2.6.17-1.2302_FC6-i686'
> > > >>make[1]: *** [default] Error 2
> > > >>make[1]: Leaving directory `/builddir/video4linux-20060626/v4l'
> > > >>make: *** [all] Error 2
> > > >>error: Bad exit status from /var/tmp/rpm-tmp.80016 (%build)

> > > I can suggest a Dirty hack, substitute KERNEL_VERSION(2,6,17) for 
> > > KERNEL_VERSION(2,6,18) in that file (dvb_net.o). I guess some changes to 
> > > the  locking went into your kernel before 2.6.18 (As they did in 
> > > 2.6.17-mm2 that I'm using).
> > > 
> > > Worked for me......
> > > 
> > > Graeme
> > > 
> > 
> > yes, that change is in current 2.6.17-git, but there was lot of back and
> > forth with the locking. Is it OK to just use the new?

> xmit_lock is gone. The compat stuff is always stripped when going to
> mainline. So report on FC6 first and come back if anything fails.

The issue is that FC never tags a kernel as the final release until
it's really final. So any 2.6.X-rc/git etc. are SUBLEVEL'd as X-1.

This breaks more than it is supposed to not break. The issue has been
reported upstream to FC, but this will not change. :(

I'll fix my trees I build against to return the proper
LINUX_KERNEL_VERSION.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpXGN1zdZG9Q.pgp
Description: PGP signature

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux