[erlang-questions] OTP13B03 failed to make parallel on OS X 10.6 in 64-bit: ld: duplicate symbol _debug in debuglog.o and esock.o

Illo de Illis <>
Wed Dec 16 22:08:12 CET 2009


On Dec 16, 2009, at 10:05 PM, Illo de Illis wrote:

> On Dec 16, 2009, at 8:38 PM, Ceriel Jacobs wrote:
> 
>> The next error message is:
>> 
>> gcc  -m64 -fast -arch x86_64 -march=nocona -mtune=generic -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -I/Users/ceriel/src/otp_src_R13B03/erts/i686-apple-darwin10  -no-cpp-precomp    -o ../priv/bin/i686-apple-darwin10/ssl_esock ../priv/obj/i686-apple-darwin10/esock.o ../priv/obj/i686-apple-darwin10/debuglog.o ../priv/obj/i686-apple-darwin10/esock_poll.o ../priv/obj/i686-apple-darwin10/esock_osio.o ../priv/obj/i686-apple-darwin10/esock_utils.o ../priv/obj/i686-apple-darwin10/esock_posix_str.o ../priv/obj/i686-apple-darwin10/esock_openssl.o -lutil -ldl -lm   -L/opt/local/lib -lssl -lcrypto
>> ld: duplicate symbol _debug in ../priv/obj/i686-apple-darwin10/debuglog.o and ../priv/obj/i686-apple-darwin10/esock.o
>> collect2: ld returned 1 exit status
>> make[4]: *** [../priv/bin/i686-apple-darwin10/ssl_esock] Error 1
>> make[3]: *** [opt] Error 2
>> make[2]: *** [opt] Error 2
>> make[1]: *** [opt] Error 2
>> make: *** [libs] Error 2
> 
> Try and edit files lib/ssl/c_src/debuglog.h and lib/ssl/esock_ssl.h and prepend an 'extern' to every definition in order to change them to declarations.

Sorry, I meant lib/ssl/c_src/esock_ssl.h

Ciao,
Illo.



More information about the erlang-questions mailing list