[Openswan dev] Fwd: unkown symbol ipsec_nat_encap while insert ipsec.ko

Tian Yazhou phio.asia at gmail.com
Wed Jul 9 08:17:01 EDT 2008


I've sent this message to users mail list for several days but receive no
reponse. Sorry to post it again here, I just have no more time to
investigate this problem.

---------- Forwarded message ----------
From: Tian Yazhou <phio.asia at gmail.com>
Date: Mon, Jul 7, 2008 at 5:21 PM
Subject: unkown symbol ipsec_nat_encap while insert ipsec.ko
To: users at openswan.org


I'm trying to use 2.6.14 version OpenS/WAN under a Fedora 3 box with a
2.6.9-1.667 kernel, using KLIPS.

At first when i compiled it, 'make' complained about unavailability of
spinlock_typs.h. I solved this simply by commenting out the #define
NEED_SPINLOCK_TYPES in line 116 of ipsec_keversion.h.
then, I could compile and install the ipsec kernel module successfully. But
while I wanted to insert this module into the current kernel, modprobe
paniced about 'unkown symbol'. dmesg told me it's caused by ipsec_nat_encap.


It seems that 'ipsec_nat_encap' is about NAT-T, but after I undef
CONFIG_IPSEC_NAT_TRAVERSAL in config-all.h and config-all.hmodules, it still
failed because some assembly code call ipsec_nat_encap.

I'm sure I must missed something, could some one help me on this? Thanks a
lot.

-- 
Dream as if you'll live forever; Live as if you'll die today. - James Dean



-- 
Dream as if you'll live forever; Live as if you'll die today. - James Dean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/dev/attachments/20080709/a782d846/attachment.html 


More information about the Dev mailing list