Hi guys, I have a little problem and need help...<br><br>i&#39;m try to compile Openswan 2.6.18 and 2.6.19 on a Reh Hat Enterprise Linux 3, but it does not work, the same compilation in other linux 2.6 work sucessful, but on RHEL not...<br>
<br>the requirements are installed:<br><br>flex<br>bison<br>gawk<br>gmp and gmp devel..<br><br>flex-2.5.4a-29<br>bison-1.875c-2.EL<br>gmp-4.1.2-5<br>gmp-devel-4.1.2-5<br>gawk-3.1.1-9<br><br>The error logs during compiling is that...<br>
<br>In file included from /home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:55:<br>/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/ipsec_doi.h:118: warning: duplicate `const&#39;<br>/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1440:1: directives may not be used inside a macro argument<br>
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1438:32: unterminated argument list invoking macro &quot;DBG&quot;<br>/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c: In function `add_connection&#39;:<br>
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1455: `DBG&#39; undeclared (first use in this function)<br>/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1455: (Each undeclared identifier is reported only once<br>
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1455: for each function it appears in.)<br>/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1455: syntax error before &quot;openswan_DBG_log&quot;<br>
make[3]: ** [connections.o] Erro 1<br>make[3]: Saindo do diret�rio `/home/felipe/RPM/BUILD/openswan-2.6.18/OBJ.linux.i386/programs/pluto&#39;<br>make[2]: ** [programs] Erro 1<br>make[2]: Saindo do diret�rio `/home/felipe/RPM/BUILD/openswan-2.6.18/OBJ.linux.i386/programs&#39;<br>
make[1]: ** [programs] Erro 1<br>make[1]: Saindo do diret�rio `/home/felipe/RPM/BUILD/openswan-2.6.18/OBJ.linux.i386&#39;<br>make: ** [programs] Erro 2<br><br><br>i&#39;m using kernel <a href="http://2.6.23.16/">2.6.23.16/</a> and using a compilation with klips modules...<br>
<br><br><br><br clear="all">#========================#<br> &nbsp; &nbsp;Felipe Santos &#39;&lt;\( Rasputin )/&gt;&#39; &nbsp; <br> &nbsp; &nbsp;E-mail/Gtalk: <a href="mailto:felipe.nix@gmail.com">felipe.nix@gmail.com</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br> &nbsp; &nbsp;MSN: <a href="mailto:flph2@hotmail.com">flph2@hotmail.com</a><br>
 &nbsp; &nbsp;Comunidade Openswan-BR<br> &nbsp; &nbsp;<a href="http://www.br.openswan.org">www.br.openswan.org</a><br>#========================#<br>