[Openswan Users] Worrying for making openswan 2.3.1 failed!
Paul Wouters
paul at xelerance.com
Wed Jul 13 17:39:43 CEST 2005
On Wed, 13 Jul 2005, chenfeijie wrote:
> My system is "Red Hat Enterprise Linux AS release 3 (Taroon Update 4)" and result of "uname -r" is: 2.4.21-27.ELsmp.
>
> I get the source code of openswan 2.3.1 named <openswan-2.3.1.tar.gz>, but when I build it using command:
> make KERNELSRC=/usr/src/linux-2.4 programs module
That kernel has an old version of NETKEY already included. Try without using KLIPS (eg do not build 'module')
These kernels are not suitable for compiling KLIPS on.
Paul
> there comes a error described as follows:
> ...........
> Building module for a 2.4 kernel
> make[1]: Entering directory `/usr/src/openswan-2.3.1'
> make[2]: Entering directory `/usr/src/openswan-2.3.1'
> make[2]: `/usr/src/openswan-2.3.1/modobj/Makefile' is up to date.
> make[2]: Leaving directory `/usr/src/openswan-2.3.1'
> make -C /usr/src/openswan-2.3.1/modobj OPENSWANSRCDIR=/usr/src/openswan-2.3.1 ARCH=i386 KLIPSMODULE=true -f /usr/src/openswan-2.3.1/linux/net/ipsec/defconfig MODULE_DEF_INCLUDE=/usr/src/openswan-2.3.1/packaging/linus/config-all.h TOPDIR=/usr/src/linux-2.4 -f Makefile ipsec.o
> /usr/src/linux-2.4/scripts/pathdown.sh: line 4: TOPDIR: parameter null or not set
> make[2]: Entering directory `/usr/src/openswan-2.3.1/modobj'
> cc -include /usr/src/openswan-2.3.1/packaging/linus/config-all.h -O3 -Wall -DIPCOMP_PREFIX -D__KERNEL__ -I/usr/src/linux-2.4.21-27.EL/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-unused -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/openswan-2.3.1/linux/include -I/usr/src/linux-2.4/include -I -DIPCOMP_PREFIX -DARCH=i386 -DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-27.EL/include/linux/modversions.h -DKBUILD_BASENAME=ipsec_init -c -o ipsec_init.o /usr/src/openswan-2.3.1/linux/net/ipsec/ipsec_init.c
> /usr/src/openswan-2.3.1/linux/net/ipsec/ipsec_init.c: In function `openswan_inet_add_protocol':
> /usr/src/openswan-2.3.1/linux/net/ipsec/ipsec_init.c:154: too few arguments to function `inet_add_protocol'
> /usr/src/openswan-2.3.1/linux/net/ipsec/ipsec_init.c: In function `openswan_inet_del_protocol':
> /usr/src/openswan-2.3.1/linux/net/ipsec/ipsec_init.c:161: too few arguments to function `inet_del_protocol'
> make[2]: *** [ipsec_init.o] Error 1
> make[2]: Leaving directory `/usr/src/openswan-2.3.1/modobj'
> make[1]: *** [module24] Error 2
> make[1]: Leaving directory `/usr/src/openswan-2.3.1'
> make: *** [module] Error 2
> -----------------------------------------------------------
>
> What's the meaning?
> and how can I make this source code?
>
> It's so pleased for receiving your solution !!
>
>
> Sincerely Yours
> Jason
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ chen.feijie at softtone.com or fjchen_2002 at 163.com
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ 2005-07-13
>
--
"I am not even supposed to be here today!" -- Clerk
More information about the Users
mailing list