[Openswan Users] OpenS/WAN and SuSE 8.2 / Kernel 2.4.20

Stephanos Piperoglou ta0002 at piperoglou.com
Wed Sep 29 11:44:33 CEST 2004


I'm trying to get OpenS/WAN to work with a SuSE Linux 8.2 system (kernel 
2.4.20). For various reasons I can't go into right now, I can't 
recompile my kernel, which incidentally includes an ipsec.o module 
(patched in by SuSE), though I'm not fixated on using it, esp. as I 
don't know the version which is probably some old FreeS/WAN version, and 
need a recent X.509 patch that supports the %any value for 
left/rightprotoport (I want to tunnel L2TP for a Mac OS X 10.3 road 
warrior).

AFAIK unless I want to bother with NAT-T (and I don't) I don't have to 
recompile my kernel, just another module and the ipsec-tools. However 
2.2.0 won't compile (see below for compiler output). Any ideas? Should I 
maybe try an older version? As I said, I'm stuck with my current kernel.

linux:~/openswan-2.2.0 # make KERNELSRC=/usr/src/linux module/
*[...]*/
cc  -DIPCOMP_PREFIX  -include 
/root/openswan-2.2.0/packaging/linus/config-all.h 
-I/root/openswan-2.2.0/linux/include -I/usr/src/linux/include  
-I/root/openswan-2.2.0/linux/lib/zlib -DCONFIG_IPSEC_ALG -O3 -Wall 
-DARCH=i386  -DMODVERSIONS -include 
/usr/src/linux/include/linux/modversions.h -DMODULE  -D__KERNEL__ 
-I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare 
-finline-limit=2000 -fomit-frame-pointer -pipe 
-mpreferred-stack-boundary=2 -march=i586 -DIPCOMP_PREFIX  -include 
/root/openswan-2.2.0/packaging/linus/config-all.h 
-I/root/openswan-2.2.0/linux/include -I/usr/src/linux/include  
-I/root/openswan-2.2.0/linux/lib/zlib -DCONFIG_IPSEC_ALG -O3 -Wall 
-DARCH=i386  -DMODVERSIONS -include 
/usr/src/linux/include/linux/modversions.h -DMODULE  -D__KERNEL__ 
-I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare 
-finline-limit=2000 -fomit-frame-pointer -pipe 
-mpreferred-stack-boundary=2 -march=i586  -DKBUILD_BASENAME=ipsec_xmit  
-c -o ipsec_xmit.o /root/openswan-2.2.0/linux/net/ipsec/ipsec_xmit.c
/root/openswan-2.2.0/linux/net/ipsec/ipsec_xmit.c: In function 
`ipsec_xmit_encap_once':
/root/openswan-2.2.0/linux/net/ipsec/ipsec_xmit.c:919: error: too many 
arguments to function `ip_select_ident'
make[1]: *** [ipsec_xmit.o] Error 1
make[1]: Leaving directory `/root/openswan-2.2.0/modobj'
make: *** [module] Error 2


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20040929/5edceaad/attachment-0001.htm


More information about the Users mailing list