> boun...@openvswitch.org] On Behalf Of Greg Rose > Sent: Tuesday, April 25, 2017 11:57 > On Tue, 2017-04-25 at 11:13 -0300, Raymond Burkholder wrote: > > I am attempting to build openvswitch 2.7.90 on linux 4.10.12 on Debian > > using: > > Which version or distribution of Debian? Is it the current 8.7.1 I see at the > Debian site? > > Let me know and I'll try to reproduce and investigate. >
I use a daily snapshot from https://www.debian.org/devel/debian-installer/ to build my initial minimum system. I then use https://github.com/rburkholder/vagrant/blob/master/bldkrnlpkg/buildkrnl.sh to build a more recent kernel, in this case, the latest stable from kernel.org. Then I use https://github.com/rburkholder/vagrant/tree/master/bldovs to build the openvswitch packages. Compiler is gcc version 6.3.0 20170415 (Debian 6.3.0-14) Hope this helps. I can extract the specific build commands from buildkrnl.sh if you want. > > > > 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_co > > nntrac > > k_reasm.o > > /usr/src/modules/openvswitch- > datapath/openvswitch/datapath/linux/nf_co > > nntrac > > k_reasm.c: In function 'rpl_nf_ct_frag6_init': > > /usr/src/modules/openvswitch- > datapath/openvswitch/datapath/linux/nf_co > > nntrac > > 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/5e9c7f2bcf75c2d730b0095d53 > 6d > > fbc39b > > 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.gi > > t/comm > > it/include/net/netfilter/ipv6/nf_defrag_ipv6.h?id=834184b1f3a4635efbdf > > dae5fb > > 437f109f6605fa > > > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gi > > t/comm > > it/net/ipv6/netfilter/nf_defrag_ipv6_hooks.c?id=834184b1f3a4635efbdfda > > e5fb43 > > 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. > > > > > > > > _______________________________________________ > dev mailing list > d...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > > -- > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. -- 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