[ovs-discuss] OVS 0.90.7 build fails on kernel 2.6.31-14-generic

Prateek Jain prateek4tech at gmail.com
Tue Mar 23 19:47:11 UTC 2010


Hello,

I am trying to build OVS 0.90.7 on Ubuntu 9.10 Linux kernel
2.6.31-14-generic, the make fails with
below errors. Can you please tell me how to fix this ?

/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c: In function
‘skb_pull_up_to’:
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:597:
warning: cast to pointer from integer of different size
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c: In function
‘skb_checksum_setup’:
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:609: error:
‘struct sk_buff’ has no member named ‘proto_csum_blank’
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:612: error:
‘struct sk_buff’ has no member named ‘nh’
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:614: error:
‘struct sk_buff’ has no member named ‘h’
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:614: error:
‘struct sk_buff’ has no member named ‘nh’
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:614: error:
‘struct sk_buff’ has no member named ‘nh’
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:615: error:
‘struct sk_buff’ has no member named ‘nh’
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:626: error:
‘struct sk_buff’ has no member named ‘nh’
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:629: error:
‘struct sk_buff’ has no member named ‘h’
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:631: error:
‘CHECKSUM_HW’ undeclared (first use in this function)
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:631: error:
(Each undeclared identifier is reported only once
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:631: error:
for each function it appears in.)
/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.c:632: error:
‘struct sk_buff’ has no member named ‘proto_csum_blank’
make[5]: ***
[/home/openflow/openvswitch-0.90.7/datapath/linux-2.6/datapath.o] Error 1
make[4]: *** [_module_/home/openflow/openvswitch-0.90.7/datapath/linux-2.6]
Error 2
make[4]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make[3]: *** [default] Error 2
make[3]: Leaving directory
`/home/openflow/openvswitch-0.90.7/datapath/linux-2.6'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/openflow/openvswitch-0.90.7/datapath'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/openflow/openvswitch-0.90.7'
make: *** [all] Error 2

Thanks,
Prateek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100323/f511860e/attachment-0001.html>


More information about the discuss mailing list