[Openswan Users] openswan 2.4.12rc3 patch

Jean-Michel Caricand jean-michel.caricand at lifc.univ-fcomte.fr
Mon Mar 3 15:07:45 EST 2008


> On Mon, 3 Mar 2008, Jean-Michel Caricand wrote:
>
>> I used these patchs :
>>
>> http://openswan.org/download/openswan-2.4.12rc3.kernel-2.6-klips.patch.gz
>
> ok
>
>> http://openswan.org/download/openswan-2.4.12rc3.kernel-2.6-natt.patch.gz
>
> Can you please try this one instead:
>
> http://openswan.org/download/openswan-2.4.11.kernel-2.6-natt.patch.gz
>
> Paul
>

I tried with :
- http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2
- http://openswan.org/download/openswan-2.4.11.kernel-2.6-klips.patch.gz
- http://openswan.org/download/openswan-2.4.11.kernel-2.6-natt.patch.gz

I have these errors :

  CC      drivers/pci/pci.o
  LD      net/netlink/built-in.o
  CC      drivers/pci/quirks.o
net/ipv4/udp.c:111:25: error: net/xfrmudp.h: Aucun fichier ou répertoire
de ce type
net/ipv4/udp.c:922: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'xfrm4_rcv_encap_func'
net/ipv4/udp.c:927: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'xfrm4_rcv_encap_func'
net/ipv4/udp.c:929: error: expected ')' before 'func'
net/ipv4/udp.c:945: error: expected ')' before 'func'
net/ipv4/udp.c: In function 'udp_queue_rcv_skb':
net/ipv4/udp.c:1092: error: 'xfrm4_rcv_encap_func' undeclared (first use
in this function)
net/ipv4/udp.c:1092: error: (Each undeclared identifier is reported only once
net/ipv4/udp.c:1092: error: for each function it appears in.)
net/ipv4/udp.c:1094:44: error: macro "UDP_INC_STATS_BH" requires 2
arguments, but only 1 given
net/ipv4/udp.c:1094: error: 'UDP_INC_STATS_BH' undeclared (first use in
this function)
net/ipv4/udp.c:1096:41: error: macro "UDP_INC_STATS_BH" requires 2
arguments, but only 1 given
net/ipv4/udp.c: At top level:
net/ipv4/udp.c:1779: error: 'udp4_register_esp_rcvencap' undeclared here
(not in a function)
net/ipv4/udp.c:1779: warning: type defaults to 'int' in declaration of
'udp4_register_esp_rcvencap'
net/ipv4/udp.c:1780: error: 'udp4_unregister_esp_rcvencap' undeclared here
(not in a function)
net/ipv4/udp.c:1780: warning: type defaults to 'int' in declaration of
'udp4_unregister_esp_rcvencap'
make[3]: *** [net/ipv4/udp.o] Erreur 1
make[2]: *** [net/ipv4] Erreur 2

It's strange. What is the good kernel for openswan patchs (2.4.11 or
2.4.12) ?





More information about the Users mailing list