[erlang-questions] compiling problems under OS X Lion

Jason Bosco jason.bosco@REDACTED
Mon Jul 25 05:32:08 CEST 2011


Sean,

I did a "make clean" before running CFLAGS=-O0 ./configure
--enable-darwin-64bit once again. That should "clean out the source
directory" right?

Jason.

On Sun, Jul 24, 2011 at 5:54 PM, Sean Moss-Pultz <sean@REDACTED> wrote:

> On Mon, Jul 25, 2011 at 4:30 AM, Jason Bosco <jason.bosco@REDACTED>
> wrote:
> >
> > This didn't work for me. I tried CFLAGS=-O0 ./configure
> --enable-darwin-64bit and then make but it stopped with this error:
> >
> > ld: warning: ignoring file
> /Users/abcd/Downloads/otp_src_R14B03/erts/emulator/zlib/obj/i386-apple-darwin11.0.0/opt/libz.a,
> file was built for archive which is not the architecture being linked
> (x86_64) ld: warning: ignoring file
> /Users/abcd/Downloads/otp_src_R14B03/erts/emulator/pcre/obj/i386-apple-darwin11.0.0/opt/libepcre.a,
> file was built for archive which is not the architecture being linked
> (x86_64) Undefined symbols for architecture x86_64:...
> >
> > Any ideas?
>
> Jason
>
> I don't know but I was able to build by using Xcode (4.1) and that
> command on Lion. Actually I wanted SSL so I added --with-ssl. Did you
> try building before you added those flags? You might need to clean out
> the source directory first.
>
> Sean
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110724/cb8fcf96/attachment.htm>


More information about the erlang-questions mailing list