<!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">
Found it, it's my kernel's weird single-argument ip_select_ident(),
just stuck in<br>
<tt><br>
#define SUSE_LINUX_2_4_19_IS_STUPID</tt><br>
<br>
In a couple of places. I also added <tt>-DUSE_NAT_TRAVERSAL=0</tt> to
my make command to get the KLIPS module (success!), but now I get the
following error when I do <tt>make programs</tt>. I'm not a C coder,
please help :-). Should I be posting this to the developer list instead?<br>
<br>
<tt>make[2]: Entering directory `/root/openswan-2.2.0/programs/spi'<br>
cc -g -O3 -I../.. -I../../linux/include -I../../include -Wall
-Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast
-DKERNEL_ALG -DIKE_ALG -Werror -c -o spi.o spi.c<br>
spi.c: In function `main':<br>
spi.c:1005: warning: comparison between signed and unsigned<br>
make[2]: *** [spi.o] Error 1<br>
make[2]: Leaving directory `/root/openswan-2.2.0/programs/spi'<br>
make[1]: *** [programs] Error 1<br>
make[1]: Leaving directory `/root/openswan-2.2.0/programs'<br>
make: *** [programs] Error 1<br>
</tt><br>
Stephanos Piperoglou wrote:
<blockquote cite="mid415A67E1.7000909@piperoglou.com" type="cite">
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
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>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openswan.org">Users@openswan.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openswan.org/mailman/listinfo/users">http://lists.openswan.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>