[Haskell-cafe] Re: [Haskell] GHC6.8.1 can not compile the simple example

Neil Mitchell ndmitchell at gmail.com
Mon Nov 12 08:31:20 EST 2007


Hi David,

In future, please post emails to haskell-cafe@, the haskell@ list is
for annoucements.

The correct command line is: ghc --make c.hs

Thanks

Neil



On Nov 12, 2007 1:11 PM, david yu <davidyuhxl at gmail.com> wrote:
> 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
>
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>
>


More information about the Haskell-Cafe mailing list