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

Paul Wouters paul at xelerance.com
Wed Jul 9 16:26:50 EDT 2008


On Wed, 9 Jul 2008, Tian Yazhou wrote:

> 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.

Did you undef/remove it from linux/net/ipsec/defconfig too? Or specified
your own def?

Paul

> ---------- 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
> 


More information about the Dev mailing list