[Openswan Users] Klips patch

ted leslie tleslie at tcn.net
Thu Mar 23 17:31:09 CET 2006


i just found that, for example,  struct sk_buff in 2.6.14+
is different then in say 2.6.10 ... (list, stamp  fields for example)
so it looks like the Klips patch labelled 2.4.4  can't be applied to
a normal 2.6.14 or higher kernel, i am seeing about 2.6.12 now,

in the comments in the patch, since i saw reference to high 2.6.13
i figured 2.6.14 would be ok, but obviously not.

-tl

On Thu, 23 Mar 2006 16:01:10 -0500
ted leslie <tleslie at tcn.net> wrote:

> i have try to patching a fresh 2.6.14 kernel
> and tried the 2.4.4 open swan klips patch,
> it take fine except for 3 exceptions (detailed below)
> 
> 
> i would assume based on the dates of open swan 2.4.4 
> and linux (straight linus linux  www.kernel.org) 2.6.14
> 
> and comments in the Klips patch 2.4.4 that make refence upto kernel 2.6.14,
> 
> that this patch should take no problem ... but ..
> 
> after patching 
> i then make the kernel and get an error ....
> 
> ..
> ..
> ..
>   CC      net/ipsec/ipsec_proc.o
>   CC      net/ipsec/ipsec_tunnel.o
> net/ipsec/ipsec_tunnel.c: In function ‘ipsec_tunnel_SAlookup’:
> net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
> net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
> net/ipsec/ipsec_tunnel.c:279: error: dereferencing pointer to incomplete type
> net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
> net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
> net/ipsec/ipsec_tunnel.c:280: error: dereferencing pointer to incomplete type
> make[2]: *** [net/ipsec/ipsec_tunnel.o] Error 1
> make[1]: *** [net/ipsec] Error 2
> make: *** [net] Error 2
> 
> so again, i have a virgin linus linux kernel 2.4.14
> a 2.4.4 openswan Klips patch from openswan.org that (based on date, and comments in patch) should
> be directed at the 2.4.14 kernel ....
> 
> and get a compile error on this patched kernel :(
> 
> any one have any suggestions ?
> anyone sucessfully compiled a Klips'd patched kernel .. and if so, what patch did they use against what
> kernel?
> 
> -tl
> 
> 
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan: 
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
> 


More information about the Users mailing list