[erlang-questions] Building on mac
Travis Jensen
travis.jensen@REDACTED
Sat May 7 00:20:18 CEST 2011
I'm building 'dev' on OS X and am seeing the following problem. Now sure
what is causing is, since I've built before:
gcc -mdynamic-no-pic -m64 -g -O3 -fomit-frame-pointer
-I/Users/travis/src2/foss/otp/erts/i386-apple-darwin10.7.0 -no-cpp-precomp
-D_XOPEN_SOURCE -DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS
-D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS
-Ii386-apple-darwin10.7.0/opt/smp -Ibeam -Isys/unix -Isys/common
-Ii386-apple-darwin10.7.0 -Izlib -Ipcre -Ihipe -I../include
-I../include/i386-apple-darwin10.7.0 -I../include/internal
-I../include/internal/i386-apple-darwin10.7.0 -c beam/erl_bif_info.c -o
obj/i386-apple-darwin10.7.0/opt/smp/erl_bif_info.o
beam/erl_bif_info.c: In function 'system_info_1':
beam/erl_bif_info.c:2003: error: 'am_amd64' undeclared (first use in this
function)
beam/erl_bif_info.c:2003: error: (Each undeclared identifier is reported
only once
beam/erl_bif_info.c:2003: error: for each function it appears in.)
make[3]: *** [obj/i386-apple-darwin10.7.0/opt/smp/erl_bif_info.o] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [smp] Error 2
make: *** [emulator] Error 2
This is OS X 10.7.
I did the following:
$ ./otp_build configure --enable-darwin-64bit
--prefix=/Users/travis/opt/erlang
$ ./otp_build release
Any ideas?
tj
--
*Travis Jensen*
***
*Read the Software Maven @ http://softwaremaven.innerbrane.com/
Read my LinkedIn profile @ http://www.linkedin.com/in/travisjensen
Read my Twitter mumblings @ http://twitter.com/SoftwareMaven
Send me email @ travis.jensen@REDACTED
**What kind of guy calls himself the Software Maven???**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110506/c4028da9/attachment.htm>
More information about the erlang-questions
mailing list