I am attempting to build openvswitch 2.7.90 on linux 4.10.12 on Debian
using:

   92 wget https://github.com/openvswitch/ovs/archive/master.zip
   93  unzip master.zip
   94  cd ovs-master/
   95  dpkg-checkbuilddeps
   96  DEB_BUILD_OPTIONS='parallel=2 nocheck' fakeroot debian/rules binary
   99  dpkg -i openvswitch-datapath-source_2.7.90-1_all.deb
  100  m-a prepare
  101  m-a -t build openvswitch-datapath

I have one build error:

  CC [M]
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/nf_conntrac
k_reasm.o
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/nf_conntrac
k_reasm.c: In function 'rpl_nf_ct_frag6_init':
/usr/src/modules/openvswitch-datapath/openvswitch/datapath/linux/nf_conntrac
k_reasm.c:574:2: error: too few arguments to function
'nf_defrag_ipv6_enable'
  nf_defrag_ipv6_enable();
  ^~~~~~~~~~~~~~~~~~~~~

There was a commit July 12, 2016 to use this function:  
https://github.com/openvswitch/ovs/commit/5e9c7f2bcf75c2d730b0095d536dfbc39b
ff6475

There was a kernel commit 2016-12-06 to require a parameter in the function:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/comm
it/include/net/netfilter/ipv6/nf_defrag_ipv6.h?id=834184b1f3a4635efbdfdae5fb
437f109f6605fa

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/comm
it/net/ipv6/netfilter/nf_defrag_ipv6_hooks.c?id=834184b1f3a4635efbdfdae5fb43
7f109f6605fa

It looks like there are some changes up the call chain in
datapath/linux/compat/nf_conntrack_reasm.c to supply the 'struct net'
parameter.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to