[Openswan Users] KLIPS compile problems with kernel 2.6.28.1
Sergio Cioban Filho
cioban at gmail.com
Thu Jan 29 07:09:55 EST 2009
Hi all,
I'm trying to compile openswan with KLIPS on CentOS 5.2 with kernel
2.6.28.1, but I have problems.
With openswan-2.4.13, I got this problem:
*make[2]: Entrando no diretório `/usr/src/linux-2.6.28.1'
CC [M] /usr/src/redhat/BUILD/openswan-2.4.13/modobj26/ipsec_init.o
In file included from
/usr/src/redhat/BUILD/openswan-2.4.13/modobj26/ipsec_init.c:85:
/usr/src/redhat/BUILD/openswan-2.4.13/linux/include/openswan/ipsec_esp.h:52:
error: expected specifier-qualifier-list before 'des_key_schedule'
/usr/src/redhat/BUILD/openswan-2.4.13/modobj26/ipsec_init.c: In function
'ipsec_cleanup':
/usr/src/redhat/BUILD/openswan-2.4.13/modobj26/ipsec_init.c:274: error: too
few arguments to function 'udp4_unregister_esp_rcvencap'
make[3]: ** [/usr/src/redhat/BUILD/openswan-2.4.13/modobj26/ipsec_init.o]
Erro 1
make[2]: ** [_module_/usr/src/redhat/BUILD/openswan-2.4.13/modobj26] Erro 2
make[2]: Saindo do diretório `/usr/src/linux-2.6.28.1'
make[1]: ** [module26] Erro 2
make[1]: Saindo do diretório `/usr/src/redhat/BUILD/openswan-2.4.13'
make: ** [module] Erro 2*
With openswan-2.6.19, I got this problem:
*make[2]: Entrando no diretório `/usr/src/linux-2.6.28.1'
CC [M] /usr/src/openswan-2.6.19/modobj26/ipsec_init.o
In file included from /usr/src/openswan-2.6.19/modobj26/ipsec_init.c:57:
include/net/ip.h: In function 'ip_hdrlen':
include/net/ip.h:50: error: 'const struct sk_buff' has no member named 'nh'
/usr/src/openswan-2.6.19/modobj26/ipsec_init.c: In function 'ipsec_cleanup':
/usr/src/openswan-2.6.19/modobj26/ipsec_init.c:360: error: too few arguments
to function 'udp4_unregister_esp_rcvencap'
make[3]: ** [/usr/src/openswan-2.6.19/modobj26/ipsec_init.o] Erro 1
make[2]: ** [_module_/usr/src/openswan-2.6.19/modobj26] Erro 2
make[2]: Saindo do diretório `/usr/src/linux-2.6.28.1'
make[1]: ** [module26] Erro 2
make[1]: Saindo do diretório `/usr/src/openswan-2.6.19'
make: ** [module] Erro 2
*
I'm trying to compile with *make KERNELSRC=/usr/src/linux-2.6.28.1/
programs module*
Thanks,
Regards,
---
Sérgio Cioban Filho
| Tecnólogo em Gestão de TI
| Linux Professional Institute Certified - Level 1
------------------------------------------------------------
| Linux - Servidores - Firewall - VPN
| Virtualização - VoIP - ShellScript - C - PHP
| http://cioban.googlepages.com
| +55 48 9989-8733
------------------------------------------------------------
..:: Seja livre, use LiNuX!! ::..
------------------------------------------------------------
Vendo GOL G3 PLUS 1.0 8V 4P 2002 - Branco - COMPLETÍSSIMO - R$ 19.500
http://cioban.googlepages.com/vendogolg38v
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20090129/fbaf046e/attachment.html
More information about the Users
mailing list