[ovs-dev] make failed with upstream ovs on CentOS 6.5
Ben Pfaff
blp at nicira.com
Thu Oct 30 17:38:53 UTC 2014
On Thu, Oct 30, 2014 at 11:25:00AM +0100, Thomas Graf wrote:
> On 10/30/14 at 11:48am, Wang Sheng-Hui wrote:
> > 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
>
> Does this help?
I suspect that it doesn't; my guess is that if_link.h is not
self-contained with this kernel.
I sent out an alternate fix:
http://openvswitch.org/pipermail/dev/2014-October/048013.html
More information about the dev
mailing list