[Openswan Users] Problem compiling openswan 2.4.14 with Linux 2.6.26

Paul Wouters paul at xelerance.com
Tue May 26 13:08:56 EDT 2009


On Tue, 26 May 2009, Isaac Aaron wrote:

> But I did write that I tried compiling 2.6.21

Try 2.6.22dr2, or wait for 2.6.22 final, which should have a very
different nat-t code that requires no patch to udp.c. It looks like
this is what you are running into.

Paul

> -- Quote
> I also tried using openswan 2.6.21, but got another error:
> make KERNELSRC=/usr/src/2.6.26/linux-2.6.26.5/ module
>  CC [M]  /usr/src/2.6.26/openswan-2.6.21/modobj26/ipsec_init.o
> /usr/src/2.6.26/openswan-2.6.21/modobj26/ipsec_init.c: In function
> 'ipsec_cleanup':
> /usr/src/2.6.26/openswan-2.6.21/modobj26/ipsec_init.c:363: error: too many
> arguments to function 'udp4_unregister_esp_rcvencap'
> -- Unquote
>
> Isaac Aaron
>
>
> -----Original Message-----
> From: Paul Wouters [mailto:paul at xelerance.com]
> Sent: Tuesday, May 26, 2009 5:11 PM
> To: Isaac Aaron
> Cc: users at openswan.org
> Subject: Re: [Openswan Users] Problem compiling openswan 2.4.14 with Linux
> 2.6.26
>
>
> On Tue, 26 May 2009, Isaac Aaron wrote:
>
>> I am trying to compile openswan 2.4.14 with Linux 2.6.26, but receive
>> the
>> following:
>
> You will need to use openswan-2.6.x for such recent kernels. You *might* get
> away by copying a ipsec_kversion.h from 2.6.x to the 2.4.14 tree, but there
> is a big chance that will not be enough.
>
> Paul
>
> .
> .
> DISCLAIMER: This mail message was scanned for malicious content by Quality Bytes Mail Security when leaving the gateway of Quality Bytes
> http://qb.q-bytes.com/qbms/?c=qb
> .
>


More information about the Users mailing list