You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to build vrouter on openSUSE Tumbleweed and got the following error:
tom@basilikum:~/tmp/contrail-vrouter$ repo forall -vc "git reset --hard"
HEAD is now at a34f049 Add valgrind option to scons --optimization=<options>
HEAD is now at 90e2637 A few minor changes need to generate 'clean' coverage report for
HEAD is now at aaa0a45 DPDK: change packet scheduling for non-RSS interfaces (RX side)
tom@basilikum:~/tmp/contrail-vrouter$ scons vrouter
scons: Reading SConscript files ...
scons: warning: Ignoring missing SConscript 'controller/SConscript'
File "/home/tom/tmp/contrail-vrouter/SConstruct", line 16, in <module>
scons: warning: Ignoring missing SConscript 'build/noarch/nova_contrail_vif/SConscript'
File "/home/tom/tmp/contrail-vrouter/SConstruct", line 19, in <module>
scons: warning: Ignoring missing SConscript 'build/noarch/neutron_plugin/SConscript'
File "/home/tom/tmp/contrail-vrouter/SConstruct", line 26, in <module>
scons: done reading SConscript files.
scons: Building targets ...
scons: `vrouter/utils' is up to date.
scons: `vrouter/uvrouter' is up to date.
cd /home/tom/tmp/contrail-vrouter/vrouter/ && make SANDESH_HEADER_PATH=/home/tom/tmp/contrail-vrouter/build/debug/vrouter SANDESH_SRC_ROOT=../build/kbuild/ SANDESH_EXTRA_HEADER_PATH=/home/tom/tmp/contrail-vrouter/tools
make -C /lib/modules/4.1.4-1-desktop/build M=/home/tom/tmp/contrail-vrouter/vrouter modules
make[1]: Entering directory '/usr/src/linux-4.1.4-1-obj/x86_64/desktop'
CC [M] /home/tom/tmp/contrail-vrouter/vrouter/linux/vr_host_interface.o
/home/tom/tmp/contrail-vrouter/vrouter/linux/vr_host_interface.c: In function ‘linux_if_notifier’:
/home/tom/tmp/contrail-vrouter/vrouter/linux/vr_host_interface.c:2261:21: error: invalid operands to binary != (have ‘possible_net_t {aka struct <anonymous>}’ and ‘struct net *’)
if (dev->nd_net != &init_net) {
^
/usr/src/linux-4.1.4-1/scripts/Makefile.build:274: recipe for target '/home/tom/tmp/contrail-vrouter/vrouter/linux/vr_host_interface.o' failed
make[4]: *** [/home/tom/tmp/contrail-vrouter/vrouter/linux/vr_host_interface.o] Error 1
/usr/src/linux-4.1.4-1/Makefile:1409: recipe for target '_module_/home/tom/tmp/contrail-vrouter/vrouter' failed
make[3]: *** [_module_/home/tom/tmp/contrail-vrouter/vrouter] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.1.4-1-obj/x86_64/desktop'
Makefile:86: recipe for target 'default' failed
make: *** [default] Error 2
scons: *** [vrouter/vrouter.ko] Error 2
scons: building terminated because of errors.
The text was updated successfully, but these errors were encountered:
I tried to build vrouter on openSUSE Tumbleweed and got the following error:
The text was updated successfully, but these errors were encountered: