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

Faiure Building 2.1.17 on AIX 4.3.3



I get a failure during the "make" phase when building 2.1.17
for AIX 4.3.3.

Background:
   I ran configure as follows:
     	CC=xlc_r \
	CPPFLAGS="-I/usr/local/include \
          -I/usr/local/ssl/include \
          -I/usr/local/BerkeleyDB_curr/include" \
	LDFLAGS="-L/usr/local/ssl/lib     \
         -L/usr/local/lib \
         -L/usr/local/BerkeleyDB_curr/lib" \
	./configure --with-cyrus-sasl  \
            --enable-bdb       \
            --with-kerberos

    I ran "make depends" as follows:
	make depend MKDEP=$PWD/build/mkdep.aix

    Next I ran "make" and here's the output at the failure point:
        /bin/sh /dnload/openldap/openldap-2.1.17/libtool --mode=link  xlc_r
-static   -L/usr
/local/ssl/lib       -L/usr/local/lib
-L/usr/local/BerkeleyDB_curr/lib   -o ftest fte
st.o libldap.la ../../libraries/liblber/liblber.la
../../libraries/liblutil/liblutil.a -lsas
l2  -lssl -lcrypto -ls   
xlc_r -o ftest ftest.o  -L/usr/local/ssl/lib -L/usr/local/lib
-L/usr/local/BerkeleyDB_curr/l
ib -L./.libs -lldap
-L/dnload/openldap/openldap-2.1.17/libraries/liblber/.libs -L../../libra
ries/liblber/.libs -llber ../../libraries/liblutil/liblutil.a -lsasl2 -ldl
-lssl -lcrypto -l
s -Wl,-bnolibpath
-Wl,-blibpath:/dnload/openldap/openldap-2.1.17/libraries/libldap/.libs:/dn
load/openldap/openldap-2.1.17/libraries/liblber/.libs:/usr/local/lib:/usr/li
b:/lib
ld: 0711-224 WARNING: Duplicate symbol: p_xargc
ld: 0711-224 WARNING: Duplicate symbol: p_xargv
ld: 0711-224 WARNING: Duplicate symbol: p_xrcfg
ld: 0711-224 WARNING: Duplicate symbol: p_xrc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
ld: 0711-317 ERROR: Undefined symbol: .ber_flatten2
make: 1254-004 The error code from the last command is 8.

    I confirmed that ber_flatten2 is contained in libraries/liblber/io.c
    and that it was compiled (io.o exists), and that it ber_flatten2 is
    listed as a symbol in      libraries/liblber/.libs/liblber.a (using ar
-w)
    and that it is a symbol in libraries/liblber/.lib/liblber.so.2 (using
'nm')
    and that it is listed in   libraries/liblber/.lib/liblber.exp.

Frankly, I don't know what else to look for.

Any help would be appreciated.

-tony