centos6.5 openvswitch安装过程出现问题

/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/../datapath/linux/compat/include/net/ip.h:9: error: redefinition of 'ip_is_fragment'
include/net/ip.h:249: note: previous definition of 'ip_is_fragment' was here
make[2]: *** [/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux/datapath.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux/actions.o] Error 1
make[1]: *** [_module_/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux] Error 2
make[1]: Leaving directory /usr/src/kernels/2.6.32-573.8.1.el6.x86_64'
make: *** [default] Error 2
make: Leaving directory
/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux'
error: Bad exit status from /var/tmp/rpm-tmp.kfhitG (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.kfhitG (%build)
[root@compute1 openvswitch-2.3.1]# vi /var/tmp/rpm-tmp.kfhitG

1个回答

'ip_is_fragment"重复定义了,是不是重复包含了头文件

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问