Re: [Swan] Compiling on Ubuntu 16.04

2018-08-12 Thread Whit Blauvelt
Paul, This turns out to work now, by itself, for "make deb" against the current git: echo USE_GLIBC_KERN_FLIP_HEADERS=true >> Makefile.inc.local Thanks again for the help, Whit ___ Swan mailing list Swan@lists.libreswan.org https://lists.libreswan.org

Re: [Swan] Compiling on Ubuntu 16.04

2018-08-12 Thread Whit Blauvelt
On Sun, Aug 12, 2018 at 12:20:18PM -0400, Paul Wouters wrote: > >/usr/src/libreswan/programs/pluto/kernel_pfkey.c:754:13: error: > >‘pfkey_register_proto’ defined but not used [-Werror=unused-function] > >static void pfkey_register_proto(unsigned int sadb_register, > > I pushed a fix for that. X

Re: [Swan] Compiling on Ubuntu 16.04

2018-08-12 Thread Paul Wouters
On Sun, 12 Aug 2018, Whit Blauvelt wrote: /usr/src/libreswan/programs/pluto/kernel_pfkey.c:754:13: error: ‘pfkey_register_proto’ defined but not used [-Werror=unused-function] static void pfkey_register_proto(unsigned int sadb_register, I pushed a fix for that. XFRM/NETKEY no longer uses this

Re: [Swan] Compiling on Ubuntu 16.04

2018-08-12 Thread Whit Blauvelt
On Sat, Aug 11, 2018 at 11:06:11PM -0400, Paul Wouters wrote: Trying from the tar again now: > echo USE_XFRM_HEADER_COPY=false >> Makefile.inc.local OK. > The patch was removed from our debian patches directory, but the entry > for the patch was not removed from the list in packaging/debian/pat

Re: [Swan] Compiling on Ubuntu 16.04

2018-08-12 Thread Whit Blauvelt
On Sat, Aug 11, 2018 at 11:06:11PM -0400, Paul Wouters wrote: > (or grab the latest git master from github) Following up on that suggestion: The positive thing to report is "make deb" gave a list of a half-dozen package dependencies that weren't installed; a list that worked cleanly with apt inst

Re: [Swan] Compiling on Ubuntu 16.04

2018-08-11 Thread Paul Wouters
On Sat, 11 Aug 2018, Whit Blauvelt wrote: Thanks for instant response. That page refers to old versions of 3 things. "The workaround #1 is very specific to Wheezy (libc < 2.19 and kernel < 3.12). Later distributions fixed issues #1 and #2. #3 is because libunbound is too old." The Ubuntu 16.04

Re: [Swan] Compiling on Ubuntu 16.04

2018-08-11 Thread Whit Blauvelt
Paul, Thanks for instant response. That page refers to old versions of 3 things. "The workaround #1 is very specific to Wheezy (libc < 2.19 and kernel < 3.12). Later distributions fixed issues #1 and #2. #3 is because libunbound is too old." The Ubuntu 16.04 box in question has: libc = 2.23-0u

Re: [Swan] Compiling on Ubuntu 16.04

2018-08-11 Thread Paul Wouters
See https://libreswan.org/wiki/Libreswan_on_Debian_Wheezy And use “make deb” Sent from my phone > On Aug 11, 2018, at 16:51, Whit Blauvelt wrote: > > Hi, > > Trying to compile on Ubuntu 16.04, with "make all" I'm stuck at: > > - > > In file included from /usr/src/libreswan-3.25/linux/in