[ovs-discuss] Build Error after adding action to Openvswitch 2.5.2

benjamin jafari bnjmnjf at gmail.com
Sat Jul 20 10:17:11 UTC 2019


Hello there
I am trying to add new action using this patch that is provided by volkan,
in this post:
https://mail.openvswitch.org/pipermail/ovs-discuss/2016-November/043065.html
and also:
https://mail.openvswitch.org/pipermail/ovs-discuss/2018-March/046429.html
every file is patched but when I am trying to make the files and install it
I got this error,I really appreciate if some can help me with this, It
would be a big help!
In file included from lib/hash.h:23:0,
                 from lib/packets.h:30,
                 from lib/bfd.h:24,
                 from lib/bfd.c:16:
lib/util.h:48:38: error: negative width in bit-field ‘build_assert_failed’
         sizeof(struct { unsigned int build_assert_failed : (EXPR) ? 1 :
-1; })
                                      ^
lib/util.h:55:42: note: in expansion of macro ‘BUILD_ASSERT__’
         extern int (*build_assert(void))[BUILD_ASSERT__(EXPR)]
                                          ^~~~~~~~~~~~~~
lib/flow.h:161:1: note: in expansion of macro ‘BUILD_ASSERT_DECL’
 BUILD_ASSERT_DECL(offsetof(struct flow, igmp_group_ip4) + sizeof(uint32_t)
 ^~~~~~~~~~~~~~~~~
Makefile:4036: recipe for target 'lib/bfd.lo' failed
make[2]: *** [lib/bfd.lo] Error 1
make[2]: Leaving directory '/home/ubuntu2/Desktop/openvswitch-2.5.2.1'
Makefile:4688: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu2/Desktop/openvswitch-2.5.2.1'
Makefile:2626: recipe for target 'all' failed
make: *** [all] Error 2

-- 

Kind Regards

Jafari, Benjamin (Ben)
Product Manager/Networks Business Unit
Wuhan FiberHome International Technologies Co., Ltd.
Turkey Office
Tel: +90-538-643-9648
Email: Benjamin at fiberhome.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190720/5051c8d7/attachment.html>


More information about the discuss mailing list