Re: http://linuxtv.org/hg/~stoth/hvr4000/ under 2.6.22 ?

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

 



The attached patch should fix this (not tested).

Try

patch -p0 < dvb_net_skb_mac.patch

in the directory hvr4000/linux and then recompile.

Cheers,
Christian.

Gregoire Favre wrote:
Hello,

I try to compil http://linuxtv.org/hg/~stoth/hvr4000/ with stoth-11.diff
and it fails with :

  CC [M]  /usr/src/CVS/hvr4000/v4l/dvb_net.o
/usr/src/CVS/hvr4000/v4l/dvb_net.c: In function 'dvb_net_eth_type_trans':
/usr/src/CVS/hvr4000/v4l/dvb_net.c:186: error: 'struct sk_buff' has no member named 'mac'
/usr/src/CVS/hvr4000/v4l/dvb_net.c: In function 'dvb_net_ule':
/usr/src/CVS/hvr4000/v4l/dvb_net.c:625: warning: cast to pointer from integer of different size
/usr/src/CVS/hvr4000/v4l/dvb_net.c:626: warning: cast to pointer from integer of different size
/usr/src/CVS/hvr4000/v4l/dvb_net.c:627: warning: cast to pointer from integer of different size
/usr/src/CVS/hvr4000/v4l/dvb_net.c:628: warning: cast to pointer from integer of different size
make[2]: *** [/usr/src/CVS/hvr4000/v4l/dvb_net.o] Error 1
make[1]: *** [_module_/usr/src/CVS/hvr4000/v4l] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22'
make: *** [default] Error 2

Anyone already worked about this ?

Thank,


--
Christian Praehauser <cpraehaus@xxxxxxxxxxxxxx>
|| //\\//\\ || Multimedia Communications Group,
||//  \/  \\|| Department of Computer Sciences, University of Salzburg
http://www.cosy.sbg.ac.at/~cpraehaus/
http://www.network-research.org/
http://www.uni-salzburg.at/
--- drivers/media/dvb/dvb-core/dvb_net.c.orig	2007-07-12 16:04:43.000000000 +0200
+++ drivers/media/dvb/dvb-core/dvb_net.c	2007-07-12 16:06:03.000000000 +0200
@@ -183,7 +183,7 @@ static unsigned short dvb_net_eth_type_t
 	struct ethhdr *eth;
 	unsigned char *rawp;
 
-	skb->mac.raw=skb->data;
+	skb->mac_header.raw=skb->data;
 	skb_pull(skb,dev->hard_header_len);
 	eth = eth_hdr(skb);
 
_______________________________________________
linux-dvb mailing list
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