Problem with ghc-6.5.20061008 on Mac OS X Intel

Ian Lynagh igloo at earth.li
Mon Oct 9 20:57:54 EDT 2006


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