[Openswan Users] Kernel Error was:[Re: Kernel-2.6.27 and nat-t patch]
Sasa
sasa at shoponweb.it
Tue Jun 30 12:35:40 EDT 2009
I am sorry but I have an error when I execute:
#make module26
make[1]: Entering directory `/root/linux-2.6.27.5'
ln -s -f /root/openswan-2.6.22/linux/net/ipsec/ipsec_init.c
/root/openswan-2.6.22/modobj26/ipsec_init.c
CC [M] /root/openswan-2.6.22/modobj26/ipsec_init.o
/root/openswan-2.6.22/modobj26/ipsec_init.c: In function 'ipsec_cleanup':
/root/openswan-2.6.22/modobj26/ipsec_init.c:364: error: too many arguments
to function 'udp4_unregister_esp_rcvencap'
make[2]: *** [/root/openswan-2.6.22/modobj26/ipsec_init.o] Error 1
make[1]: *** [_module_/root/openswan-2.6.22/modobj26] Error 2
make[1]: Leaving directory `/root/linux-2.6.27.5'
make: *** [module26] Error 2
...pheraps I have make an error ??
Thanks.
------
Salvatore.
----- Original Message -----
From: "Paul Wouters" <paul at xelerance.com>
To: "Sasa" <sasa at shoponweb.it>
Cc: <users at openswan.org>
Sent: Tuesday, June 30, 2009 6:25 PM
Subject: Re: Kernel Error was:[Re: [Openswan Users] Kernel-2.6.27 and nat-t
patch]
> On Tue, 30 Jun 2009, Sasa wrote:
>
>> "Paul Wouters" wrote:
>>> You could:
>>> - use the old style nat-t patch to patch 2.6.27 kernel and recompile
>>> - use KLIPS from openswan 2.6.22 that should work with 2.6.27
>>> - use userland from openswan 2.4.15 that should work with klips from
>>> 2.6.x
>>
>> I am sorry but I have confusion about steps required for to complete
>> installation.
>> For nat-t patch I use:
>> openswan-2.4.x.kernel-2.6.23-natt.patch
>> and after this installation I enable NAT-T (with make xconfig) and
>> recompile kernel.
>> Then I install openswan 2.6.22 in this mode:
>>
>> #tar -zxvf openswan-2.6.22.tar.gz
>> #cd /root/openswan-2.6.22
>> #export KERNELSRC=/lib/modules/'uname -r'/build
>> #make module26
>> #make minstall26
>> #depmod -a
>> #modprobe ipsec
>
> cd ..
> tar zxvf openswan-2.4.15.tar.gz
> cd openswan-2.4.15
>
>> #make programs
>> #make install
>> #ipsec --version
>
> Paul
>
More information about the Users
mailing list