[Openswan dev] openswan-2 HEAD where ?

Dominique Blas ml at blas.net
Wed Jun 30 03:50:26 CEST 2004


Le mardi 29 Juin 2004 17:21, Nate Carlson a écrit :
> On Mon, 28 Jun 2004, Dominique Blas wrote:
> > Sorry for this question but, now, after an exchange on the users ML, I
> > think I need to use KLIPS under 2.6 (with native IPSEC disabled of
> > course).
> > 
> > Where can I find the openswan HEAD which Nate is talking about.
> > 
> > I checked out the CVS but didn't find the scripts (move, etc) he was
> > speaking of,
> 
> If you don't specify a branch to check out with CVS, it will check out 
> HEAD by default.
Nate,
Yep, it's what I finally understood and found your patches in your mail.

But I had so many errors whith a fresh 2.6.7 that I abandonned for now (I have a problem under Postfix to solve).

It would be nice to indicate in your procedure to copy ALL the content of the subdirectory linux/include into /usr/src/linux/include.

I compiled from /usr/src/linux/net/ipsec with a kernel from which native IPSEC and transformations are neutralised.
Here is the last error I couldn't solve.
Sorry,

make V=1 -C /usr/src/linux SUBDIRS=`pwd` MODULE_DEF_INCLUDE=`pwd`/config-all.h modules
make: Entering directory `/var/spool/src/linux-2.6.7'
mkdir -p /usr/src/linux/net/ipsec/.tmp_versions
make -f scripts/Makefile.build obj=/usr/src/linux/net/ipsec
  gcc -Wp,-MD,/usr/src/linux/net/ipsec/.ipsec_tunnel.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2  -march=pentium-mmx -Iinclude/asm-i386/mach-default -O2  -I/var/spool/src/linux-2.6.7/include -I/usr/src/linux/net/ipsec/../../include -I/usr/include -DCONFIG_IPSEC_ESP -DCONFIG_IPSEC_ALG -DCONFIG_IPSEC_DEBUG -DCONFIG_IPSEC -DCONFIG_IPSEC_IPIP -DCONFIG_IPSEC_AUTH_HMAC_MD5 -DCONFIG_IPSEC_AUTH_HMAC_SHA1 -DCONFIG_IPSEC_ESP -DCONFIG_IPSEC_ENC_3DES -DCONFIG_IPSEC_ENC_CRYPTOAPI -DCONFIG_IPSEC_ENC_3DES -DCONFIG_IPSEC_DEBUG -DCONFIG_IPSEC_AH -DCONFIG_IPSEC_IPCOMP -DIPCOMP_PREFIX   -DMODULE -DKBUILD_BASENAME=ipsec_tunnel -DKBUILD_MODNAME=ipsec -c -o /usr/src/linux/net/ipsec/.tmp_ipsec_tunnel.o /usr/src/linux/net/ipsec/ipsec_tunnel.c
/usr/src/linux/net/ipsec/ipsec_tunnel.c: In function << ipsec_tunnel_open >>:
/usr/src/linux/net/ipsec/ipsec_tunnel.c:112: Warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:529)
/usr/src/linux/net/ipsec/ipsec_tunnel.c: In function: << ipsec_tunnel_close >>:
/usr/src/linux/net/ipsec/ipsec_tunnel.c:119: Warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:541)
/usr/src/linux/net/ipsec/ipsec_tunnel.c: In function << ipsec_tunnel_SAlookup >>:
/usr/src/linux/net/ipsec/ipsec_tunnel.c:244: error: structure has no member named `sport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:244: error: structure has no member named `sport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:244: error: structure has no member named `sport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:245: error: structure has no member named `dport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:245: error: structure has no member named `dport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:245: error: structure has no member named `dport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:284: error: structure has no member named `sport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:284: error: structure has no member named `sport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:284: error: structure has no member named `sport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:285: error: structure has no member named `dport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:285: error: structure has no member named `dport'
/usr/src/linux/net/ipsec/ipsec_tunnel.c:285: error: structure has no member named `dport'
make[1]: *** [/usr/src/linux/net/ipsec/ipsec_tunnel.o] Error 1
make: *** [_module_/usr/src/linux/net/ipsec] Error 2
make: Leaving directory `/var/spool/src/linux-2.6.7'


Thanks,

db


More information about the Dev mailing list