[Openswan Users] Compiling Openswan 2.6.19 on RHEL3

Felipe Santos - Rasputin felipe.nix at gmail.com
Mon Dec 1 08:49:45 EST 2008


Hi guys, I have a little problem and need help...

i'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...

the requirements are installed:

flex
bison
gawk
gmp and gmp devel..

flex-2.5.4a-29
bison-1.875c-2.EL
gmp-4.1.2-5
gmp-devel-4.1.2-5
gawk-3.1.1-9

The error logs during compiling is that...

In file included from
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:55:
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/ipsec_doi.h:118:
warning: duplicate `const'
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1440:1:
directives may not be used inside a macro argument
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1438:32:
unterminated argument list invoking macro "DBG"
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c: In
function `add_connection':
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1455:
`DBG' undeclared (first use in this function)
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1455:
(Each undeclared identifier is reported only once
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1455:
for each function it appears in.)
/home/felipe/RPM/BUILD/openswan-2.6.18/programs/pluto/connections.c:1455:
syntax error before "openswan_DBG_log"
make[3]: ** [connections.o] Erro 1
make[3]: Saindo do diret�rio
`/home/felipe/RPM/BUILD/openswan-2.6.18/OBJ.linux.i386/programs/pluto'
make[2]: ** [programs] Erro 1
make[2]: Saindo do diret�rio
`/home/felipe/RPM/BUILD/openswan-2.6.18/OBJ.linux.i386/programs'
make[1]: ** [programs] Erro 1
make[1]: Saindo do diret�rio
`/home/felipe/RPM/BUILD/openswan-2.6.18/OBJ.linux.i386'
make: ** [programs] Erro 2


i'm using kernel 2.6.23.16/ and using a compilation with klips modules...




#========================#
   Felipe Santos '<\( Rasputin )/>'
   E-mail/Gtalk: felipe.nix at gmail.com
   MSN: flph2 at hotmail.com
   Comunidade Openswan-BR
   www.br.openswan.org
#========================#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20081201/7f37ecd0/attachment.html 


More information about the Users mailing list