问题描述
- 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'
/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux'
make: *** [default] Error 2
make: Leaving directory
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
解决方案
CentOS6.5安装GitLab全过程
TMscomm安装及安装过程出现的问题
解决方案二:
'ip_is_fragment"重复定义了,是不是重复包含了头文件
时间: 2024-09-15 07:45:05