[linux-dvb] FusionHDTV Dual Digital zl10353 / dee1601 tuning

Luke Rosenthal linux-dvb at harderstuff.net
Sun Aug 20 11:46:57 CEST 2006


>> I'm having a few probs compiling on FC5:
>>
>> hg clone http://linuxtv.org/hg/v4l-dvb/ cd v4l-dvb make
>>
>> I get the following errors:
>>
>> /tmp/v4l-dvb/v4l/dvb_net.c: In function 'wq_set_multicast_list':
>> /tmp/v4l-dvb/v4l/dvb_net.c:1141: error: 'struct net_device' has no
>> member named 'xmit_lock' /tmp/v4l-dvb/v4l/dvb_net.c:1170: error: 'struct
>> net_device' has no member named 'xmit_lock'
>>
>> Compiling against 2.6.17-1.2174_FC5, I have the following kernel
>> packages installed:
>>
>> kernel-2.6.17-1.2145_FC5.i686.rpm kernel-2.6.17-1.2174_FC5.i686.rpm
>> kernel-devel-2.6.17-1.2174_FC5.i686.rpm
>>
>> Am I doing something wrong?  I have been able to compile the v4l-dvb
>> tree before as recently as a week ago (altho that was against
>> 2.6.17-1.2145, I think)
>
> [snip, snip]
>
> IIRC, the FC5 2.6.17 kernels are actually based on 2.6.18, so this
> problem can be fixed by doing small changes to the dvb_net.c file.
>
> Find the function wq_set_multicast_list and change the two occurrences of
>
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
>
> to
>
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17)
>
> so that xmit_lock won't be used. Works for me.

Perfect, this worked a treat - I can confirm the v4l-dvb tree from
linuxtv.org now compiles against kernel-2.6.17-1.2174_FC5 when the above
tweaks are made.

Thanks very much!!

Luke.





More information about the linux-dvb mailing list