[ovs-discuss] advise how to compile

Олексій Петлицький petlitskiy.kiev at gmail.com
Thu Apr 4 15:13:41 UTC 2019


Hi there! Can anyone advise me the way to compile ovs. Cannot figure out
why i had next error:

/root/src/ovs/datapath/linux/nf_conntrack_reasm.c: In function ‘fq_find’:
/root/src/ovs/datapath/linux/nf_conntrack_reasm.c:191:42: error: passing
argument 2 of ‘inet_frag_find’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
  q = inet_frag_find(&net->nf_frag.frags, &key);
                                          ^
In file included from
/root/src/ovs/datapath/linux/compat/include/net/inet_frag.h:5:0,
                 from
/usr/src/linux-headers-4.9.0-8-common/include/net/netns/ipv4.h:9,
                 from
/usr/src/linux-headers-4.9.0-8-common/include/net/net_namespace.h:17,
                 from
/root/src/ovs/datapath/linux/compat/include/net/net_namespace.h:4,
                 from
/usr/src/linux-headers-4.9.0-8-common/include/linux/netdevice.h:43,
                 from
/root/src/ovs/datapath/linux/compat/include/linux/netdevice.h:4,
                 from /root/src/ovs/datapath/linux/nf_conntrack_reasm.c:32:
/usr/src/linux-headers-4.9.0-8-common/include/net/inet_frag.h:121:25: note:
expected ‘struct netns_frags_ext *’ but argument is of type ‘struct
frag_v6_compare_key *’
 struct inet_frag_queue *inet_frag_find(struct netns_frags *nf,
                         ^~~~~~~~~~~~~~
/root/src/ovs/datapath/linux/nf_conntrack_reasm.c:191:6: error: too few
arguments to function ‘inet_frag_find’
  q = inet_frag_find(&net->nf_frag.frags, &key);
      ^~~~~~~~~~~~~~
In file included from
/root/src/ovs/datapath/linux/compat/include/net/inet_frag.h:5:0,
                 from
/usr/src/linux-headers-4.9.0-8-common/include/net/netns/ipv4.h:9,
                 from
/usr/src/linux-headers-4.9.0-8-common/include/net/net_namespace.h:17,
                 from
/root/src/ovs/datapath/linux/compat/include/net/net_namespace.h:4,
                 from
/usr/src/linux-headers-4.9.0-8-common/include/linux/netdevice.h:43,
                 from
/root/src/ovs/datapath/linux/compat/include/linux/netdevice.h:4,
                 from /root/src/ovs/datapath/linux/nf_conntrack_reasm.c:32:
/usr/src/linux-headers-4.9.0-8-common/include/net/inet_frag.h:121:25: note:
declared here
 struct inet_frag_queue *inet_frag_find(struct netns_frags *nf,
                         ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors

Debian 9.8, x86_64, kernel v 4.9.0-8-amd64
Thank in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190404/fe4d4df4/attachment.html>


More information about the discuss mailing list