[Swan-dev] [patch] Libreswan 3.6 build failure on kernel 3.4

Paul Wouters paul at nohats.ca
Fri Nov 1 18:46:07 EET 2013


On Fri, 1 Nov 2013, Roel van Meer wrote:

> While building the linux kernel 3.4.67 with libreswan 3.6 I ran into a build 
> failure:
>
> /tmp/tmp.3um4Ii/libreswan-3.6/modobj/ipsec_tunnel.c: In function 
> 'ipsec_tunnel_udp_encap_prepare':
> /tmp/tmp.3um4Ii/libreswan-3.6/modobj/ipsec_tunnel.c:1734: error: implicit 
> declaration of function 'udp_encap_enable'
>
> It turns out that NEED_UDP_ENCAP_ENABLE, which should be defined on kernels 
> 3.5 and up, was defined on kernels 3.4 and up. The attached patch fixes that.

Merged in, thanks!

Paul


More information about the Swan-dev mailing list