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

Paul Wouters paul at xelerance.com
Fri Nov 9 12:17:10 EST 2007


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

-- 
Building and integrating Virtual Private Networks with Openswan:
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155


More information about the Users mailing list