get an error when attempting to compile, 64-bit:


/bin/sh ../../libtool  --mode=compile gcc -m64 -I/usr/local/BerkeleyDB.5.3/include -I/usr/local/include/openssl -I/usr/local/include/sasl -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c version.c
/bin/sh ../../libtool  --mode=link gcc -m64 -I/usr/local/BerkeleyDB.5.3/include -I/usr/local/include/openssl -I/usr/local/include/sasl -g -O2  -L/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9 -L/usr/local/BerkeleyDB.5.3/lib/sparcv9 -R/usr/local/BerkeleyDB.5.3/lib/sparcv9  -release 2.4 -version-info 12:2:10 -rpath /usr/local/lib/sparcv9 -o libldap.la bind.lo open.lo result.lo error.lo compare.lo search.lo controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo add.lo modrdn.lo delete.lo abandon.lo sasl.lo gssapi.lo sbind.lo unbind.lo cancel.lo filter.lo free.lo sort.lo passwd.lo whoami.lo getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo request.lo os-ip.lo url.lo pagectrl.lo sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo schema.lo charray.lo os-local.lo dnssrv.lo utf-8.lo utf-8-conv.lo tls2.lo tls_o.lo tls_g.lo tls_m.lo turn.lo ppolicy.lo dds.lo txn.lo ldap_sync.lo stctrl.lo assertion.lo deref.lo ldif.lo fetch.lo version.lo  ../../libraries/liblber/liblber.la -lresolv -lgen -lnsl -lsocket  -lsasl2  -lssl -lcrypto
gmake[2]: *** No rule to make target `../../libraries/liblber/liblber.la', needed by `apitest'.  Stop.
gmake[2]: Leaving directory `/usr/soft/that/openldap-2.4.39/src/default/sparcv9_sun_solaris2.10/libraries/libldap'
gmake[1]: *** [all-common] Error 1
gmake[1]: Leaving directory `/usr/soft/that/openldap-2.4.39/src/default/sparcv9_sun_solaris2.10/libraries'
gmake: *** [all-common] Error 1


I get the same thing when attempting 32-bit compile: 


/bin/sh ../../libtool  --mode=compile gcc -I/usr/local/BerkeleyDB.5.3/include -I/usr/local/include/openssl -I/usr/local/include/sasl -g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c version.c
/bin/sh ../../libtool  --mode=link gcc -I/usr/local/BerkeleyDB.5.3/include -I/usr/local/include/openssl -I/usr/local/include/sasl -g -O2  -L/usr/local/lib -R/usr/local/lib -L/usr/local/BerkeleyDB.5.3/lib -R/usr/local/BerkeleyDB.5.3/lib  -release 2.4 -version-info 12:2:10 -rpath /usr/local/lib -o libldap.la bind.lo open.lo result.lo error.lo compare.lo search.lo controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo add.lo modrdn.lo delete.lo abandon.lo sasl.lo gssapi.lo sbind.lo unbind.lo cancel.lo filter.lo free.lo sort.lo passwd.lo whoami.lo getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo request.lo os-ip.lo url.lo pagectrl.lo sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo schema.lo charray.lo os-local.lo dnssrv.lo utf-8.lo utf-8-conv.lo tls2.lo tls_o.lo tls_g.lo tls_m.lo turn.lo ppolicy.lo dds.lo txn.lo ldap_sync.lo stctrl.lo assertion.lo deref.lo ldif.lo fetch.lo version.lo  ../../libraries/liblber/liblber.la -lresolv -lgen -lnsl -lsocket  -lsasl2  -lssl -lcrypto
gmake[2]: *** No rule to make target `../../libraries/liblber/liblber.la', needed by `apitest'.  Stop.
gmake[2]: Leaving directory `/usr/soft/that/openldap-2.4.39/src/default/sparcv9_sun_solaris2.10/libraries/libldap'
gmake[1]: *** [all-common] Error 1
gmake[1]: Leaving directory `/usr/soft/that/openldap-2.4.39/src/default/sparcv9_sun_solaris2.10/libraries'
gmake: *** [all-common] Error 1


Didn't encounter this with 2.4.38.

Amos