[linux-dvb] Re: 2.6.17-git4: dvb_net.c:1141: error:
'struct net_device' has no member named 'xmit_lock'
hermann-pitton at arcor.de
Tue Jun 27 23:14:46 CEST 2006
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: *** [/builddir/video4linux-20060626/v4l/dvb_net.o] Error 1
> >>make: *** [_module_/builddir/video4linux-20060626/v4l] Error 2
> >>make: Leaving directory `/amd/heretic/0/data_nobkp/bach/bach-kernel/fc6-i386/2.6.17-1.2302_FC6-i686'
> >>make: *** [default] Error 2
> >>make: 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......
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?
More information about the linux-dvb