<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks a lot for the tips to David_Mccullough an Paul Wouters - will
try it out shortly<br>
<br>
Regards Joern.<br>
------------------------------------------<br>
<br>
David McCullough skrev:
<blockquote cite="mid:20081129214117.GA22758@securecomputing.com"
type="cite">
<pre wrap="">Jivin J. W. Andersen lays it down ...
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
Try the attached patch, should get you going.
Cheers,
Davidm
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Med venlig hilsen
Jørn W. Andersen
Falster System Teknik
Grønsundsvej 330
DK-4871 Horbelev
Tlf: 5449 4444 Fax: 5449 4445
Mail: <a class="moz-txt-link-abbreviated" href="mailto:jwa@fasytek.dk">jwa@fasytek.dk</a></pre>
</body>
</html>