Hi all,<br><br>I'm trying to compile openswan with KLIPS on CentOS 5.2 with kernel 2.6.28.1, but I have problems.<br><br>With openswan-2.4.13, I got this problem:<br><i>make[2]: Entrando no diretório `/usr/src/linux-2.6.28.1'<br>
CC [M] /usr/src/redhat/BUILD/openswan-2.4.13/modobj26/ipsec_init.o<br>In file included from /usr/src/redhat/BUILD/openswan-2.4.13/modobj26/ipsec_init.c:85:<br>/usr/src/redhat/BUILD/openswan-2.4.13/linux/include/openswan/ipsec_esp.h:52: error: expected specifier-qualifier-list before 'des_key_schedule'<br>
/usr/src/redhat/BUILD/openswan-2.4.13/modobj26/ipsec_init.c: In function 'ipsec_cleanup':<br>/usr/src/redhat/BUILD/openswan-2.4.13/modobj26/ipsec_init.c:274: error: too few arguments to function 'udp4_unregister_esp_rcvencap'<br>
make[3]: ** [/usr/src/redhat/BUILD/openswan-2.4.13/modobj26/ipsec_init.o] Erro 1<br>make[2]: ** [_module_/usr/src/redhat/BUILD/openswan-2.4.13/modobj26] Erro 2<br>make[2]: Saindo do diretório `/usr/src/linux-2.6.28.1'<br>
make[1]: ** [module26] Erro 2<br>make[1]: Saindo do diretório `/usr/src/redhat/BUILD/openswan-2.4.13'<br>make: ** [module] Erro 2</i><br> <br><br><br>With openswan-2.6.19, I got this problem:<br><i>make[2]: Entrando no diretório `/usr/src/linux-2.6.28.1'<br>
CC [M] /usr/src/openswan-2.6.19/modobj26/ipsec_init.o<br>In file included from /usr/src/openswan-2.6.19/modobj26/ipsec_init.c:57:<br>include/net/ip.h: In function 'ip_hdrlen':<br>include/net/ip.h:50: error: 'const struct sk_buff' has no member named 'nh'<br>
/usr/src/openswan-2.6.19/modobj26/ipsec_init.c: In function 'ipsec_cleanup':<br>/usr/src/openswan-2.6.19/modobj26/ipsec_init.c:360: error: too few arguments to function 'udp4_unregister_esp_rcvencap'<br>make[3]: ** [/usr/src/openswan-2.6.19/modobj26/ipsec_init.o] Erro 1<br>
make[2]: ** [_module_/usr/src/openswan-2.6.19/modobj26] Erro 2<br>make[2]: Saindo do diretório `/usr/src/linux-2.6.28.1'<br>make[1]: ** [module26] Erro 2<br>make[1]: Saindo do diretório `/usr/src/openswan-2.6.19'<br>
make: ** [module] Erro 2<br></i><br><br>I'm trying to compile with <i>make KERNELSRC=/usr/src/linux-2.6.28.1/ programs module</i> <br><br><br><br>Thanks,<br>Regards,<br clear="all">---<br>Sérgio Cioban Filho <br>| Tecnólogo em Gestão de TI<br>
| Linux Professional Institute Certified - Level 1<br>------------------------------------------------------------<br>| Linux - Servidores - Firewall - VPN<br>| Virtualização - VoIP - ShellScript - C - PHP <br>| <a href="http://cioban.googlepages.com">http://cioban.googlepages.com</a><br>
| +55 48 9989-8733<br>------------------------------------------------------------<br>..:: Seja livre, use LiNuX!! ::..<br>------------------------------------------------------------<br>Vendo GOL G3 PLUS 1.0 8V 4P 2002 - Branco - COMPLETÍSSIMO - R$ 19.500<br>
<a href="http://cioban.googlepages.com/vendogolg38v">http://cioban.googlepages.com/vendogolg38v</a><br>