[ovs-discuss] openvswitch install on centos 6.6 issue

Gurucharan Shetty shettyg at nicira.com
Fri Aug 21 17:29:00 UTC 2015


On Fri, Aug 21, 2015 at 5:02 AM, ShapeHost <contact at shape.host> wrote:
> Hello,
>
> I have some problem with openvswitch install on centos 6.6
> 2.6.32-573.3.1.el6.x86_64.
>
> I tried to install many version of OVS like 1.9.0, 1.9.3, 1.10.0, 2.1.1,
> 2.3.0.
>From what I understand, Centos6.6 is not supported with 2.3

It is likely that OVS 2.4 will be released today. It is likely that
Centos6.6 is supported in that version. branch2.4 is already created,
so you can try that too.


>
> Every time i have problems on this line :
> --------------------------------------
> Starting Line #
> ---------------------------------------
> #[root at ns509777 openvswitch-2.1.1]# rpmbuild -bb
> rhel/openvswitch-kmod-rhel6.spec
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hWy71a
> + umask 022
> + cd /root/rpmbuild/BUILD
> + LANG=C
> + export LANG
> + unset DISPLAY
> + cd /root/rpmbuild/BUILD
> + rm -rf openvswitch-2.1.1
> + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/openvswitch-2.1.1.tar.gz
> + /bin/tar -xvvf -
>
> ---------------------------------------------------
> and is ending with this :
> --------------------------------------------------
>                  from
> /root/rpmbuild/BUILD/openvswitch-2.1.1/_default/../datapath/linux/../compat.h:26,
>                  from
> /root/rpmbuild/BUILD/openvswitch-2.1.1/_default/../datapath/linux/../datapath.h:29,
>                  from
> /root/rpmbuild/BUILD/openvswitch-2.1.1/_default/datapath/linux/vport.c:34:
> /root/rpmbuild/BUILD/openvswitch-2.1.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.1.1/_default/datapath/linux/flow.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> In file included from include/net/xfrm.h:18,
>                  from
> /root/rpmbuild/BUILD/openvswitch-2.1.1/_default/datapath/linux/vport-gre.c:39:
> /root/rpmbuild/BUILD/openvswitch-2.1.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.1.1/_default/datapath/linux/vport.o]
> Error 1
> make[2]: ***
> [/root/rpmbuild/BUILD/openvswitch-2.1.1/_default/datapath/linux/dp_notify.o]
> Error 1
> make[2]: ***
> [/root/rpmbuild/BUILD/openvswitch-2.1.1/_default/datapath/linux/datapath.o]
> Error 1
> make[2]: ***
> [/root/rpmbuild/BUILD/openvswitch-2.1.1/_default/datapath/linux/flow_netlink.o]
> Error 1
> make[2]: ***
> [/root/rpmbuild/BUILD/openvswitch-2.1.1/_default/datapath/linux/vport-gre.o]
> Error 1
> make[2]: ***
> [/root/rpmbuild/BUILD/openvswitch-2.1.1/_default/datapath/linux/flow_table.o]
> Error 1
> make[2]: ***
> [/root/rpmbuild/BUILD/openvswitch-2.1.1/_default/datapath/linux/actions.o]
> Error 1
> make[1]: ***
> [_module_/root/rpmbuild/BUILD/openvswitch-2.1.1/_default/datapath/linux]
> Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.32-573.3.1.el6.x86_64'
> make: *** [default] Error 2
> make: Leaving directory
> `/root/rpmbuild/BUILD/openvswitch-2.1.1/_default/datapath/linux'
> error: Bad exit status from /var/tmp/rpm-tmp.nnTlyL (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.nnTlyL (%build)
>
>
> -----------------------------------------------
>
> I'm going crazy :)) i'm not sure how to fix this, can i get some help ?
>
>
>
>
>
> Regards,
>
> Cristian
>
>
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>



More information about the discuss mailing list