[Openswan Users] Kernel Error was:[Re: Kernel-2.6.27 and nat-t patch]
Sasa
sasa at shoponweb.it
Mon Jun 29 11:21:49 EDT 2009
Hi, I have tried with openswan.2.4.15 with kernel-2.6.27 but I have the same
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
What kernel and osw version I can use for my purpose with nat-t, klips and
xl2tp ??
Thanks.
------
Salvatore.
----- Original Message -----
From: "Paul Wouters" <paul at xelerance.com>
To: "Sasa" <sasa at shoponweb.it>
Cc: <users at openswan.org>
Sent: Friday, June 26, 2009 5:58 PM
Subject: Re: Kernel Error was:[Re: [Openswan Users] Kernel-2.6.27 and nat-t
patch]
> On Fri, 26 Jun 2009, Sasa wrote:
>
>> Hi, I have find on web there is bug with Debian
>> (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522112) but I haven't
>> find a solution for this problem (I use fedora core 10 with kernel
>> 2.6.27).
>
> compiling openswan 2.6.22 should work on any kernel upto 2.6.30. It will
> probably take some time to get it to work on 2.6.31, due to massive API
> changes http://patchwork.ozlabs.org/patch/27566/
>
> Paul
>
>>
>> ------
>>
>> Salvatore.
>>
>>
>>
>> ----- Original Message ----- From: "Sasa" <sasa at shoponweb.it>
>> To: "Paul Wouters" <paul at xelerance.com>
>> Cc: <users at openswan.org>
>> Sent: Wednesday, June 24, 2009 5:29 PM
>> Subject: Re: [Openswan Users] Kernel-2.6.27 and nat-t patch
>>
>>
>>> 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
>>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>
More information about the Users
mailing list