[ovs-build] help , build ovs-2.3.0 on localdomain 3.10.0-327.22.2.el7.x86_64 get too many error .

Joe Stringer joe at ovn.org
Thu Apr 13 22:25:11 UTC 2017


On 12 April 2017 at 23:30,  <yin.zuowei at zte.com.cn> wrote:
>
>
> hello all:
>
>
>   i'm build ovs-2.3.0 on centosos 3.10.0-327.22.2.el7.x86_64 , but get too
> many error .
>
>
>    I sloved  most of  ther error  by myself  except that :
>
>
>
>
> make[1]: Entering directory
> `/home/ovs/ovs-self-kmod/openvswitch/BUILD/openvswitch-2.3.0/_default'
>
> Making all in datapath
>
> make[2]: Entering directory
> `/home/ovs/ovs-self-kmod/openvswitch/BUILD/openvswitch-2.3.0/_default/datapath'
>
> Making all in linux
>
> make[3]: Entering directory
> `/home/ovs/ovs-self-kmod/openvswitch/BUILD/openvswitch-2.3.0/_default/datapath/linux'
>
> make -C /usr/src/kernels/3.10.0-327.22.2.el7.x86_64
> M=/home/ovs/ovs-self-kmod/openvswitch/BUILD/openvswitch-2.3.0/_default/datapath/linux
> modules
>
> make[4]: Entering directory `/usr/src/kernels/3.10.0-327.22.2.el7.x86_64'
>
>   CC [M]
> /home/ovs/ovs-self-kmod/openvswitch/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport-gre.o
>
> In file included from
> /home/ovs/ovs-self-kmod/openvswitch/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/gre.h:10:0,
>
>                  from
> /home/ovs/ovs-self-kmod/openvswitch/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport-gre.c:44:
>
> include/net/gre.h: In function ‘gre_handle_offloads’:
>
> include/net/gre.h:42:2: error: implicit declaration of function
> ‘iptunnel_handle_offloads’ [-Werror=implicit-function-declaration]
>
>   return iptunnel_handle_offloads(skb, csum,
>
>   ^
>
> include/net/gre.h:42:2: warning: return makes pointer from integer without a
> cast [enabled by default]
>
> cc1: some warnings being treated as errors
>
>
>
>  has somebody encountered this problem ?

This list is used by robots to report build statuses, for help try
ovs-discuss at openvswitch.org.

I would suggest upgrading your OVS version, v2.3.0 is very old.


More information about the build mailing list