[Openswan Users] Problem building ipsec module on SLES10-SP1

Nicole Hähnel nicole.haehnel at gmx.net
Wed Nov 7 09:57:25 EST 2007


Paul Wouters schrieb:
> On Wed, 7 Nov 2007, Nicole Hähnel wrote:
>
>   
>> I'm trying to build ipsec module on SLES10 SP1 kernel
>> 2.6.16.53-0.16-default.
>> Last version which works is openswan-2.4.7, all others up to 2.4.10 are
>> not working.
>>     
>
>   
>> ln -s -f /usr/src/openswan-2.4.10/linux/net/ipsec/ipsec_rcv.c
>> /usr/src/openswan-2.4.10/modobj26/ipsec_rcv.c
>>   CC [M]  /usr/src/openswan-2.4.10/modobj26/ipsec_rcv.s
>> /usr/src/openswan-2.4.10/modobj26/ipsec_rcv.c: In function 'ipsec_rcv':
>> /usr/src/openswan-2.4.10/modobj26/ipsec_rcv.c:1428: error: too many
>> arguments to function 'skb_linearize'
>>     
>
> skb_linearize is controlled by ./linux/include/openswan/ipsec_kversion.h:
>
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
> #define HAVE_NEW_SKB_LINEARIZE
> #endif
>
> I do notice that the XEN check, which also changes this, is missing, so
> try adding just below there:
>
> /* this is the best we can do to detect XEN, which makes
>  * patches to linux/skbuff.h, making it look like 2.6.18 version
>  */
> #ifdef CONFIG_XEN
> #define HAVE_NEW_SKB_LINEARIZE
> #endif
>
> Paul
>   

Still the same error.

Thanks!
Nicole



More information about the Users mailing list