[Openswan Users] Problem compiling openswan 2.4.14 with Linux 2.6.26

David McCullough David_Mccullough at securecomputing.com
Tue May 26 18:07:42 EDT 2009


Jivin Paul Wouters lays it down ...
> 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.

Yep,  the interface to the nat-t patch changed.  If you can track down a
newer nat-t patch that will also work.  Proabbly the one I posted here a
couple of months back ?

Cheers,
Davidm


> > -- 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
> > .
> >
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan: 
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
> 

-- 
David McCullough,  david_mccullough at securecomputing.com,  Ph:+61 734352815
McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org


More information about the Users mailing list