[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Make error
Hello OpenLDAP list,
I have a problem while I launch a "make"...
configure and make depends work well, but when it is the "make" it fails
with this error :
ld: Undefined symbols:
_res_9_dn_expand
_res_9_query
make[2]: *** [dntest] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
I don't understand what's wrong...
If smbd could help me...
I attach a file which contain the results of make ("make > results.txt")
Thanks
Philippe
Making all in /private/var/root/Desktop/openldap-2.2.4
Entering subdirectory include
make[1]: Nothing to be done for `all'.
Entering subdirectory libraries
Making all in /private/var/root/Desktop/openldap-2.2.4/libraries
Entering subdirectory liblutil
rm -f version.c
../../build/mkversion -v "2.2.4" liblutil.a > version.c
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -I/usr/local/BerkeleyDB/include -c -o utils.o utils.c
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -I/usr/local/BerkeleyDB/include -c -o fetch.o fetch.c
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -I/usr/local/BerkeleyDB/include -c -o version.o version.c
ar ru liblutil.a base64.o csn.o entropy.o sasl.o signal.o hash.o passfile.o md5.o passwd.o sha1.o getpass.o lockf.o utils.o uuid.o sockpair.o avl.o ldif.o fetch.o setproctitle.o getpeereid.o detach.o version.o
Entering subdirectory liblber
rm -f version.c
../../build/mkversion -v "2.2.4" liblber.la > version.c
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=compile cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLBER_LIBRARY -c debug.c
rm -f .libs/debug.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLBER_LIBRARY -c debug.c -fno-common -DPIC -o .libs/debug.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLBER_LIBRARY -c debug.c -o debug.o >/dev/null 2>&1
mv -f .libs/debug.lo debug.lo
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=compile cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLBER_LIBRARY -c version.c
rm -f .libs/version.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLBER_LIBRARY -c version.c -fno-common -DPIC -o .libs/version.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLBER_LIBRARY -c version.c -o version.o >/dev/null 2>&1
mv -f .libs/version.lo version.lo
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=link cc -g -O2 -L/usr/local/BerkeleyDB/lib -version-info 202:4:0 -rpath /usr/local/lib -o liblber.la assert.lo decode.lo encode.lo io.lo bprint.lo debug.lo memory.lo options.lo sockbuf.lo stdio.lo version.lo
rm -fr .libs/liblber.la .libs/liblber.* .libs/liblber.*
cc -r -keep_private_externs -nostdlib -o .libs/liblber.202.0.4.dylib-master.o assert.lo decode.lo encode.lo io.lo bprint.lo debug.lo memory.lo options.lo sockbuf.lo stdio.lo version.lo && cc -dynamiclib -flat_namespace -undefined suppress -o .libs/liblber.202.0.4.dylib .libs/liblber.202.0.4.dylib-master.o -L/usr/local/BerkeleyDB/lib -lc -install_name /usr/local/lib/liblber.202.dylib -compatibility_version 203 -current_version 203.4
(cd .libs && rm -f liblber.202.dylib && ln -s liblber.202.0.4.dylib liblber.202.dylib)
(cd .libs && rm -f liblber.dylib && ln -s liblber.202.0.4.dylib liblber.dylib)
ar cru .libs/liblber.a assert.o decode.o encode.o io.o bprint.o debug.o memory.o options.o sockbuf.o stdio.o version.o
ranlib .libs/liblber.a
creating liblber.la
(cd .libs && rm -f liblber.la && ln -s ../liblber.la liblber.la)
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=link cc -static -g -O2 -L/usr/local/BerkeleyDB/lib -o dtest dtest.o liblber.la ../../libraries/liblutil/liblutil.a
cc -g -O2 -o dtest dtest.o -L/usr/local/BerkeleyDB/lib ./.libs/liblber.a ../../libraries/liblutil/liblutil.a
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=link cc -static -g -O2 -L/usr/local/BerkeleyDB/lib -o etest etest.o liblber.la ../../libraries/liblutil/liblutil.a
cc -g -O2 -o etest etest.o -L/usr/local/BerkeleyDB/lib ./.libs/liblber.a ../../libraries/liblutil/liblutil.a
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=link cc -static -g -O2 -L/usr/local/BerkeleyDB/lib -o idtest idtest.o liblber.la ../../libraries/liblutil/liblutil.a
cc -g -O2 -o idtest idtest.o -L/usr/local/BerkeleyDB/lib ./.libs/liblber.a ../../libraries/liblutil/liblutil.a
Entering subdirectory liblunicode
rm -f version.c
../../build/mkversion -v "2.2.4" liblunicode.a > version.c
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -I/usr/local/BerkeleyDB/include -c -o ucdata.o ucdata.c
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -I/usr/local/BerkeleyDB/include -c -o version.o version.c
ar ru liblunicode.a ucdata.o ure.o urestubs.o ucstr.o version.o
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -I/usr/local/BerkeleyDB/include -c -o ucgendat.o ucgendat.c
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=link cc -static -g -O2 -L/usr/local/BerkeleyDB/lib -o ucgendat ucgendat.o ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a
cc -g -O2 -o ucgendat ucgendat.o -L/usr/local/BerkeleyDB/lib ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a
./ucgendat ./UnicodeData.txt -x ./CompositionExclusions.txt
Entering subdirectory libldap
rm -f version.c
../../build/mkversion -v "2.2.4" libldap.la > version.c
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=compile cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c init.c
rm -f .libs/init.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c init.c -fno-common -DPIC -o .libs/init.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c init.c -o init.o >/dev/null 2>&1
mv -f .libs/init.lo init.lo
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=compile cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c tls.c
rm -f .libs/tls.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c tls.c -fno-common -DPIC -o .libs/tls.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c tls.c -o tls.o >/dev/null 2>&1
mv -f .libs/tls.lo tls.lo
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=compile cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c os-local.c
rm -f .libs/os-local.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c os-local.c -fno-common -DPIC -o .libs/os-local.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c os-local.c -o os-local.o >/dev/null 2>&1
mv -f .libs/os-local.lo os-local.lo
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=compile cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c utf-8.c
rm -f .libs/utf-8.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c utf-8.c -fno-common -DPIC -o .libs/utf-8.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c utf-8.c -o utf-8.o >/dev/null 2>&1
mv -f .libs/utf-8.lo utf-8.lo
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=compile cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c version.c
rm -f .libs/version.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c version.c -fno-common -DPIC -o .libs/version.lo
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB/include -DLDAP_LIBRARY -c version.c -o version.o >/dev/null 2>&1
mv -f .libs/version.lo version.lo
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=link cc -g -O2 -L/usr/local/BerkeleyDB/lib -version-info 202:4:0 -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 sbind.lo kbind.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 sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo schema.lo charray.lo tls.lo os-local.lo dnssrv.lo utf-8.lo utf-8-conv.lo version.lo ../../libraries/liblber/liblber.la -lssl -lcrypto
rm -fr .libs/libldap.la .libs/libldap.* .libs/libldap.*
cc -r -keep_private_externs -nostdlib -o .libs/libldap.202.0.4.dylib-master.o 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 sbind.lo kbind.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 sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo schema.lo charray.lo tls.lo os-local.lo dnssrv.lo utf-8.lo utf-8-conv.lo version.lo && cc -dynamiclib -flat_namespace -undefined suppress -o .libs/libldap.202.0.4.dylib .libs/libldap.202.0.4.dylib-master.o -L/usr/local/BerkeleyDB/lib -L../../libraries/liblber/.libs -llber -lssl -lcrypto -lc -install_name /usr/local/lib/libldap.202.dylib -compatibility_version 203 -current_version 203.4
(cd .libs && rm -f libldap.202.dylib && ln -s libldap.202.0.4.dylib libldap.202.dylib)
(cd .libs && rm -f libldap.dylib && ln -s libldap.202.0.4.dylib libldap.dylib)
ar cru .libs/libldap.a bind.o open.o result.o error.o compare.o search.o controls.o messages.o references.o extended.o cyrus.o modify.o add.o modrdn.o delete.o abandon.o sasl.o sbind.o kbind.o unbind.o cancel.o filter.o free.o sort.o passwd.o whoami.o getdn.o getentry.o getattr.o getvalues.o addentry.o request.o os-ip.o url.o sortctrl.o vlvctrl.o init.o options.o print.o string.o util-int.o schema.o charray.o tls.o os-local.o dnssrv.o utf-8.o utf-8-conv.o version.o
ranlib .libs/libldap.a
creating libldap.la
(cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=link cc -static -g -O2 -L/usr/local/BerkeleyDB/lib -o apitest apitest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lssl -lcrypto
cc -g -O2 -o apitest apitest.o -L/usr/local/BerkeleyDB/lib ./.libs/libldap.a /private/var/root/Desktop/openldap-2.2.4/libraries/liblber/.libs/liblber.a ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a -lssl -lcrypto
/bin/sh /var/root/Desktop/openldap-2.2.4/libtool --mode=link cc -static -g -O2 -L/usr/local/BerkeleyDB/lib -o dntest dntest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lssl -lcrypto
cc -g -O2 -o dntest dntest.o -L/usr/local/BerkeleyDB/lib ./.libs/libldap.a /private/var/root/Desktop/openldap-2.2.4/libraries/liblber/.libs/liblber.a ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a -lssl -lcrypto
ld: Undefined symbols:
_res_9_dn_expand
_res_9_query
make[2]: *** [dntest] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1