[Openswan Users] Trouble getting NAT-T patch to work

Jonathan Larsen jon at heartslc.com
Wed Dec 31 09:57:47 EST 2008


I am using Slackware 12.1 for my servers which runs Kernel 2.6.24.5.  I have had no luck with the patch working, just get 6 hunk failures on udp.c.  So i've downloaded kernels directly from kernel.org.  the one i've had the most luck with is 2.6.19.  I am also using openswan 2.6.19.  Patch works fine.  Recompile the kernel, no problem.  go to make module in the openswan dir and i have problems.  Maybe there is a recommended kernel to use?  Below is the compile issues i had with make module.

ln -s -f /usr/src/openswan-2.6.19/linux/net/ipsec/ipsec_xmit.c /usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c

  CC [M]  /usr/src/openswan-2.6.19/modobj26/ipsec_xmit.o

/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c: In function 'ipsec_xmit_esp':

/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:729: warning: implicit declaration of function 'skb_set_transport_header'

/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c: In function 'ipsec_xmit_cont':

/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:1072: warning: implicit declaration of function 'skb_set_network_header'

/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c: In function 'ipsec_xmit_send':

/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2006: warning: passing argument 2 of 'ip_route_output_key' from incompatible pointer type

/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2046: warning: implicit declaration of function 'skb_network_header'

/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2046: error: invalid operands to binary -

/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2053: error: invalid operands to binary -

/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2057: error: invalid operands to binary -

make[3]: *** [/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.o] Error 1

make[2]: *** [_module_/usr/src/openswan-2.6.19/modobj26] Error 2

make[2]: Leaving directory `/usr/src/linux-2.6.19'

make[1]: *** [module26] Error 2

make[1]: Leaving directory `/usr/src/openswan-2.6.19'

make: *** [module] Error 2


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20081231/55c8a280/attachment.html 


More information about the Users mailing list