[Openswan Users] Makeing ipsec module
Nicole.Haehnel
nicole.haehnel at gmx.net
Tue Jan 11 13:05:32 CET 2005
Hi,
I tried to make the ipsec kernel module an get this error:
[root at RoX openswan-2.3.0]# make module
make -C /usr/src/openswan-2.3.0/modobj
OPENSWANSRCDIR=/usr/src/openswan-2.3.0 ARCH=i386 KLIPSMODULE=true -f
/usr/src/openswan-2.3.0/linux/net/ipsec/defconfig
MODULE_DEF_INCLUDE=/usr/src/openswan-2.3.0/packaging/linus/config-all.h
TOPDIR=/usr/src/linux-2.4.21-27.0.1.EL -f Makefile ipsec.o
/usr/src/linux-2.4.21-27.0.1.EL/scripts/pathdown.sh: line 4: TOPDIR:
parameter null or not set
make[1]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/openswan-2.3.0/modobj«
cc -include /usr/src/openswan-2.3.0/packaging/linus/config-all.h -O3
-Wall -DIPCOMP_PREFIX -D__KERNEL__
-I/usr/src/linux-2.4.21-27.0.1.EL/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-unused
-fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2
-march=i686 -I/usr/src/openswan-2.3.0/linux/include
-I/usr/src/linux-2.4.21-27.0.1.EL/include -I -DIPCOMP_PREFIX
-DARCH=i386 -DMODVERSIONS -include
/usr/src/linux-2.4.21-27.0.1.EL/include/linux/modversions.h -DMODULE
-DMODVERSIONS -include
/usr/src/linux-2.4.21-27.0.1.EL/include/linux/modversions.h
-DKBUILD_BASENAME=ipsec_init -c -o ipsec_init.o
/usr/src/openswan-2.3.0/linux/net/ipsec/ipsec_init.c
/usr/src/openswan-2.3.0/linux/net/ipsec/ipsec_init.c: In function
`openswan_inet_add_protocol':
/usr/src/openswan-2.3.0/linux/net/ipsec/ipsec_init.c:154: too few
arguments to function `inet_add_protocol_R712ef7bc'
/usr/src/openswan-2.3.0/linux/net/ipsec/ipsec_init.c: In function
`openswan_inet_del_protocol':
/usr/src/openswan-2.3.0/linux/net/ipsec/ipsec_init.c:161: too few
arguments to function `inet_del_protocol_Rbb6fa440'
make[1]: *** [ipsec_init.o] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/openswan-2.3.0/modobj«
make: *** [module] Fehler 2
[root at RoX openswan-2.3.0]#
It's on a redhat enterprise 3 update 4 server with kernel
2.4.21-27.0.1.ELsmp.
Is there any solution?
(I'm running openswan 2.2.0 on this server)
Thanks!
Nicole
More information about the Users
mailing list