Hi Jesse,

Even after applying this patch & rebuild these packages. We are receiving below 
error.

ln -s 
/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/../datapath/linux/../linux/compat/utils.c
/usr/bin/make -C /usr/src/kernels/2.6.32-504.23.4.el6.x86_64 
M=/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/datapath/linux modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-504.23.4.el6.x86_64'
  CC [M]  
/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/datapath/linux/actions.o
In file included from 
/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/datapath/linux/actions.c:21:
/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/../datapath/linux/compat/include/linux/skbuff.h:
 In function 'skb_clear_hash':
/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/../datapath/linux/compat/include/linux/skbuff.h:302:
 error: 'struct sk_buff' has no member named 'l4_rxhash'
In file included from include/net/sock.h:50,
                 from 
/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/../datapath/linux/compat/include/net/sock.h:4,
                 from include/linux/tcp.h:180,
                 from 
/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/../datapath/linux/compat/include/linux/tcp.h:4,
                 from 
/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/datapath/linux/actions.c:26:
/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/../datapath/linux/compat/include/linux/netdevice.h:
 At top level:
/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/../datapath/linux/compat/include/linux/netdevice.h:37:
 error: conflicting types for 'netdev_rx_handler_register'
include/linux/netdevice.h:2204: note: previous declaration of 
'netdev_rx_handler_register' was here
make[2]: *** 
[/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/datapath/linux/actions.o] 
Error 1
make[1]: *** 
[_module_/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/datapath/linux] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-504.23.4.el6.x86_64'
make: *** [default] Error 2
make: Leaving directory 
`/root/rpmbuild/BUILD/openvswitch-2.3.2/_default/datapath/linux'
error: Bad exit status from /var/tmp/rpm-tmp.lvm4VS (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.lvm4VS (%build)

Regards,
Anil Barbadekar

From: Jesse Gross [mailto:[email protected]]
Sent: 13 July 2015 20:29
To: Barbadekar, Anil
Cc: [email protected]
Subject: Re: [ovs-discuss] Cemtos 6.5- Openvswitch 2.3.2 update

You can apply patches from email using "git am".

On Monday, July 13, 2015, Barbadekar, Anil 
<[email protected]<mailto:[email protected]>> wrote:
Hi Jesse,

We do not have steps to applying this patch. It will be nice if you share those 
steps.

Regards,
Anil Barbadekar

-----Original Message-----
From: Jesse Gross [mailto:[email protected]<javascript:;>]
Sent: 11 July 2015 04:35
To: Barbadekar, Anil
Cc: [email protected]<javascript:;>
Subject: Re: [ovs-discuss] Cemtos 6.5- Openvswitch 2.3.2 update

On Fri, Jul 10, 2015 at 8:11 AM, Barbadekar, Anil 
<[email protected]<javascript:;>> wrote:
> Dear Admins,
>
> We have tried to deploy this openvswitch using following command
>
> rpmbuild -bb rhel/openvswitch-kmod-rhel6.spec

There is a patch to fix this that hasn't been reviewed or tested yet.
Can you try cherry picking commit
3d174bfd1a6dc0734f4333385fbcb0dd4dd12df4 ("datapath: compat: Fix build on RHEL 
6.6") and apply this patch:
http://openvswitch.org/pipermail/dev/2015-July/057228.html

And report if it solves the problem?
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to