Hi, I used CentOS 6.5, and failed building the latest ovs:
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I ./include -I ./include -I ./lib -I ./lib -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wno-format-zero-length -Wswitch-enum -Wunused-parameter -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -fno-strict-aliasing -g -O2 -MT lib/netdev-linux.lo -MD -MP -MF lib/.deps/netdev-linux.Tpo -c lib/netdev-linux.c -o lib/netdev-linux.o lib/netdev-linux.c:144: error: redefinition of ‘struct rtnl_link_stats64’ make[2]: *** [lib/netdev-linux.lo] Error 1 make[2]: Leaving directory `/export/rwang/ovs-test' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/rwang/ovs-test' make: *** [all] Error 2 The kernel version is 2.6.32-431.29.2.el6.x86_64, and I checked /usr/include/linux/if_link.h that it contains the definition for ‘struct rtnl_link_stats64’ The configure script can detect the case but cannot change the config.h macro: [after run boot.sh, before configure] ./config.h.in:143:#undef HAVE_STRUCT_RTNL_LINK_STATS64 ./configure:12680:#define HAVE_STRUCT_RTNL_LINK_STATS64 1 [after run ./configure] ./config.h:144:/* #undef HAVE_STRUCT_RTNL_LINK_STATS64 */ ./config.h.in:143:#undef HAVE_STRUCT_RTNL_LINK_STATS64 ./configure:12680:#define HAVE_STRUCT_RTNL_LINK_STATS64 1 Will someone help fix the build error? Thanks, Sheng-Hui _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev