[Openswan Users] Instrucctions in how to compile in kernel 2.4.x
Oliver Schulze L.
oliver at samera.com.py
Mon May 22 20:19:04 CEST 2006
Hi All,
I'm getting this error now:
make modules
...
make -C edp2 modules
make[2]: Entering directory
`/usr/src/redhat/BUILD/kernel-2.4.21/linux-2.4.21/net/edp2'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory
`/usr/src/redhat/BUILD/kernel-2.4.21/linux-2.4.21/net/edp2'
make -C ipsec modules
make[2]: Entering directory
`/usr/src/redhat/BUILD/kernel-2.4.21/linux-2.4.21/net/ipsec'
gcc -D__KERNEL__
-I/usr/src/redhat/BUILD/kernel-2.4.21/linux-2.4.21/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=i586 -DMODULE -DMODVERSIONS -include
/usr/src/redhat/BUILD/kernel-2.4.21/linux-2.4.21/include/linux/modversions.h
-DIPCOMP_PREFIX -nostdinc -iwithprefix include
-DKBUILD_BASENAME=ipsec_init -c -o ipsec_init.o ipsec_init.c
ipsec_init.c: In function `openswan_inet_add_protocol':
ipsec_init.c:162: too few arguments to function
`inet_add_protocol_Reed77055'
ipsec_init.c: In function `openswan_inet_del_protocol':
ipsec_init.c:169: too few arguments to function
`inet_del_protocol_Re954bc09'
make[2]: *** [ipsec_init.o] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/kernel-2.4.21/linux-2.4.21/net/ipsec'
make[1]: *** [_modsubdir_ipsec] Error 2
make[1]: Leaving directory
`/usr/src/redhat/BUILD/kernel-2.4.21/linux-2.4.21/net'
make: *** [_mod_net] Error 2
I have applied the klips patch to the redhat kernel, after doing a:
rpmbuild -bp --target=i586 kernel-2.4.spec
make bzImage works fine, the problem seems to be in the ipsec module.
Many thanks
Oliver
--
Oliver Schulze L.
<oliver at samera.com.py>
More information about the Users
mailing list