[MLton-user] Snow Leopard

Thant Tessman thant at tessman.com
Thu Dec 24 12:45:49 PST 2009


Here's the other error:

/usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated, and require _XOPEN_SOURCE to be defined
call to system failed with exit status 1:
gcc -std=gnu99 -c -I/usr/local/lib/mlton/self/include -I/usr/local/lib/mlton/include -O1 -fno-common -fno-strict-aliasing -fomit-frame-pointer -w -I/usr/local/include -I/opt/local/include -I/sw/include -m32 -fno-strength-reduce -fschedule-insns -fschedule-insns2 -malign-functions=5 -malign-jumps=2 -malign-loops=2 -o /var/folders/I-/I-SdGOtYHBOL9lbrzS2UF++++TI/-Tmp-/filek1RT1r.o /var/folders/I-/I-SdGOtYHBOL9lbrzS2UF++++TI/-Tmp-/fileT8DULC.5.c


On Dec 24, 2009, at 10:54 AM, Thant Tessman wrote:

> 
> I'm running Mac OS 10.6.2. I've installed gmp via macports.
> 
> I'm attempting to use:
> 
> mlton-20090624-1.r7195.x86-darwin.gmp-macports.tgz
> 
> I try to compile something that compiles fine on my linux system and I get:
> 
> mlyacc path.grm
> dyld: Library not loaded: /opt/local/lib/libgmp.3.dylib
>  Referenced from: /usr/local/bin/mlyacc
>  Reason: no suitable image found.  Did find:
> 	/opt/local/lib/libgmp.3.dylib: mach-o, but wrong architecture
> make: *** [path.grm.sig] Trace/BPT trap
> 
> 
> I know I can use the statically-linked version, but my impression is that I need to get this working anyway for the executables produced.
> 
> Thanks for any advice.
> 
> I want to test the latest experimental build because the official release build produces an error deep in some header. (This was on a machine I don't have access to at the moment. I will provide the info if I get past this issue and reproduce it.)
> 
> -thant
> 
> 
> _______________________________________________
> MLton-user mailing list
> MLton-user at mlton.org
> http://mlton.org/mailman/listinfo/mlton-user




More information about the MLton-user mailing list