[Openswan Users] Kernel-2.6.27 and nat-t patch

Sasa sasa at shoponweb.it
Wed Jun 24 11:29:01 EDT 2009


Hi, I have applied nat-t patch again but I have a new error when I try to 
kernel compile.
My steps are:

#rpm2cpio kernel-2.6.27.24-170.2.68.fc10.src.rpm | cpio -iv 
kernel-2.6.27-i686.config
#cd linux-2.6.27.24/
#make oldconfig
#make && make modules_install
#cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.27.24-custom
#cp System.map /boot/System.map-2.6.27.24-custom
#cp .config /boot/config-2.6.27.24-custom
#mkinitrd /boot/initrd-2.6.27.24-custom.img 2.6.27.24
#cd /root/linux-2.6.27.24
#patch -p1<../openswan-2.4.x.kernel-2.6.23-natt.patch
#patch -p1<../openswan-2.4.13.kernel-2.6-klips.patch
#make mrproper
#make xconfig (Load di config-2.6.27.24-custom)
 ---> I have loaded Openswan IPSEC (Klips26)
#make oldconfig
#make && make modules_install

..but I have this error:

LD      net/ipsec/built-in.o
  CC [M]  net/ipsec/ipsec_init.o
In file included from net/ipsec/ipsec_init.c:86:
include/openswan/ipsec_esp.h:52: error: expected specifier-qualifier-list 
before 'des_key_schedule'
make[2]: *** [net/ipsec/ipsec_init.o] Error 1
make[1]: *** [net/ipsec] Error 2
make: *** [net] Error 2

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 23, 2009 7:03 PM
Subject: Re: [Openswan Users] Kernel-2.6.27 and nat-t patch


> On Tue, 23 Jun 2009, Sasa wrote:
>
>> ..with openswan-2.4.x.kernel-2.6.23-natt.patch I have this result:
>
>> The next patch would create the file include/net/xfrmudp.h,
>> which already exists!  Assume -R? [n] n
>
> You can't patch ontop of a failed patch. Use a clean tree.
>
> Paul
> 



More information about the Users mailing list