[Openswan Users] Cannot build the module i 2.6.19
David McCullough
David_Mccullough at securecomputing.com
Sat Nov 29 16:41:17 EST 2008
Jivin J. W. Andersen lays it down ...
> When attempting to build the module ipsec.ko in Openswan 2.6.19, I get
> the following error:
>
> In file included from
> /import/openswan/openswan-2.6.19/modobj26/ipsec_init.c:57:
> include/net/ip.h: In function ‘ip_hdrlen’:
> include/net/ip.h:49: error: ‘const struct sk_buff’ has no member named ‘nh’
> make[3]: *** [/import/openswan/openswan-2.6.19/modobj26/ipsec_init.o]
> Error 1
>
> Actual kernel version is 2.6.27.7 (latest and presumably greatest). I
> can build the
> module in Openswan 2.6.18 without any problem with the same kernel.
> Googling
> indicates, that the sk_buff structure has been changed, but that seems
> to be a while
> back, and I have no idea whatsoever, what I can do about it.
>
> Any ideas, anyone ? Any help highly appreciated.
Try the attached patch, should get you going.
Cheers,
Davidm
--
David McCullough, david_mccullough at securecomputing.com, Ph:+61 734352815
Secure Computing - SnapGear http://www.uCdot.org http://www.snapgear.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipsec_kversion.diff
Type: text/x-diff
Size: 1621 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/users/attachments/20081130/50932865/attachment.bin
More information about the Users
mailing list