Link failures using GHC 6.8.2 on OS X 10.1.11 (PPC)

Ian Lynagh igloo at earth.li
Wed Jan 23 11:55:30 EST 2008


Hi Robin,

On Wed, Jan 23, 2008 at 04:38:25PM +0000, Robin Houston wrote:
> 
>   import qualified Data.IntSet as IntSet
>   main = print $ IntSet.empty
> 
> gives the errors:
> 
>   /usr/bin/ld: Undefined symbols:
>   ___stginit_containerszm0zi1zi0zi1_DataziIntSet_
>   _containerszm0zi1zi0zi1_DataziIntSet_empty_closure
>   _containerszm0zi1zi0zi1_DataziIntSet_zdf3_closure

You don't say what commandline you are using, but it sounds like you
need to add either --make or -package containers.


Thanks
Ian



More information about the Glasgow-haskell-users mailing list