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

Paul Wouters paul at xelerance.com
Mon Nov 12 10:28:13 EST 2007


On Mon, 12 Nov 2007, Nicole Hähnel wrote:

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

> It works!

Thanks. I've added this check to ipsec_kversion.h. It also warns if
SLE_VERSION_CODE < 655616

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