[erlang-questions] Compile error on Mac OS X 10.6

Herman Chan <>
Mon Nov 23 02:06:04 CET 2009


yes, I have XCode 3.1 installed.  In fact, the error message seems to
suggested that it can't link with crt1.10.5.o file, which is under a
folder named /Developer/SDKs/MacOSX10.5.sdk/usr/lib.  Is my terminal
wired up to look into /Develoepr/SDKs/MacOSX1.5.sdk/usr/lib for
library?

Herman

On Sat, Nov 21, 2009 at 9:49 PM, Paul Joseph Davis
<> wrote:
> Have you installed the Xcode developer tools?
>
>
>
> On Nov 21, 2009, at 11:12 PM, Herman Chan <> wrote:
>
>> Hi all,
>>
>> I am new to Erlang and trying to compile from source in mac os x.  I
>> tried to compiled with ./configure --enable-threads
>> --enable-smp-support --enable-kernel-poll, but got the following
>> error.
>>
>> Ignoring the --cache-file argument since it can cause the system to be
>> erroneously configured
>> Disabling caching
>> checking build system type... i386-apple-darwin10.0.0
>> checking host system type... i386-apple-darwin10.0.0
>> checking for gcc... gcc
>> checking for C compiler default output file name... configure: error:
>> C compiler cannot create executables
>> See `config.log' for more details.
>>
>> Looking at config.log, it seems like the problem is in this line.
>>
>> configure:1771: gcc    conftest.c  >&5
>> ld: library not found for -lcrt1.10.5.o
>> collect2: ld returned 1 exit status
>>
>> Has anyone got this error before?  Any help is appreciated.
>>
>> ________________________________________________________________
>> erlang-questions mailing list. See http://www.erlang.org/faq.html
>> erlang-questions (at) erlang.org
>>
>


More information about the erlang-questions mailing list