[Openswan Users] Cannot build the module i 2.6.19

J. W. Andersen jwa at fasytek.dk
Sat Nov 29 15:16:34 EST 2008


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.

Regards, Joern.

-- 
Med venlig hilsen

Jørn W. Andersen
Falster System Teknik
Grønsundsvej 330
DK-4871 Horbelev
Tlf: 5449 4444   Fax: 5449 4445
Mail:   jwa at fasytek.dk



More information about the Users mailing list