<div>Hi Paul!</div>
<div>thanks for ur prompt reply..i compiled gmp for mips and make programs install worked well creating all the userland stuff.</div>
<div>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**
</div>
<div>Frees/wan had some way to patch the kernel sources, but that hadnt worked well too...</div>
<div>please help me out with this one</div>
<div>Thanks :)</div>
<div> </div>
<div>====</div>
<div>[root@blramz04 openswan-2.4.4]# make KERNELSRC=/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20 module minstall<br>Building module for a 2.4 kernel<br>make[1]: Entering directory `/root/sumedh/openswan/openswan-
2.4.4'<br>make[2]: Entering directory `/root/sumedh/openswan/openswan-2.4.4'<br>make[2]: `/root/sumedh/openswan/openswan-2.4.4/modobj/Makefile' is up to date.<br>make[2]: Leaving directory `/root/sumedh/openswan/openswan-
2.4.4'<br>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.h TOPDIR=/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20 -f Makefile ipsec.o<br>/root/sumedh/vobs/comac_lsb/source/kernel/opensource/linux_2_4_20/scripts/pathdown.sh: line 4: TOPDIR: parameter null or not set
<br>make[2]: Entering directory `/root/sumedh/openswan/openswan-2.4.4/modobj'<br>/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<br>/root/sumedh/openswan/openswan-2.4.4/linux/net/ipsec/sysctl_net_ipsec.c:64: error: conflicting types for `NET_IPSEC_DEBUG_PFKEY'<br>/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'
<br>make[2]: *** [sysctl_net_ipsec.o] Error 1<br>make[2]: Leaving directory `/root/sumedh/openswan/openswan-2.4.4/modobj'<br>make[1]: *** [module24] Error 2<br>make[1]: Leaving directory `/root/sumedh/openswan/openswan-2.4.4
'<br>make: *** [module] Error 2</div>
<div>====<br> </div>