Daniel,<div><br></div><div>I ran '<meta charset="utf-8">CFLAGS=-O0 ./configure --enable-darwin-64bit' and then 'make' on a fresh copy of the source and it compiled fine. Thanks!</div><div><br></div><div>Regards,</div>
<div>Jason.<br><br><div class="gmail_quote">On Sun, Jul 24, 2011 at 9:36 PM, Daniel Luna <span dir="ltr"><<a href="mailto:daniel@lunas.se">daniel@lunas.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p>It should.</p>
<p>However, it doesn't. Has been broken for years.</p>
<p>The makefiles for Erlang/OTP are not particularly good. Hasn't bothered me enough to fix though since you normally only build once.</p>
<p>Cheers,</p>
<p>Daniel</p><div><div></div><div class="h5">
<div class="gmail_quote">On 24 Jul 2011 23:32, "Jason Bosco" <<a href="mailto:jason.bosco@gmail.com" target="_blank">jason.bosco@gmail.com</a>> wrote:<br type="attribution">> Sean,<br>> <br>> I did a "make clean" before running CFLAGS=-O0 ./configure<br>
> --enable-darwin-64bit once again. That should "clean out the source<br>> directory" right?<br>> <br>> Jason.<br>> <br>> On Sun, Jul 24, 2011 at 5:54 PM, Sean Moss-Pultz <<a href="mailto:sean@openmoko.com" target="_blank">sean@openmoko.com</a>> wrote:<br>
> <br>>> On Mon, Jul 25, 2011 at 4:30 AM, Jason Bosco <<a href="mailto:jason.bosco@gmail.com" target="_blank">jason.bosco@gmail.com</a>><br>>> wrote:<br>>> ><br>>> > This didn't work for me. I tried CFLAGS=-O0 ./configure<br>
>> --enable-darwin-64bit and then make but it stopped with this error:<br>>> ><br>>> > ld: warning: ignoring file<br>>> /Users/abcd/Downloads/otp_src_R14B03/erts/emulator/zlib/obj/i386-apple-darwin11.0.0/opt/libz.a,<br>
>> file was built for archive which is not the architecture being linked<br>>> (x86_64) ld: warning: ignoring file<br>>> /Users/abcd/Downloads/otp_src_R14B03/erts/emulator/pcre/obj/i386-apple-darwin11.0.0/opt/libepcre.a,<br>
>> file was built for archive which is not the architecture being linked<br>>> (x86_64) Undefined symbols for architecture x86_64:...<br>>> ><br>>> > Any ideas?<br>>><br>>> Jason<br>
>><br>>> I don't know but I was able to build by using Xcode (4.1) and that<br>>> command on Lion. Actually I wanted SSL so I added --with-ssl. Did you<br>>> try building before you added those flags? You might need to clean out<br>
>> the source directory first.<br>>><br>>> Sean<br>>><br></div>
</div></div></blockquote></div><br></div>