On Thu, Apr 7, 2016 at 4:37 AM, <d...@easyedu2.com> wrote: > When I build openvswitch 2.3.3 and 2.41. > > > > /root/rpmbuild/BUILD/openvswitch-2.3.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 > > In file included from include/net/xfrm.h:18, > > from > /root/rpmbuild/BUILD/openvswitch-2.3.1/_default/../datapath/linux/../compat.h:26, > > from > /root/rpmbuild/BUILD/openvswitch-2.3.1/_default/../datapath/linux/../datapath.h:29, > > from > /root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux/vport.c:34: > > /root/rpmbuild/BUILD/openvswitch-2.3.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.3.1/_default/datapath/linux/dp_notify.o] > Error 1 > > make[2]: *** Waiting for unfinished jobs.... > > In file included from include/net/xfrm.h:18, > > from > /root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux/vport-gre.c:39: > > /root/rpmbuild/BUILD/openvswitch-2.3.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.3.1/_default/datapath/linux/datapath.o] > Error 1 > > make[2]: *** > [/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux/flow.o] > Error 1 > > make[2]: *** > [/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux/actions.o] > Error 1 > > make[2]: *** > [/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux/vport.o] > Error 1 > > make[2]: *** > [/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux/flow_netlink.o] > Error 1 > > make[2]: *** > [/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux/flow_table.o] > Error 1 > > make[2]: *** > [/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux/vport-gre.o] > Error 1 > > make[1]: *** > [_module_/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux] > Error 2 > > make[1]: Leaving directory `/usr/src/kernels/2.6.32-573.22.1.el6.x86_64' > > make: *** [default] Error 2 > > make: Leaving directory > `/root/rpmbuild/BUILD/openvswitch-2.3.1/_default/datapath/linux' > > error: Bad exit status from /var/tmp/rpm-tmp.mm7hiY (%build) > > > > > > this is the report how could I fix it ? pleas help!
I would double check that you tested 2.4.1 because it looks like the fix should already be part of that release. (You also said that you used 2.3.3 but based on the directory name it was actually 2.3.1). No version of 2.3 has the fix for this issue but I applied the patch to that branch in the event that we end up doing another release off of it. In any event, I would recommend using OVS 2.5 as that is the current long term stable release. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss