Luke Rosenthal wrote:
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)
Luke
Hi,
This is my first time mailing to the list, I hope it gets through.
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.
Ville-Pekka
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb