[Openswan Users] XL2TP and NAT problems with Ubuntu 9.10 and Openswan 6.22

Karl Stevens openswan at northsun.ca
Sun Nov 8 18:19:56 EST 2009

Tuomo Soini wrote:
> Openswan-2.6.x where x < 24rc2 won't work with natted transport mode.
> Upgrading to 2.6.24rc2 will help us to nail possible bugs caused by
> fixing this issue. If you can, please test it.

I am unable to compile 2.6.24rc2 - see the output from "./buildlin.sh"

Note that if I switch to 2.6.24rc1 (with "git checkout v2.6.24rc1") or
any of the other tags, it compiles just fine.  (This is on Slackware
12.1, kernel  Am I doing something wrong?


-I/root/n/openswan-2/programs/pluto/linux26 -I/root/n/openswan-2/include
-I/root/n/openswan-2/lib/libcrypto -I/root/n/openswan-2/linux/include
-DPERPEERLOGDIR=\"/var/log/pluto/peer\" -g -Wall -W -Wmissing-prototypes
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-declarations
-Wwrite-strings -Wstrict-prototypes   -c
/root/n/openswan-2/programs/pluto/kernel_netlink.c: In function
/root/n/openswan-2/programs/pluto/kernel_netlink.c:678: error:
'XFRM_STATE_AF_UNSPEC' undeclared (first use in this function)
/root/n/openswan-2/programs/pluto/kernel_netlink.c:678: error: (Each
undeclared identifier is reported only once
/root/n/openswan-2/programs/pluto/kernel_netlink.c:678: error: for each
function it appears in.)
/root/n/openswan-2/programs/pluto/kernel_netlink.c:724: error: storage
size of 'algo' isn't known
/root/n/openswan-2/programs/pluto/kernel_netlink.c:730: error:
'XFRMA_ALG_AEAD' undeclared (first use in this function)
/root/n/openswan-2/programs/pluto/kernel_netlink.c:724: warning: unused
variable 'algo'
make[3]: *** [kernel_netlink.o] Error 1
make[3]: Leaving directory
make[2]: *** [programs] Error 1
make[2]: Leaving directory `/root/n/openswan-2/OBJ.linux.i386/programs'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/root/n/openswan-2/OBJ.linux.i386'
make: *** [programs] Error 2

More information about the Users mailing list