[Openswan Users] Openswan on mips-linux
Sumedh Degaonkar
dsumedh at gmail.com
Thu Jan 19 12:01:36 CET 2006
Hi Paul!
thanks for ur prompt reply..i compiled gmp for mips and make programs
install worked well creating all the userland stuff.
However, when i want to build the kernel module..i get the foloowing error.
That is due to the redeclaration of NET_IPSEC_DEBUG_PFKEY. It has different
values in both files. What should i do in this case. **I can fix this one by
hardcoding it to same value, but the problem is that after this im sure
there will be many many such errors im gona get**
Frees/wan had some way to patch the kernel sources, but that hadnt worked
well too...
please help me out with this one
Thanks :)
====
[root at blramz04 openswan-2.4.4]# make
KERNELSRC=/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20
module minstall
Building module for a 2.4 kernel
make[1]: Entering directory `/root/sumedh/openswan/openswan-2.4.4'
make[2]: Entering directory `/root/sumedh/openswan/openswan-2.4.4'
make[2]: `/root/sumedh/openswan/openswan-2.4.4/modobj/Makefile' is up to
date.
make[2]: Leaving directory `/root/sumedh/openswan/openswan-2.4.4'
make -C /root/sumedh/openswan/openswan-2.4.4/modobj
OPENSWANSRCDIR=/root/sumedh/openswan/openswan-2.4.4 ARCH=mips
KLIPSMODULE=true -f
/root/sumedh/openswan/openswan-2.4.4/linux/net/ipsec/defconfig
MODULE_DEF_INCLUDE=/root/sumedh/openswan/openswan-2.4.4
/packaging/linus/config-all.hTOPDIR=/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20
-f
Makefile ipsec.o
/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20/scripts/pathdown.sh:
line 4: TOPDIR: parameter null or not set
make[2]: Entering directory `/root/sumedh/openswan/openswan-2.4.4/modobj'
/opt/uclibc_mips-toolchain/gcc-3.3.x/toolchain_mips/bin/mips-linux-gcc
-include /root/sumedh/openswan/openswan-2.4.4/packaging/linus/config-all.h-O3
-Wall -DIPCOMP_PREFIX -D__KERNEL__
-I/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -DCONFIG_IFX_ALG_QOS -DIFX_SIP_ALG_REGISTRATION_FIX
-fomit-frame-pointer -DIFX_PPPOE_FRAME -I
/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20/include/asm/gcc
-G 0 -mno-abicalls -fno-pic -pipe -mtune=4kc -mips32 -Wa,--trap
-I/root/sumedh/openswan/openswan-2.4.4/linux/include
-I/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20/include
-I -DIPCOMP_PREFIX -DARCH=mips -DMODVERSIONS -include
/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20/include/linux/modversions.h
-DMODULE -mlong-calls -DKBUILD_BASENAME=sysctl_net_ipsec -c -o
sysctl_net_ipsec.o /root/sumedh/openswan/openswan-2.4.4
/linux/net/ipsec/sysctl_net_ipsec.c
/root/sumedh/openswan/openswan-2.4.4/linux/net/ipsec/sysctl_net_ipsec.c:64:
error: conflicting types for `NET_IPSEC_DEBUG_PFKEY'
/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20/include/linux/sysctl.h:442:
error: previous declaration of `NET_IPSEC_DEBUG_PFKEY'
make[2]: *** [sysctl_net_ipsec.o] Error 1
make[2]: Leaving directory `/root/sumedh/openswan/openswan-2.4.4/modobj'
make[1]: *** [module24] Error 2
make[1]: Leaving directory `/root/sumedh/openswan/openswan-2.4.4'
make: *** [module] Error 2
====
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20060119/50ccd807/attachment-0001.htm
More information about the Users
mailing list