Hi Jakub,
This has been fixed in mainline, but not in 2.10. Please see commit
9d4a3d74252e0e8e49b1ecfd71401275d0ecf817 in vrouter.
Raja
From: Jakub Pavlík <[email protected]<mailto:[email protected]>>
Date: Saturday, June 13, 2015 at 8:08 AM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: [opencontrail-dev] Contrail kernel 3.19
Hello all,
any experience with vRouter dkms on ubuntu 14.04 with kernel 3.19?
I am getting following error:
DKMS make.log for vrouter-2.10 for kernel 3.19.0-20-generic (x86_64)
Sat Jun 13 14:56:05 UTC 2015
make: Entering directory `/var/lib/dkms/vrouter/2.10/build'
make -C /lib/modules/3.19.0-20-generic/build M=/var/lib/dkms/vrouter/2.10/build
modules
make[1]: Entering directory `/usr/src/linux-headers-3.19.0-20-generic'
CC [M] /var/lib/dkms/vrouter/2.10/build/linux/vr_host_interface.o
/var/lib/dkms/vrouter/2.10/build/linux/vr_host_interface.c: In function
<E2><80><98>linux_pkt_dev_init<E2><80><99>:
/var/lib/dkms/vrouter/2.10/build/linux/vr_host_interface.c:1822:35: warning:
passing argument 3 of <E2><80><98>alloc_netdev_mqs<E2><80><99> makes integer
from pointer without a cast [enabled by default]
1, num_present_cpus()))) {
^
In file included from
/var/lib/dkms/vrouter/2.10/build/linux/vr_host_interface.c:10:0:
include/linux/netdevice.h:3255:20: note: expected <E2><80><98>unsigned
char<E2><80><99> but argument is of type <E2><80><98>void (*)(struct net_device
*)<E2><80><99>
struct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name,
^
/var/lib/dkms/vrouter/2.10/build/linux/vr_host_interface.c:1822:35: warning:
passing argument 4 of <E2><80><98>alloc_netdev_mqs<E2><80><99> makes pointer
from integer without a cast [enabled by default]
1, num_present_cpus()))) {
^
In file included from
/var/lib/dkms/vrouter/2.10/build/linux/vr_host_interface.c:10:0:
include/linux/netdevice.h:3255:20: note: expected <E2><80><98>void (*)(struct
net_device *)<E2><80><99> but argument is of type <E2><80><98>int<E2><80><99>
struct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name,
^
/var/lib/dkms/vrouter/2.10/build/linux/vr_host_interface.c:1822:35: error: too
few arguments to function <E2><80><98>alloc_netdev_mqs<E2><80><99>
1, num_present_cpus()))) {
^
In file included from
/var/lib/dkms/vrouter/2.10/build/linux/vr_host_interface.c:10:0:
include/linux/netdevice.h:3255:20: note: declared here
struct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name,
^
make[2]: *** [/var/lib/dkms/vrouter/2.10/build/linux/vr_host_interface.o] Error
1
make[1]: *** [_module_/var/lib/dkms/vrouter/2.10/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.19.0-20-generic'
make: *** [default] Error 2
make: Leaving directory `/var/lib/dkms/vrouter/2.10/build'
Jakub
<http://tcpcloud.eu>
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org