[Openswan Users] Kernel 2.4.22-1.2199

Fernando Rodriguez frod at aitelecom.net
Wed Feb 22 09:59:05 CET 2006


Im trying to compile the latest openswan module for kernel 2.4.22-1.2199 and
i get  errors while building the module
 
Building module for a 2.4 kernel
make[1]: Cambiando a directorio `/openswan-2.4.5rc4/openswan-2.4.5rc4'
make[2]: Cambiando a directorio `/openswan-2.4.5rc4/openswan-2.4.5rc4'
make[2]: `/openswan-2.4.5rc4/openswan-2.4.5rc4/modobj/Makefile'
est?ctualizado.
make[2]: Saliendo directorio `/openswan-2.4.5rc4/openswan-2.4.5rc4'
make -C /openswan-2.4.5rc4/openswan-2.4.5rc4/modobj
OPENSWANSRCDIR=/openswan-2.4.5rc4/openswan-2.4.5rc4 ARCH=i386
KLIPSMODULE=true -f
/openswan-2.4.5rc4/openswan-2.4.5rc4/linux/net/ipsec/defconfig
MODULE_DEF_INCLUDE=/openswan-2.4.5rc4/openswan-2.4.5rc4/packaging/linus/conf
ig-all.h TOPDIR=/usr/src/linux-2.4 -f Makefile ipsec.o
/usr/src/linux-2.4/scripts/pathdown.sh: line 4: TOPDIR: parameter null or
not set
make[2]: Cambiando a directorio
`/openswan-2.4.5rc4/openswan-2.4.5rc4/modobj'
cc  -include
/openswan-2.4.5rc4/openswan-2.4.5rc4/packaging/linus/config-all.h -O3 -Wall
-DIPCOMP_PREFIX -D__KERNEL__
-I/usr/src/linux-2.4.22-1.2199.nptl_53.rhfc1.at/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686
-I/openswan-2.4.5rc4/openswan-2.4.5rc4/linux/include
-I/usr/src/linux-2.4/include  -I -DIPCOMP_PREFIX -DARCH=i386  -DMODVERSIONS
-include /usr/src/linux-2.4/include/linux/modversions.h -DMODULE
-DMODVERSIONS -include
/usr/src/linux-2.4.22-1.2199.nptl_53.rhfc1.at/include/linux/modversions.h
-DKBUILD_BASENAME=ipsec_init  -c -o ipsec_init.o
/openswan-2.4.5rc4/openswan-2.4.5rc4/linux/net/ipsec/ipsec_init.c
In file included from
/openswan-2.4.5rc4/openswan-2.4.5rc4/linux/net/ipsec/ipsec_init.c:73:
/openswan-2.4.5rc4/openswan-2.4.5rc4/linux/include/openswan/ipsec_sa.h:145:
error: field `ips_state' has incomplete type
In file included from
/openswan-2.4.5rc4/openswan-2.4.5rc4/linux/net/ipsec/ipsec_init.c:89:
/openswan-2.4.5rc4/openswan-2.4.5rc4/linux/include/openswan/ipsec_alg.h:88:
error: field `ixt_support' has incomplete type
make[2]: *** [ipsec_init.o] Error 1
make[2]: Saliendo directorio `/openswan-2.4.5rc4/openswan-2.4.5rc4/modobj'
make[1]: *** [module24] Error 2
make[1]: Saliendo directorio `/openswan-2.4.5rc4/openswan-2.4.5rc4'
make: *** [module] Error 2
 
is there a how to on this problem it also happened while trying to make
openswan 2.4.4 
 
Thaks for your help ..
 
Fernando Rodriguez V.
frod at aitelecom.net
AITelecom S.A. de C.V.
http://www.aitelecom.net
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20060222/de48b849/attachment.htm


More information about the Users mailing list