[Openswan Users] Fedora Core 1 build problem

Ted Kaczmarek tedkaz at optonline.net
Thu Jan 13 14:30:54 CET 2005


+ FS=/usr/src/redhat/BUILD/openswan-2.3.0
+ mkdir -p BUILD.i686
+ mkdir -p BUILD.i686-smp
+ cd packaging/redhat
+ /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
make: Entering directory `/usr/src/redhat/BUILD/openswan-2.3.0'
mkdir -p /usr/src/redhat/BUILD/openswan-2.3.0/BUILD.i686-smp
cp /usr/src/redhat/BUILD/openswan-2.3.0/packaging/makefiles/module.make /usr/src/redhat/BUILD/openswan-2.3.0/BUILD.i686-smp/Makefile
echo "# "
>> /usr/src/redhat/BUILD/openswan-2.3.0/BUILD.i686-smp/Makefile
echo "# Local Variables: "
>> /usr/src/redhat/BUILD/openswan-2.3.0/BUILD.i686-smp/Makefile
echo "# compile-command: \"/usr/bin/make
OPENSWANSRCDIR=/usr/src/redhat/BUILD/openswan-2.3.0 ARCH=i386
TOPDIR=/usr/src/linux-2.4.22-1.2199.nptl KLIPSMODULE=true -
f /usr/src/redhat/BUILD/openswan-2.3.0/linux/net/ipsec/defconfig
MODULE_DEF_INCLUDE=/usr/src/redhat/BUILD/openswan-2.3.0/packaging/redhat/config-i686-smp.h -f Makefile ipsec.o\""         >> /usr/src/redhat/BUILD/openswan-2.3.0/BUILD.i686-smp/Makefile
echo "# End: "       >> /usr/src/redhat/BUILD/openswan-2.3.0/BUILD.i686-
smp/Makefile
/usr/bin/make -C /usr/src/redhat/BUILD/openswan-2.3.0/BUILD.i686-smp
OPENSWANSRCDIR=/usr/src/redhat/BUILD/openswan-2.3.0 ARCH=i386
KLIPSMODULE=true -
f /usr/src/redhat/BUILD/openswan-2.3.0/linux/net/ipsec/defconfig
MODULE_DEF_INCLUDE=/usr/src/redhat/BUILD/openswan-2.3.0/packaging/redhat/config-i686-smp.h TOPDIR=/usr/src/linux-2.4.22-1.2199.nptl -f Makefile ipsec.o
/usr/src/linux-2.4.22-1.2199.nptl/scripts/pathdown.sh: line 4: TOPDIR:
parameter null or not set
make[1]: Entering directory
`/usr/src/redhat/BUILD/openswan-2.3.0/BUILD.i686-smp'
cc  -
include /usr/src/redhat/BUILD/openswan-2.3.0/packaging/redhat/config-
i686-smp.h -O3 -Wall -DIPCOMP_PREFIX -D__KERNEL__ -
I/usr/src/linux-2.4.22-1.2199.nptl/include -Wall -Wstrict-prototypes -
Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -
I/usr/src/redhat/BUILD/openswan-2.3.0/linux/include -
I/usr/src/linux-2.4.22-1.2199.nptl/include  -I -DIPCOMP_PREFIX -
DARCH=i386  -DMODVERSIONS -
include /usr/src/linux-2.4.22-1.2199.nptl/include/linux/modversions.h -
DMODULE -DMODVERSIONS -
include /usr/src/linux-2.4.22-1.2199.nptl/include/linux/modversions.h
-DKBUILD_BASENAME=ipsec_init  -c -o
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"
make[1]: *** [ipsec_init.o] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/openswan-2.3.0/BUILD.i686-smp'
make: *** [module] Error 2
make: Leaving directory `/usr/src/redhat/BUILD/openswan-2.3.0'
error: Bad exit status from /var/tmp/rpm-tmp.76646 (%build)


Any ideas?

Ted



More information about the Users mailing list