did you use --without-threads when you ran configure?
petlor
2001-10-13 07:36:00
I'm stuck trying to get OpenLDAP 2.0.15 to compile. I dug through their bug system and applied a small patch I found therein, but found no other info. Here's the message that occurs during make:
ld: -undefined error must be used when -twolevel_namespace is in effect
/usr/bin/libtool: internal link edit command failed
make[2]: *** [liblber.la] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
Any ideas?
-Petlor
petlor
2001-10-17 05:58:00
No dice. Apparenlty this also lives in the Darwin CVS. I'll get access and give that a whirl.
qperkins
2001-11-02 18:06:00
I've downloaded the Darwin CVS version.
./configure went well
make depend went well
make gave me the following error:
1.11/Services/ldap/ldap/libraries -lssl -lcrypto -lc
ld: common symbols not allowed with MH_DYLIB output format
util-int.lo definition of common _ldap_int_resolv_mutex (size 44)
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libldap_r.la] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
Anyone have any ideas?
Anonymous
2002-06-21 20:08:00
try to add "-fno-common" to your CFLAGS variable.
with this option, gcc doesn't produce "common variables".
Lilian