Hello everyone,

I'm trying to install the latest version of OVS (2.5.0)

I'm getting some errors when trying to install the kernel module, either
when compiling from src or when I create and then install the deb
(specifically in this last case the error happens when I do sudo dpkg -i
sudo dpkg -i openvswitch-datapath-dkms_2.5.0-1_all.deb)

The error I get is the following:
make -C /lib/modules/3.16.0-70-generic/build
M=/var/lib/dkms/openvswitch/2.5.0/build/datapath/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-70-generic'
  CC [M]  /var/lib/dkms/openvswitch/2.5.0/build/datapath/linux/actions.o
/var/lib/dkms/openvswitch/2.5.0/build/datapath/linux/actions.c: In function
‘ovs_fragment’:
/var/lib/dkms/openvswitch/2.5.0/build/datapath/linux/actions.c:730:3:
warning: passing argument 1 of ‘v6ops->fragment’ from incompatible pointer
type [enabled by default]
   v6ops->fragment(skb->sk, skb, ovs_vport_output);
   ^
/var/lib/dkms/openvswitch/2.5.0/build/datapath/linux/actions.c:730:3: note:
expected ‘struct sk_buff *’ but argument is of type ‘struct sock *’
/var/lib/dkms/openvswitch/2.5.0/build/datapath/linux/actions.c:730:3:
warning: passing argument 2 of ‘v6ops->fragment’ from incompatible pointer
type [enabled by default]
/var/lib/dkms/openvswitch/2.5.0/build/datapath/linux/actions.c:730:3: note:
expected ‘int (*)(struct sk_buff *)’ but argument is of type ‘struct
sk_buff *’
/var/lib/dkms/openvswitch/2.5.0/build/datapath/linux/actions.c:730:3:
error: too many arguments to function ‘v6ops->fragment’
make[2]: ***
[/var/lib/dkms/openvswitch/2.5.0/build/datapath/linux/actions.o] Error 1
make[1]: *** [_module_/var/lib/dkms/openvswitch/2.5.0/build/datapath/linux]
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.16.0-70-generic'
make: *** [default] Error 2
make: Leaving directory
`/var/lib/dkms/openvswitch/2.5.0/build/datapath/linux'

I'm running the following version of Ubuntu:






*ubuntu:~/ovs$ sudo lsb_release -aNo LSB modules are available.Distributor
ID:    UbuntuDescription:    Ubuntu 14.04.4 LTSRelease:
14.04Codename:    trusty*
with the following kernel:
ubuntu:~/ovs$ sudo uname -a
Linux i2-mn-ubuntu 3.16.0-70-generic #90~14.04.1-Ubuntu SMP Wed Apr 6
22:56:34 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Any help would be greatly appreciated.

Thanks!

Luca
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to