
On 22 December 2010 16:51, Daniel Fischer
On Wednesday 22 December 2010 16:54:04, Aaron Gray wrote:
Missing Parsec library :-
scheme.o(.text+0x4fa):fake: undefined reference to `parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziCombinator_skipMany 1_closure' scheme.o(.text+0x501):fake: undefined reference to `parseczm2zi1zi0zi0_TextziPaserCombinatorsziParsecziChar_space_closure' scheme.o(.text+0x5c2):fake: undefined reference to `parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziChar_oneOf_closure' scheme.o(.text+0x63a):fake: undefined reference to `mtlzm1zi1zi0zi0_ControlziMonadziTrans_zdf1_closure'
GHC from :-
http://www.haskell.org/ghc/dist/stable/dist/
ghc-7.0.1.20101221-i386-windows.exe<http://www.haskell.org/ghc/dist/stab le/dist/ghc-7.0.1.20101221-i386-windows.exe>
and earlier.
Aaron
Since 6.8 iirc, GHC no longer comes with parsec, you have to install the package yourself if you want to use it,
cabal install parsec
This does not seem to be needed. import Text.ParserCombinators.Parsec seems fine.
also mtl is no longer one of the libraries that come with GHC,
cabal install mtl
What is mtl ? Thanks, Aaron
HTH, Daniel