[Haskell] GHC6.8.1 can not compile the simple example

david yu davidyuhxl at gmail.com
Mon Nov 12 08:11:40 EST 2007


Link error is:
[davidyu at linuxpower test]$ ghc c.hs
c.o: In function `rM7_info':
(.text+0xaa): undefined reference to
`containerszm0zi1zi0zi0_DataziMap_lookup_closure'
c.o: In function `rMd_info':
(.text+0x1fa): undefined reference to
`containerszm0zi1zi0zi0_DataziMap_fromList_closure'
c.o: In function `sVJ_info':
(.text+0xa3b): undefined reference to
`__stginit_containerszm0zi1zi0zi0_DataziMap_'
c.o: In function `rM7_srt':
(.data+0x18): undefined reference to
`containerszm0zi1zi0zi0_DataziMap_lookup_closure'
c.o: In function `rMd_srt':
(.data+0x60): undefined reference to
`containerszm0zi1zi0zi0_DataziMap_fromList_closure'
collect2: ld returned 1 exit status
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c.hs
Type: text/x-haskell
Size: 384 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell/attachments/20071112/bb2de1c4/c.bin


More information about the Haskell mailing list