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. XFRM/NETKEY no longer uses this function, so
> it was throwing an error when using USE_KLIPS=false which the debian
> build uses.
Thanks Paul,
Now on first attempt from virgin git using "make deb" we're back to:
-----
In file included from
/usr/src/libreswan/programs/pluto/linux-copy/linux/xfrm.h:5:0,
from /usr/src/libreswan/programs/pluto/kernel_netlink.c:56:
/usr/include/netinet/in.h:101:5: error: expected identifier before numeric
constant
IPPROTO_HOPOPTS = 0, /* IPv6 Hop-by-Hop options. */
^
-----
So again used:
echo USE_XFRM_HEADER_COPY=false >> Makefile.inc.local
and end up halted at:
-----
In file included from /usr/include/linux/xfrm.h:4:0,
from /usr/src/libreswan/programs/pluto/kernel_netlink.c:56:
/usr/include/netinet/in.h:101:5: error: expected identifier before numeric
constant
IPPROTO_HOPOPTS = 0, /* IPv6 Hop-by-Hop options. */
^
-----
Best,
Whit
_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan