[Haskell-cafe] parsec error message

david karapetyan dkarapetyan at ucdavis.edu
Tue Mar 20 13:23:53 EDT 2007


i get the following error message

new.o:fake:(.text+0x85): undefined reference to
`parseczm2zi0_TextziParserCombin
atorsziParsecziChar_oneOf_closure'
new.o:fake:(.rodata+0x4): undefined reference to
`parseczm2zi0_TextziParserCombi
natorsziParsecziChar_oneOf_closure'
collect2: ld returned 1 exit status

when compiling the following code

module Main where
import System.Environment
import Text.ParserCombinators.Parsec hiding (spaces)


symbol = oneOf "!$%&|*+-/:<=>?@^_~"

main = do
            return 1

any help is greatly appreciated. i am running ghc-6.6 on a windows xp
machine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070320/75f65531/attachment.htm


More information about the Haskell-Cafe mailing list