[Openswan Users] Compiling Openswan 2.6.19 on RHEL3

Paul Wouters paul at xelerance.com
Mon Dec 1 11:25:26 EST 2008


On Mon, 1 Dec 2008, Felipe Santos - Rasputin wrote:

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

Can you try 2.6.20dr1?

> 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"

That looks very mangled...... odd

Paul


More information about the Users mailing list