Problem with ghc-6.5.20061008 on Mac OS X Intel

Aaron Tomb atomb at soe.ucsc.edu
Mon Oct 9 21:16:58 EDT 2006


Strange. Should it really get to link time before it notices that you  
haven't used the necessary --package flags? I would have expected an  
error earlier on.

Aaron

On Oct 9, 2006, at 6:03 PM, Deborah Goldsmith wrote:

> 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
>>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



More information about the Glasgow-haskell-users mailing list