[Mono-osx] Build problems with Mono 1.2.3 on Intel

Matthew Graham mjg at cacr.caltech.edu
Wed Mar 14 16:25:34 EDT 2007


Hi,

I have been trying to build the latest tarballs and SVN checkouts on a 
MacBook Pro running Mac OS X 10.4.8 but the builds keep failing with:

gcc -O -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g 
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs 
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -o pedump 
pedump.o  -pthread ./.libs/libmonoruntime.a ../io-layer/.libs/libwapi.a 
../utils/.libs/libmonoutils.a ../../libgc/.libs/libmonogc.a 
-L/opt/local/lib /opt/local/lib/libgthread-2.0.dylib 
/opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc 
/opt/local/lib/libiconv.dylib -lpthread -lm
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option `-pthread'
/usr/bin/ld: warning multiple definitions of symbol ___freedtoa
../utils/.libs/libmonoutils.a(strtod.o) definition of ___freedtoa in 
section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libc.dylib(gdtoa-dmisc.So) 
definition of ___freedtoa
/usr/bin/ld: Undefined symbols:
_GC_push_regs
collect2: ld returned 1 exit status
make[3]: *** [pedump] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Can anyone help?

    Cheers,

    Matthew


More information about the Mono-osx mailing list