[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem building freeswan modules



Hi all.

I use stable (woody), kernel source 2.4.19 and 2.4.20
I applied kernel-patch-freeswan/stable uptodate 1.96-1.4 on my system.
I try to build a kernel with the following kommand:

make-kpkg --added-patches freeswan kernel_image kernel_headers

My /etc/kernel-pkg.conf:
patch_the_kernel := YES
config_target=menuconfig

I select the ipsec modules in menuconfig, but they do not build.I end up
with no ipsec modules in my kernel image. In kernel-headers they show up
ok.

I've tried everything i know of, that includes reading documentation,
and searching google. Im going crazy. Can someone suggest something??

By chance i saw the ipsec entries as the kernel was built. I saw the
following text (some of it):



m -f zlib.a
ar  rcs zlib.a adler32.o deflate.o infblock.o infcodes.o inffast.o
inflate.o inftrees.o infutil.o trees.o zutil.o match586.o
make[5]: Leaving directory `/usr/local/src/linux-2.4.20/net/ipsec/zlib'
make[4]: Leaving directory `/usr/local/src/linux-2.4.20/net/ipsec/zlib'
/usr/bin/make all_targets
make[4]: Entering directory `/usr/local/src/linux-2.4.20/net/ipsec'
gcc -D__KERNEL__ -I/usr/local/src/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
-Ilibfreeswan -Ilibdes  -Wall -Wpointer-arith  -Wstrict-prototypes
-nostdinc -iwithprefix include -DKBUILD_BASENAME=ipsec_init  -c -o
ipsec_init.o ipsec_init.c
gcc -D__KERNEL__ -I/usr/local/src/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
-Ilibfreeswan -Ilibdes  -Wall -Wpointer-arith  -Wstrict-prototypes
-nostdinc -iwithprefix include -DKBUILD_BASENAME=ipsec_sa  -c -o
ipsec_sa.o ipsec_sa.c


2_parser  -c -o pfkey_v2_parser.o pfkey_v2_parser.c
gcc -D__KERNEL__ -I/usr/local/src/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
-Ilibfreeswan -Ilibdes  -Wall -Wpointer-arith  -Wstrict-prototypes
-nostdinc -iwithprefix include -DKBUILD_BASENAME=ipsec_ext
-DEXPORT_SYMTAB -c ipsec_ext.c
In file included from ipsec_ext.c:45:
ipsec_param.h:64: warning: `snprintf' redefined
/usr/local/src/linux-2.4.20/include/linux/modules/ksyms.ver:642:
warning: this is the location of the previous definition
:





Reply to: