[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- | cpio -iv 
#cd linux-
#make oldconfig
#make && make modules_install
#cp arch/i386/boot/bzImage /boot/vmlinuz-
#cp System.map /boot/System.map-
#cp .config /boot/config-
#mkinitrd /boot/initrd-
#cd /root/linux-
#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-
 ---> 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




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