Flavio, there's been a few reports of compilation problems on
RHEL/Centos 6. Would it be possible for you to take a look?

On Fri, Aug 21, 2015 at 12:09 PM, Gurucharan Shetty <shet...@nicira.com> wrote:
> Okay, then I was wrong about branch 2.4 supporting Centos 6.6. I have
> CC'd a couple of Kernel developers that will know the correct answer.
>
> On Fri, Aug 21, 2015 at 12:03 PM, ShapeHost <cont...@shape.host> wrote:
>> Hello,
>>
>>     Thanks for the information, i tested the new 2.4. and i have the same
>> problem. :(
>>
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:987:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:987:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:987:
>> warning: type defaults to 'int' in declaration of 'ret__'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:987:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:987:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:987:
>> warning: type defaults to 'int' in declaration of 'ret__'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:987:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:987:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:999:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:999:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:999:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:999:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:999:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:999:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:999:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:999:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> warning: type defaults to 'int' in declaration of 'type name'
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> error: invalid type argument of 'unary *' (have 'int')
>> /root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.c:1006:
>> warning: type defaults to 'int' in declaration of 'type name'
>> make[2]: ***
>> [/root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/datapath.o]
>> Error 1
>> make[2]: ***
>> [/root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/actions.o]
>> Error 1
>> make[2]: ***
>> [/root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/vport-internal_dev.o]
>> Error 1
>> make[2]: ***
>> [/root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/flow_table.o]
>> Error 1
>> make[2]: ***
>> [/root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/flow_netlink.o]
>> Error 1
>> make[2]: ***
>> [/root/rpmbuild/BUILD/openvswitch-2.4.0/_default/datapath/linux/vport.o]
>> Error 1
>> make[1]: ***
>> [_module_/root/rpmbuild/BUILD/openvswitch-2.4.0/_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.4.0/_default/datapath/linux'
>> error: Bad exit status from /var/tmp/rpm-tmp.1mXVkX (%build)
>>
>>
>> RPM build errors:
>>     Bad exit status from /var/tmp/rpm-tmp.1mXVkX (%build)
>> [root@ns509777 openvswitch-2.4.0]#
>>
>>
>> Regards,
>> Cristian
>>
>> Regards,
>>
>> ShapeHost
>>
>> www.istream.today
>>
>> www.shape.host
>>
>> +40.733.955.922
>>
>>
>>
>> On 8/21/2015 8:29:02 PM, Gurucharan Shetty <shet...@nicira.com> wrote:
>>
>> On Fri, Aug 21, 2015 at 5:02 AM, ShapeHost 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@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@openvswitch.org
>>> http://openvswitch.org/mailman/listinfo/discuss
>>>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to