[Openswan Users] KLIPS_SATOT error while installing Openswan 2.4.9
Ankit Parikh
anks.capri20 at gmail.com
Wed Aug 22 18:37:30 EDT 2007
I am using RHEL 5 , kernel 2.6.18-8 and openswan 2.4.9. My basic aim is to
integrate OCF and Openswan.
I have integrated ocf and openswan. And it works fine....I have done this
many times since last few days, but today I faced one error while following
the same procedure, which I used to follow before, which I tried to debug
without much success. So, I do the following and then I get the error:
1) export KERNELSRC=/usr/src/kernels/linux-2.6.18.i386
2) make programs
3) make CONFIG_KLIPS_OCF=y install
4) make KERNELSRC=/lib/modules/`uname -r`/build module minstall
After I do the fourth step, I get the following....
[root at localhost openswan-2.4.9]# make KERNELSRC=/lib/modules/`uname
-r`/build module minstall
WARNING: Kernel source /lib/modules/2.6.18-mykernel/build has already been
patched with openswan-2, out of tree build might fail!
Building module for a 2.6 kernel
make[1]: Entering directory `/usr/src/openswan-2.4.9'
make[2]: Entering directory `/usr/src/openswan-2.4.9'
mkdir -p /usr/src/openswan-2.4.9/modobj26
echo ln -s -f /usr/src/openswan-2.4.9/linux/net/ipsec/des/*.S
/usr/src/openswan-2.4.9/modobj26
ln -s -f /usr/src/openswan-2.4.9/linux/net/ipsec/des/dx86unix.S
/usr/src/openswan-2.4.9/modobj26
(rm -f /usr/src/openswan-2.4.9/modobj26/des; mkdir -p /usr/src/openswan-
2.4.9/modobj26/des && cd /usr/src/openswan-2.4.9/modobj26/des && ln -s -f
/usr/src/openswan-2.4.9/linux/net/ipsec/des/* . && ln -s -f
Makefile.fs2_6Makefile)
(rm -f /usr/src/openswan-2.4.9/modobj26/aes; mkdir -p /usr/src/openswan-
2.4.9/modobj26/aes && cd /usr/src/openswan-2.4.9/modobj26/aes && ln -s -f
/usr/src/openswan-2.4.9/linux/net/ipsec/aes/* . && ln -s -f
Makefile.fs2_6Makefile)
mkdir -p /usr/src/openswan-2.4.9/modobj26/aes
cp /usr/src/openswan-2.4.9/packaging/makefiles/module26.make
/usr/src/openswan-2.4.9/modobj26/Makefile
echo "# " >> /usr/src/openswan-2.4.9
/modobj26/Makefile
echo "# Local Variables: " >> /usr/src/openswan-2.4.9
/modobj26/Makefile
echo "# compile-command: \"make -C /usr/src/openswan-2.4.9 ARCH=i386
KERNELSRC=/lib/modules/2.6.18-mykernel/build
MOD26BUILDDIR=/usr/src/openswan-2.4.9/modobj26 module26\"" >>
/usr/src/openswan-2.4.9/modobj26/Makefile
echo "# End: " >> /usr/src/openswan-2.4.9/modobj26/Makefile
ln -s -f /usr/src/openswan-2.4.9/linux/net/ipsec/match*.S /usr/src/openswan-
2.4.9/modobj26
make[2]: Leaving directory `/usr/src/openswan-2.4.9'
make -C /lib/modules/2.6.18-mykernel/build
BUILDDIR=/usr/src/openswan-2.4.9/modobj26
SUBDIRS=/usr/src/openswan-2.4.9/modobj26
MODULE_DEF_INCLUDE=/usr/src/openswan-2.4.9/packaging/linus/config-all.hMODULE_DEFCONFIG=/usr/src/openswan-
2.4.9/linux/net/ipsec/defconfig MODULE_EXTRA_INCLUDE= ARCH=i386 modules
make[2]: Entering directory `/usr/src/kernels/linux-2.6.18.i386'
ln -s -f /usr/src/openswan-2.4.9/linux/net/ipsec/ipsec_init.c
/usr/src/openswan-2.4.9/modobj26/ipsec_init.c
CC [M] /usr/src/openswan-2.4.9/modobj26/ipsec_init.o
ln -s -f /usr/src/openswan-2.4.9/linux/net/ipsec/ipsec_sa.c
/usr/src/openswan-2.4.9/modobj26/ipsec_sa.c
CC [M] /usr/src/openswan-2.4.9/modobj26/ipsec_sa.o
/usr/src/openswan-2.4.9/modobj26/ipsec_sa.c: In function
‘ipsec_sa_getbyid’:
/usr/src/openswan-2.4.9/modobj26/ipsec_sa.c:505: error: implicit declaration
of function ‘KLIPS_SATOT’
make[3]: *** [/usr/src/openswan-2.4.9/modobj26/ipsec_sa.o] Error 1
make[2]: *** [_module_/usr/src/openswan-2.4.9/modobj26] Error 2
make[2]: Leaving directory `/usr/src/kernels/linux-2.6.18.i386'
make[1]: *** [module26] Error 2
make[1]: Leaving directory `/usr/src/openswan-2.4.9'
make: *** [module] Error 2
Sorry, forgot to do export LANG=""C"" and that is why getting some weird
symbols in the output.......too curious to solve the error...
Have you faced this error before?? ..I would appreciate your input and
comments...
Hope to hear from you soon. Thank you.
Thanks
--
Ankit Parikh
MS, Computer Science
University of Southern California
Los Angeles
California
(M) 213.448.9394
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20070822/396a7f9b/attachment.html
More information about the Users
mailing list