[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Error making openldap (ITS#2254)
Full_Name: Jean-Yves Allard
Version: 2.1.10
OS: Cygwin
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (24.203.207.27)
When making openldap I receive the following error. What am I missing?
gcc -g -O2 -o apitest.exe apitest.o ./.libs/libldap_r.a
/openldap-2.1.10/librar
ies/liblber/.libs/liblber.a ../../libraries/liblber/.libs/liblber.a
../../librar
ies/liblutil/liblutil.a -lssl -lcrypto -lgnuregex
./.libs/libldap_r.a(util-int.o)(.text+0x31): In function
`ldap_pvt_gethostbyname
_a':
/openldap-2.1.10/libraries/libldap_r/util-int.c:148: undefined reference to
`_ld
ap_int_resolv_mutex'
./.libs/libldap_r.a(util-int.o)(.text+0x67):/openldap-2.1.10/libraries/libldap_r
/util-int.c:163: undefined reference to `_ldap_int_resolv_mutex'
./.libs/libldap_r.a(util-int.o)(.text+0xc1): In function
`ldap_pvt_gethostbyaddr
_a':
/openldap-2.1.10/libraries/libldap_r/util-int.c:229: undefined reference to
`_ld
ap_int_resolv_mutex'
./.libs/libldap_r.a(util-int.o)(.text+0x105):/openldap-2.1.10/libraries/libldap_
r/util-int.c:244: undefined reference to `_ldap_int_resolv_mutex'
collect2: ld returned 1 exit status
make[2]: *** [apitest] Error 1
make[2]: Leaving directory `/openldap-2.1.10/libraries/libldap_r'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/openldap-2.1.10/libraries'
make: *** [all-common] Error 1