[ovs-discuss] openvswitch 1.2.2 on RHEL 6.2 : make failed

Benoit ML ben42ml at gmail.com
Thu Jan 12 09:44:49 UTC 2012


Hello,

Thank you a lot !
You wil  get rid of a niggling problem :)

Well sorry I didn't know why I tell you 1.3.0 compile ... Obvisouly
this is not  the case (attached log)  (perhaps I've missed the first
line).


Thx !

Regards,




2012/1/12 Jesse Gross <jesse at nicira.com>:
> On Wed, Jan 11, 2012 at 6:27 AM, Benoit ML <ben42ml at gmail.com> wrote:
>> Hello,
>>
>> I'm try to compil the kernel module of openvswitch 1.2.2 on RHEL 6.2.
>> The objective is to upgrade hypervisor.
>>
>> I'de like to use the 1.2.2 version and not the 1.3.0 because we
>> already use 1.2.2 on 6.1 and no time to qualify openvswitch 1.3.0 and
>> native_vlan mode ...
>>
>> The details :
>> - Openvswtich 1.2.2 source
>> - Rhel 6.2
>> - kernel 2.6.32-220.2.1.el6.x86_64
>> - gcc-4.4.6-3.el6.x86_64
>> - The configure command line : ./configure --prefix=/opt/
>> --with-linux=/lib/modules/2.6.32-220.2.1.el6.x86_64/build
>> --disable-ssl
>> - And the errors :
> [...]
>>  CC [M]  /usr/local/src/openvswitch-1.2.2/datapath/linux/genetlink-brcompat.o
>> Dans le fichier inclus à partir de include/linux/netfilter.h:8,
>>          à partir de include/net/netns/x_tables.h:5,
>>          à partir de include/net/net_namespace.h:18,
>>          à partir de
>> /usr/local/src/openvswitch-1.2.2/datapath/linux/compat/include/net/net_namespace.h:6,
>>          à partir de
>> /usr/local/src/openvswitch-1.2.2/datapath/linux/compat/include/net/genetlink.h:6,
>>          à partir de
>> /usr/local/src/openvswitch-1.2.2/datapath/linux/compat/genetlink.inc:3,
>>          à partir de
>> /usr/local/src/openvswitch-1.2.2/datapath/linux/genetlink-brcompat.c:10:
>> /usr/local/src/openvswitch-1.2.2/datapath/linux/compat/include/linux/if.h:16:1:
>> attention : « IFF_OVS_DATAPATH » redéfini
>> Dans le fichier inclus à partir de
>> /usr/local/src/openvswitch-1.2.2/datapath/linux/compat/include/linux/if.h:4,
>>          à partir de include/linux/netfilter.h:8,
>>          à partir de include/net/netns/x_tables.h:5,
>>          à partir de include/net/net_namespace.h:18,
>>          à partir de
>> /usr/local/src/openvswitch-1.2.2/datapath/linux/compat/include/net/net_namespace.h:6,
>>          à partir de
>> /usr/local/src/openvswitch-1.2.2/datapath/linux/compat/include/net/genetlink.h:6,
>>          à partir de
>> /usr/local/src/openvswitch-1.2.2/datapath/linux/compat/genetlink.inc:3,
>>          à partir de
>> /usr/local/src/openvswitch-1.2.2/datapath/linux/genetlink-brcompat.c:10:
>> include/linux/if.h:77:1: attention : ceci est la localisation d'une
>> précédente définition
> [...]
>> OpenVswitch 1.3.0 compil great.
>>
>> Any idea ?
>
> The problem is due to IFF_OVS_DATAPATH being backported by RHEL 6.2 to
> a kernel where it wouldn't normally be defined and causing duplicate
> definitions.  It's not clear to me why OVS 1.3 wouldn't have this
> problem though because the code is identical in this area.
>
> I'll send out a patch to avoid this problem for the future, however,
> it's not the type of thing that I want to put on a maintenance branch.



-- 
--
Benoit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rhel6.2-openvswitch-1.3.0-configure.log
Type: text/x-log
Size: 8866 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120112/ebae875c/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rhel6.2-openvswitch-1.3.0-make.log
Type: text/x-log
Size: 172295 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120112/ebae875c/attachment-0005.bin>


More information about the discuss mailing list