[Openswan Users] Suse 10.0 Kernel 2.6.13-15 / openswan-2.4.7.rc2 failure in compiling KLIPS as LKM

armin schaefer armin.schaefer1 at freenet.de
Thu Nov 2 02:56:07 EST 2006


Thanks to all for your response, 

yes i first installed the  openswan-ipsec-natt.patch, now i tried it again, and had a closer look at the messages: 

During patching i got the following message: 

patching file net/ipv4/udp.c
Hunk #1 FAILED at 108
Hunk #2 succeeded at 896
Hunk #3 succeeded at 939

snipp

Hunk #9 succeeded at 1617

1 out of  9 hunks Failed --saving rejects to file net/ipv4/udp.c.rej




and here is udp.c.rej:
***************
*** 108,118 ****

#include <net/inet_common.h>

#include <net/checksum.h>

#include <net/xfrm.h>

/*

* Snmp MIB for the UDP layer

*/

DEFINE_SNMP_STAT(struct udp_mib, udp_statistics) __read_mostly;


struct hlist_head udp_hash[UDP_HTABLE_SIZE];

--- 108,121 ----

#include <net/inet_common.h>

#include <net/checksum.h>

#include <net/xfrm.h>

+ #include <net/xfrmudp.h>


/*

* Snmp MIB for the UDP layer

*/


+ static xfrm4_rcv_encap_t xfrm4_rcv_encap_func;

+ 

DEFINE_SNMP_STAT(struct udp_mib, udp_statistics) __read_mostly;


struct hlist_head udp_hash[UDP_HTABLE_SIZE];



Thanks a lot 

Armin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20061102/75d675f1/attachment.html 


More information about the Users mailing list