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

Nicole Hähnel nicole.haehnel at gmx.net
Mon Nov 12 03:02:39 EST 2007


Paul Wouters schrieb:
> On Fri, 9 Nov 2007, Nicole Hähnel wrote:
>
>   
>>>>> What if you just unconditionaly define HAVE_NEW_SKB_LINEARIZE?
>>>>>           
>
>   
>>> Is there any way we can recognise such SuSe kernel? Some CONFIG_
>>> option? So we can set this when we detect that kind of kernel?
>>>       
>
>   
>> I don't know much about kernel sources...
>>
>> Is this any help?
>>
>> version.h:
>> #define UTS_RELEASE "2.6.16.53-0.16-default"
>> #define LINUX_VERSION_CODE 132624
>> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
>> #define SLE_VERSION_CODE 655616
>> #define SLE_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
>>     
>
> Can you the following:
>
> #ifdef SLE_VERSION_CODE
> #define HAVE_NEW_SKB_LINEARIZE
> #endif
>
> Instead of the "unconditional define" and tell me if it then still
> compiles?
>
> Paul
>
>   


It works!

Nicole


More information about the Users mailing list