[MLton-user] Re: MLton-user Digest, Vol 40, Issue 3

Thant Tessman thant at tessman.com
Fri Dec 25 19:15:06 PST 2009


Gracias!

	sudo port install gmp +universal

did the trick.

-thant

On Dec 25, 2009, at 1:22 PM, John Reppy wrote:

> I've been running mlton on snow leopard for several months (both 32 and 64 bit).
> I believe that Matthew added all of the required changes to the repository.
> I used the macports version of gmp, but I had to install it with the +universal
> attribute.
> 
> BTW, file /opt/local/libgmp.dylib reports on my machine:
> 
> /opt/local/lib/libgmp.dylib:         Mach-O universal binary with 2 architectures
> /opt/local/lib/libgmp.dylib (for architecture i386):	Mach-O dynamically linked shared library i386
> /opt/local/lib/libgmp.dylib (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library x86_64
> 
> 	- John
> 
>> Message: 1
>> Date: Thu, 24 Dec 2009 12:45:49 -0800
>> From: Thant Tessman <thant at tessman.com>
>> Subject: Re: [MLton-user] Snow Leopard
>> To: mlton-user at mlton.org
>> Message-ID: <C626E1DA-FEE4-4AF8-9C63-57C5C24962DD at tessman.com>
>> Content-Type: text/plain; charset=us-ascii
>> 
>> 
>> 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
>> 
> 




More information about the MLton-user mailing list