i have a program tb.hs:

---
module Main where
import Network.URI (URI(..), URIAuth(..), parseURI)

myFunc :: String -> Maybe URI
myFunc u = parseURI u

main = do { return () }
---

when i attempt to build it with ghc, i get the following output:

tb.o: In function `Main_myFunc_info':
(.text+0x11): undefined reference to
`networkzm2zi0_NetworkziURI_parseURI_closure'
tb.o: In function `Main_myFunc_srt':
(.rodata+0x0): undefined reference to
`networkzm2zi0_NetworkziURI_parseURI_closure'
collect2: ld returned 1 exit status

any clue why? i would send this to the ghc list but i presume my issue
is due to a trivial misunderstanding of the language

thanks in advance
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to