[Openswan Users] CVS tree: Impossible to disable AGGRESSIVE mode

Jorge Daniel Sequeira Matias martin at andorinha.ist.utl.pt
Wed Jun 1 16:45:24 CEST 2005


  Hello everyone,

  I have tried to compile Openswan from the CVS tree, but it aborts the 
compilation if the AGGRESSIVE mode is set to "false" in the Makefile.inc. I 
have the following error:

cc  -I/usr/src/openswan-cvs/openswan-2/programs/pluto/linux26 
-I/usr/src/openswan-cvs/openswan-2/include 
-I/usr/src/openswan-cvs/openswan-2/linux/include    -DPLUTO_SENDS_VENDORID 
-DUSE_KEYRR   -DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES  
-DX509_VERSION=\"X.509-1.5.4\"   -DPLUTO -DKLIPS -DDEBUG -DGCC_LINT -DIKE_ALG 
-DKERNEL_ALG -DDB_CONTEXT  -DXAUTH -DMODECFG  -DNAT_TRAVERSAL -DVIRTUAL_IP  
-DI_KNOW_TRANSPORT_MODE_HAS_SECURITY_CONCERN_BUT_I_WANT_IT     
-DSHARED_SECRETS_FILE=\"/etc/ipsec.secrets\" 
-DPOLICYGROUPSDIR=\"/etc/ipsec.d/policies\" 
-DPERPEERLOGDIR=\"/var/log/pluto/peer\" -g -Wall -W -Wmissing-prototypes 
-Wpointer-arith-Wbad-function-cast -Wcast-qual -Wmissing-declarations 
-Wwrite-strings -Wstrict-prototypes  -c keys.c
keys.c: In function `get_secret':
keys.c:423: error: `AGGRESSIVE' undeclared (first use in this function)
keys.c:423: error: (Each undeclared identifier is reported only once
keys.c:423: error: for each function it appears in.)
make[2]: *** [keys.o] Error 1
make[2]: Leaving directory `/usr/src/openswan-cvs/openswan-2/programs/pluto'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/usr/src/openswan-cvs/openswan-2/programs'
make: *** [programs] Error 1

  If I enable it, it compiles cleanly but not before enabling also XAUTH. The 
last one is a functionality dependency.

  Just a report!

Jorge Matias


More information about the Users mailing list