[Openswan Users] Fedora Core 1 build problem

Paul Wouters paul at xelerance.com
Thu Jan 13 21:40:33 CET 2005


On Thu, 13 Jan 2005, Ted Kaczmarek wrote:

> + /usr/bin/make -C /usr/src/redhat/BUILD/openswan-2.3.0
> MODBUILDDIR=/usr/src/redhat/BUILD/openswan-2.3.0/BUILD.i686-smp
> OPENSWANSRCDIR=/usr/src/redhat/BUILD/openswan-2.3.0
> KERNELSRC=/usr/src/linux-2.4.22-1.2199.nptl ARCH=i386 SUBARCH=i386
> MODULE_DEF_INCLUDE=/usr/src/redhat/BUILD/openswan-2.3.0/packaging/redhat/config-i686-smp.h module

> ipsec_init.o /usr/src/redhat/BUILD/openswan-2.3.0/linux/net/ipsec/ipsec_init.c
> /usr/src/redhat/BUILD/openswan-2.3.0/linux/net/ipsec/ipsec_init.c:101:2:
> #error "kernel configuration must include ESP or AH"

Is there a mismatch between CONFIG_KLIPS vs CONFIG_IPSEC?

How are you building this? Since openswan-2.3.0-1.src.rpm uses the module26
target, so it cannot build out of the box on a 2.4 kernel.
If you manually untarred the source, use the packaging/redhat/openswan.spec
file and change 'modules26' to 'modules'.

Paul
-- 

"At best it is a theory, at worst a fantasy" -- Michael Crichton



More information about the Users mailing list