[Openswan Users] Problem compiling openswan 2.4.14 with Linux 2.6.26
Isaac Aaron
e-tsik at q-bytes.com
Tue May 26 09:01:33 EDT 2009
Hello
I am trying to compile openswan 2.4.14 with Linux 2.6.26, but receive the
following:
make KERNELSRC=/usr/src/2.6.26/linux-2.6.26.5/ module
Building module for a 2.6 kernel
make[1]: Entering directory `/usr/src/2.6.26/openswan-2.4.14'
make[2]: Entering directory `/usr/src/2.6.26/openswan-2.4.14'
make[2]: `/usr/src/2.6.26/openswan-2.4.14/modobj26/Makefile' is up to date.
make[2]: Leaving directory `/usr/src/2.6.26/openswan-2.4.14'
make -C /usr/src/2.6.26/linux-2.6.26.5/
BUILDDIR=/usr/src/2.6.26/openswan-2.4.14/modobj26
SUBDIRS=/usr/src/2.6.26/openswan-2.4.14/modobj26
MODULE_DEF_INCLUDE=/usr/src/2.6.26/openswan-2.4.14/packaging/linus/config-al
l.h
MODULE_DEFCONFIG=/usr/src/2.6.26/openswan-2.4.14/linux/net/ipsec/defconfig
MODULE_EXTRA_INCLUDE= ARCH=i386 modules
make[2]: Entering directory `/usr/src/2.6.26/linux-2.6.26.5'
CC [M] /usr/src/2.6.26/openswan-2.4.14/modobj26/ipsec_init.o
In file included from
/usr/src/2.6.26/openswan-2.4.14/modobj26/ipsec_init.c:85:
/usr/src/2.6.26/openswan-2.4.14/linux/include/openswan/ipsec_esp.h:52:
error: expected specifier-qualifier-list before 'des_key_schedule'
make[3]: *** [/usr/src/2.6.26/openswan-2.4.14/modobj26/ipsec_init.o] Error 1
make[2]: *** [_module_/usr/src/2.6.26/openswan-2.4.14/modobj26] Error 2
make[2]: Leaving directory `/usr/src/2.6.26/linux-2.6.26.5'
make[1]: *** [module26] Error 2
make[1]: Leaving directory `/usr/src/2.6.26/openswan-2.4.14'
make: *** [module] Error 2
gcc --version
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The kernel is patched with IMQ and layer-7.sf.org .
I also tried using openswan 2.6.21, but got another error:
make KERNELSRC=/usr/src/2.6.26/linux-2.6.26.5/ module
CC [M] /usr/src/2.6.26/openswan-2.6.21/modobj26/ipsec_init.o
/usr/src/2.6.26/openswan-2.6.21/modobj26/ipsec_init.c: In function
'ipsec_cleanup':
/usr/src/2.6.26/openswan-2.6.21/modobj26/ipsec_init.c:363: error: too many
arguments to function 'udp4_unregister_esp_rcvencap'
What can I do to correct it?
Thanks
Isaac Aaron
.
.
DISCLAIMER: This mail message was scanned for malicious content by Quality Bytes Mail Security when leaving the gateway of Quality Bytes
http://qb.q-bytes.com/qbms/?c=qb
.
More information about the Users
mailing list