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

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
Link error is: [davidyu@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@haskell.org http://www.haskell.org/mailman/listinfo/haskell
participants (1)
-
Neil Mitchell