No luck. rpmbuild failed on different file:
/usr/bin/make -C /usr/src/kernels/2.6.32-358.0.1.el6.x86_64 M=/root/rpmbuild/BUILD/openvswitch-1.9.0/_default/datapath/linux modules make[1]: Entering directory `/usr/src/kernels/2.6.32-358.0.1.el6.x86_64' CC [M] /root/rpmbuild/BUILD/openvswitch-1.9.0/_default/datapath/linux/genetlink-brcompat.o CC [M] /root/rpmbuild/BUILD/openvswitch-1.9.0/_default/datapath/linux/brcompat_main.o In file included from /root/rpmbuild/BUILD/openvswitch-1.9.0/_default/datapath/linux/brcompat_main.c:25: /root/rpmbuild/BUILD/openvswitch-1.9.0/_default/../datapath/linux/compat/include/linux/etherdevice.h:8: error: redefinition of 'eth_hw_addr_random' include/linux/etherdevice.h:156: note: previous definition of 'eth_hw_addr_random' was here In file included from /root/rpmbuild/BUILD/openvswitch-1.9.0/_default/../datapath/linux/../vlan.h:22, from /root/rpmbuild/BUILD/openvswitch-1.9.0/_default/../datapath/linux/../datapath.h:34, from /root/rpmbuild/BUILD/openvswitch-1.9.0/_default/datapath/linux/brcompat_main.c:32: /root/rpmbuild/BUILD/openvswitch-1.9.0/_default/../datapath/linux/compat/include/linux/if_vlan.h:59: error: redefinition of 'vlan_set_encap_proto' include/linux/if_vlan.h:381: note: previous definition of 'vlan_set_encap_proto' was here make[2]: *** [/root/rpmbuild/BUILD/openvswitch-1.9.0/_default/datapath/linux/brcompat_main.o] Error 1 make[1]: *** [_module_/root/rpmbuild/BUILD/openvswitch-1.9.0/_default/datapath/linux] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.0.1.el6.x86_64' make: *** [default] Error 2 make: Leaving directory `/root/rpmbuild/BUILD/openvswitch-1.9.0/_default/datapath/linux' error: Bad exit status from /var/tmp/rpm-tmp.oTH2KX (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oTH2KX (%build) On Wed, Mar 13, 2013 at 12:25 AM, Jesse Gross <je...@nicira.com> wrote: > I sent it out for review to the mailing list and you are CC'ed. If > you have a chance, please test it. > > On Tue, Mar 12, 2013 at 1:13 PM, Denis Iskandarov > <d.iskanda...@gmail.com> wrote: > > Niceee. > > Sorry, in 'sent' you meant you sent by email or somehow else? > > When it will be possible to apply patch for further try to finally start > up > > OVS on desired platform for me. > > > > Sincerely. > > > > > > On Tue, Mar 12, 2013 at 11:26 PM, Jesse Gross <je...@nicira.com> wrote: > >> > >> On Tue, Mar 12, 2013 at 11:13 AM, Lucas Brasilino > >> <lucas.brasil...@gmail.com> wrote: > >> > Hi Denis: > >> > > >> >> Can't build kernel module RPM on CentOS 6.4: > >> > > >> >> > >> >> > /root/rpmbuild/BUILD/openvswitch-1.9.0/_default/../datapath/linux/compat/include/linux > >> >> /skbuff.h:249: error: redefinition of 'skb_reset_mac_len' > >> >> include/linux/skbuff.h:1284: note: previous definition of > >> >> 'skb_reset_mac_len' was here > >> >> make[2]: *** > >> >> > [/root/rpmbuild/BUILD/openvswitch-1.9.0/_default/datapath/linux/genetlink-brcompat.o] > >> >> Error 1 > >> > > >> > This issue was discussed here a some time ago, around CentOS 6.3 OVS > >> > build process. I bet you should apply the same solution. Just make > >> > some search on mailing list archives. > >> > >> I believe this is a new issue with an additional backport that was > >> introduced in Centos 6.4. I sent out a patch to fix it. > > > > >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss