[Openswan Users] unkown symbol ipsec_nat_encap while insert ipsec.ko

Tian Yazhou phio.asia at gmail.com
Mon Jul 7 05:21:25 EDT 2008

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

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/users/attachments/20080707/f4158263/attachment.html 

More information about the Users mailing list