Missing Parsec library in latest stable GHC

Missing Parsec library :- scheme.o(.text+0x4fa):fake: undefined reference to `parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziCombinator_skipMany1_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.exehttp://www.haskell.org/ghc/dist/stable/dist/ghc-7.0.1.20101221-i386-windows.... and earlier. Aaron

What commands did you enter to produce this error?
Ahanks,
Antoine
On Wed, Dec 22, 2010 at 9:54 AM, Aaron Gray
Missing Parsec library :- scheme.o(.text+0x4fa):fake: undefined reference to `parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziCombinator_skipMany1_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 and earlier. Aaron
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On 22 December 2010 16:27, Antoine Latter
What commands did you enter to produce this error?
ghc scheme.hs I am still getting this on the 2010 2.0.0 release. Aaron
Ahanks, Antoine
On Wed, Dec 22, 2010 at 9:54 AM, Aaron Gray
wrote: Missing Parsec library :- scheme.o(.text+0x4fa):fake: undefined reference to
`parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziCombinator_skipMany1_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 and earlier. Aaron
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

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 also mtl is no longer one of the libraries that come with GHC, cabal install mtl HTH, Daniel

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
participants (3)
-
Aaron Gray
-
Antoine Latter
-
Daniel Fischer