[ovs-discuss] Compile errors on Debian Lenny with Xen

Justin Pettit jpettit at nicira.com
Fri Dec 4 23:50:33 UTC 2009


Hi, Pete.  Sorry for the delay.  I've been able to reproduce your problem.  I'll try to get a fix out for review before too long.

--Justin


On Dec 3, 2009, at 12:03 PM, pspreadborough at comcast.net wrote:

> 
> Hello,
> 
> I'm getting the following errors with the latest git snapshot building on 
> Debian Lenny with Xen:
> 
> ./configure --with-l26=/lib/modules/`uname -r`/build CC=gcc-4.1
> 
> xen at xenhost:~/openvswitch$ uname -a
> Linux xenhost 2.6.26-2-xen-686 #1 SMP Wed Nov 4 23:23:33 UTC 2009 i686 GNU/Linux
> 
> 
> make[3]: Entering directory `/home/xen/openvswitch/datapath/linux-2.6'
> make -C /lib/modules/2.6.26-2-xen-686/build M=/home/xen/openvswitch/datapath/linux-2.6 modules
> make[4]: Entering directory `/usr/src/linux-headers-2.6.26-2-xen-686'
>   CC [M]  /home/xen/openvswitch/datapath/linux-2.6/datapath.o
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c: In function ‘vswitch_skb_checksum_setup’:
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c:598: error: ‘struct sk_buff’ has no member named ‘nh’
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c:600: error: ‘struct sk_buff’ has no member named ‘h’
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c:600: error: ‘struct sk_buff’ has no member named ‘nh’
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c:600: error: ‘struct sk_buff’ has no member named ‘nh’
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c:601: error: ‘struct sk_buff’ has no member named ‘nh’
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c:612: error: ‘struct sk_buff’ has no member named ‘nh’
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c:615: error: ‘struct sk_buff’ has no member named ‘h’
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c:617: error: ‘CHECKSUM_HW’ undeclared (first use in this function)
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c:617: error: (Each undeclared identifier is reported only once
> /home/xen/openvswitch/datapath/linux-2.6/datapath.c:617: error: for each function it appears in.)
> 
> Thanks,
> 
> Pete
> 
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org





More information about the discuss mailing list