<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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).<br>
<br>
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.<br>
<br>
<tt>linux:~/openswan-2.2.0 # make KERNELSRC=/usr/src/linux module<i><br>
<b>[...]</b></i><br>
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<br>
/root/openswan-2.2.0/linux/net/ipsec/ipsec_xmit.c: In function
`ipsec_xmit_encap_once':<br>
/root/openswan-2.2.0/linux/net/ipsec/ipsec_xmit.c:919: error: too many
arguments to function `ip_select_ident'<br>
make[1]: *** [ipsec_xmit.o] Error 1<br>
make[1]: Leaving directory `/root/openswan-2.2.0/modobj'<br>
make: *** [module] Error 2<br>
<br>
<br>
</tt>
</body>
</html>