[ovs-discuss] Error in "Make" after patching OVS

Taimur Hafeez taimurhafeez93 at gmail.com
Mon Apr 2 06:46:48 UTC 2018


Dear all,
I patched OVS successfully but when I issue "make" command it gives
following error:


taimur at ubuntuibm:~/openvswitch-2.6.0$ make
make  all-recursive
make[1]: Entering directory `/home/taimur/openvswitch-2.6.0'
Making all in datapath
make[2]: Entering directory `/home/taimur/openvswitch-2.6.0/datapath'
Making all in linux
make[3]: Entering directory `/home/taimur/openvswitch-2.6.0/datapath/linux'
make -C /lib/modules/4.4.0-31-generic/build
M=/home/taimur/openvswitch-2.6.0/datapath/linux modules
make[4]: Entering directory `/usr/src/linux-headers-4.4.0-31-generic'
  CC [M]  /home/taimur/openvswitch-2.6.0/datapath/linux/actions.o
In file included from
/home/taimur/openvswitch-2.6.0/datapath/linux/actions.c:24:0:
/home/taimur/openvswitch-2.6.0/datapath/linux/compat/include/linux/openvswitch.h:443:2:
error: unknown type name ‘ovs_be16’
  ovs_be16 rwnd;
  ^
make[5]: *** [/home/taimur/openvswitch-2.6.0/datapath/linux/actions.o]
Error 1
make[4]: *** [_module_/home/taimur/openvswitch-2.6.0/datapath/linux] Error 2
make[4]: Leaving directory `/usr/src/linux-headers-4.4.0-31-generic'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/taimur/openvswitch-2.6.0/datapath/linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/taimur/openvswitch-2.6.0/datapath'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/taimur/openvswitch-2.6.0'
make: *** [all] Error 2

Could any body help on this? Thanks!


Best regards,
--------------------
Taimur Hafeez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180402/035f2c7f/attachment.html>


More information about the discuss mailing list