<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>Trouble getting NAT-T patch to work</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>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.<BR>
<BR>
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<BR>
<BR>
CC [M] /usr/src/openswan-2.6.19/modobj26/ipsec_xmit.o<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c: In function 'ipsec_xmit_esp':<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:729: warning: implicit declaration of function 'skb_set_transport_header'<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c: In function 'ipsec_xmit_cont':<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:1072: warning: implicit declaration of function 'skb_set_network_header'<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c: In function 'ipsec_xmit_send':<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2006: warning: passing argument 2 of 'ip_route_output_key' from incompatible pointer type<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2046: warning: implicit declaration of function 'skb_network_header'<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2046: error: invalid operands to binary -<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2053: error: invalid operands to binary -<BR>
<BR>
/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.c:2057: error: invalid operands to binary -<BR>
<BR>
make[3]: *** [/usr/src/openswan-2.6.19/modobj26/ipsec_xmit.o] Error 1<BR>
<BR>
make[2]: *** [_module_/usr/src/openswan-2.6.19/modobj26] Error 2<BR>
<BR>
make[2]: Leaving directory `/usr/src/linux-2.6.19'<BR>
<BR>
make[1]: *** [module26] Error 2<BR>
<BR>
make[1]: Leaving directory `/usr/src/openswan-2.6.19'<BR>
<BR>
make: *** [module] Error 2<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>