[Date Prev][Date Next] [Chronological] [Thread] [Top]

AIX 4.3 compilation problem !



Hi all,

I try to compile openldap-2.0.23 under Aix 4.3.

export LIBPATH=/usr/local/lib
export CC=xlc_r
export CPPFLAGS="-I/usr/local/BerkeleyDB.3.2/include"
export LDFLAGS="-L/usr/local/BerkeleyDB.3.2/lib"
./configure --with-ldbm-api=berkeley
make
......
 Entering subdirectory liblber
make[2]: Entering directory
`/ef/Dev/newdev/Shared/OpenLdap/Aix/openldap-2.0.23/libraries/liblber'
/bin/sh
f/Dev/newdev/Shared/OpenLdap/Aix/openldap-2.0.23/libtool   --mode=link
xlc_r -rpath /usr/local/lib -g -I../../include        -I../../include   -I
/usr/local/BerkeleyDB.3.2/include   -L/ef/Dev/newdev/Shared/OpenLdap/Aix/ope
nldap-2.0.23/libraries -L /usr/local/BerkeleyDB.3.2/lib  -version-info
2:15:0  -o liblber.la assert.lo decode.lo encode.lo io.lo bprint.lo
memory.lo options.lo sockbuf.lo  version.lo
rm -fr .libs/liblber.la .libs/liblber.* .libs/liblber.*
generating symbol list for `liblber.la'
/usr/bin/nm -B  assert.o decode.o encode.o io.o bprint.o memory.o options.o
sockbuf.o version.o   | sed -n -e
*[     ]\([BCDT]\)[    ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3
\3/p' | sed 's/.* //' | sort | uniq > .libs/liblber.exp
xlc_r -bM:SRE -o .libs/liblber.so.2.0.15  assert.o decode.o encode.o io.o
bprint.o memory.o options.o sockbuf.o
rsion.o   -L/ef/Dev/newdev/Shared/OpenLdap/Aix/openldap-2.0.23/libraries -L 
-b nolibpath -bE:.libs/liblber.exp -bnoentry ${wl}-berok
xlc_r: 1501-208 command option L is missing a subargument
make[2]: *** [liblber.la] Error 40
make[2]: Leaving directory
`/ef/Dev/newdev/Shared/OpenLdap/Aix/openldap-2.0.23/libraries/liblber'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/ef/Dev/newdev/Shared/OpenLdap/Aix/openldap-2.0.23/libraries'
make: *** [all-common] Error 1
SrvT450: root#

Where is the problem ?

Thanks in advance,

Guy