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 <[EMAIL PROTECTED]> wrote: > Link error is: > [EMAIL PROTECTED] 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 > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell > > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe