[Openswan dev] problem compiling cvs head

Tuomo Soini tis at foobar.fi
Thu May 12 17:11:02 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I tried to compile latest cvs head today. Previous version I had was
from 20050425 and it compiled ok. Errors are here:

make command line was:

RPM_OPT_FLAGS="-O2 -g -pipe -march=i386 -mcpu=i686"
LANG=C
export LANG RPM_OPT_FLAGS
unset DISPLAY

/usr/bin/make \
        USERCOMPILE="$RPM_OPT_FLAGS" \
        INC_USRLOCAL=/usr \
        MANTREE=/usr/share/man \
        INC_RCDEFAULT=/etc/rc.d/init.d \
        FINALLIBDIR=/usr/lib/ipsec \
        USE_LWRES=false \
        USE_OE=false \
        programs

And error is here:

cc  -I/home/rpmuser/rpm/BUILD/openswan-2.3.1/programs/pluto/linux26
- -I/home/rpmu ser/rpm/BUILD/openswan-2.3.1/include
- -I/home/rpmuser/rpm/BUILD/openswan-2.3.1/li nux/include
- -DPLUTO_SENDS_VENDORID -DUSE_KEYRR   -DKERNEL26_SUPPORT -DKERNEL2
6_HAS_KAME_DUPLICATES  -DX509_VERSION=\"X.509-1.5.4\"   -DPLUTO -DKLIPS
- -DDEBUG -DGCC_LINT -DIKE_ALG -DKERNEL_ALG -DDB_CONTEXT -DAGGRESSIVE
- -DXAUTH -DMODECFG  - DNAT_TRAVERSAL -DVIRTUAL_IP
- -DI_KNOW_TRANSPORT_MODE_HAS_SECURITY_CONCERN_BUT_I_ WANT_IT
- -DSHARED_SECRETS_FILE=\"/etc/ipsec.secrets\" -DPOLICYGROUPSDIR=\"/et
c/ipsec.d/policies\" -DPERPEERLOGDIR=\"/var/log/pluto/peer\" -g -Wall -W
- -Wmissi ng-prototypes -Wpointer-arith -Wbad-function-cast -Wcast-qual
- -Wmissing-declarat ions -Wwrite-strings -Wstrict-prototypes  -c kernel.c
kernel.c: In function `setup_half_ipsec_sa':
kernel.c:2178: `REPLAY_WINDOW' undeclared (first use in this function)
kernel.c:2178: (Each undeclared identifier is reported only once
kernel.c:2178: for each function it appears in.)
kernel.c:2178: `REPLAY_WINDOW_XFRM' undeclared (first use in this function)
make[2]: *** [kernel.o] Error 1
make[2]: Leaving directory
`/home/rpmuser/rpm/BUILD/openswan-2.3.1/programs/plut o'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/home/rpmuser/rpm/BUILD/openswan-2.3.1/programs'
make: *** [programs] Error 1

- --
Tuomo Soini <tis at foobar.fi>
Linux and network services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCg1XmTlrZKzwul1ERArqoAJ0QUh9j6DO42WLpA+ANzNMqwqOWkgCgjltp
euhPFAoWLYZFJMUZfwd/Os0=
=LLXO
-----END PGP SIGNATURE-----


More information about the Dev mailing list