[Openswan Users] Kernel Error was:[Re: Kernel-2.6.27 and nat-t patch]
Sasa
sasa at shoponweb.it
Wed Jul 1 05:38:06 EDT 2009
"Paul Wouters" wrote:
> In ipsec_kversion.h, and remove #define HAVE_UDP_ENCAP_CONVERT
..sorry but I have removed in the ipsec_kversion.h file the line:
#define HAVE_UDP_ENCAP_CONVERT 1
..but I have always this error:
[root at fw openswan-2.6.22]# make module26
make[1]: Entering directory `/root/openswan-2.6.22'
make[1]: `/root/openswan-2.6.22/modobj26/Makefile' is up to date.
make[1]: Leaving directory `/root/openswan-2.6.22'
make -C /lib/modules/2.6.27.5/build BUILDDIR=/root/openswan-2.6.22/modobj26
SUBDIRS=/root/openswan-2.6.22/modobj26
MODULE_DEF_INCLUDE=/root/openswan-2.6.22/packaging/linus/config-all.h
MODULE_DEFCONFIG=/root/openswan-2.6.22/linux/net/ipsec/defconfig
MODULE_EXTRA_INCLUDE= ARCH=i386 modules
make[1]: Entering directory `/root/linux-2.6.27.5'
CC [M] /root/openswan-2.6.22/modobj26/ipsec_init.o
/root/openswan-2.6.22/modobj26/ipsec_init.c: In function 'ipsec_cleanup':
/root/openswan-2.6.22/modobj26/ipsec_init.c:364: error: too many arguments
to function 'udp4_unregister_esp_rcvencap'
make[2]: *** [/root/openswan-2.6.22/modobj26/ipsec_init.o] Error 1
make[1]: *** [_module_/root/openswan-2.6.22/modobj26] Error 2
make[1]: Leaving directory `/root/linux-2.6.27.5'
make: *** [module26] Error 2
..pheraps I must modify another line in the ipsec_kversion.h ?
Thanks.
------
Salvatore.
More information about the Users
mailing list