Problem with ghc-6.5.20061008 on Mac OS X Intel

Deborah Goldsmith dgoldsmith at mac.com
Mon Oct 9 21:03:04 EDT 2006


Thanks, Spencer Janssen already set me straight. It was indeed the  
lack of --package mtl. I'm pretty sure I didn't have that before, but  
my memory could be faulty.

Thanks again,
Deborah

On Oct 9, 2006, at 5:57 PM, Ian Lynagh wrote:

> On Mon, Oct 09, 2006 at 05:42:14PM -0700, Deborah Goldsmith wrote:
>>
>> I was able to build this release using the 20060915 Intel build
>> that's available, on 10.4.8. ghci seems to work OK (except for
>> Readline),
>
> That sounds like good news, thanks  :-)
>
>> but an attempt to compile gives:
>>
>> $ ghc example25.hs
>> /usr/bin/ld: Undefined symbols:
>> _mtlzm1zi0_ControlziMonadziState_evalStateT_closure
>> _mtlzm1zi0_ControlziMonadziState_gets_closure
>> _mtlzm1zi0_ControlziMonadziState_zdf1_closure
>> _mtlzm1zi0_ControlziMonadziState_zdf7_closure
>> _mtlzm1zi0_ControlziMonadziState_zdf9_closure
>> _mtlzm1zi0_ControlziMonadziWriter_zdf5_closure
>> _mtlzm1zi0_ControlziMonadziWriter_zdf7_closure
>> collect2: ld returned 1 exit status
>>
>> This didn't happen before.
>>
>> Any ideas? Am I doing something wrong, or is there something wrong
>> with the 20061008 snapshot?
>
> Are you sure it used to work before, exactly like that? It looks  
> like it
> is failing to link because you didn't use "-package mtl" or "--make".
>
>
> Thanks
> Ian
>



More information about the Glasgow-haskell-users mailing list