[Openswan Users] Cannot build the module i 2.6.19

J. W. Andersen jwa at fasytek.dk
Wed Dec 3 10:57:35 EST 2008


Thanks a lot for the tips to David_Mccullough an Paul Wouters - will try 
it out shortly

Regards Joern.
------------------------------------------

David McCullough skrev:
> 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
>
>   

-- 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20081203/98ab8439/attachment.html 


More information about the Users mailing list