On 16 November 2004 17:16, Koen Claessen wrote:

> Compiling the following program (Bug.hs):
> 
>>>> 
> module Main where
> 
> import System.Console.Readline
> 
> main =
>   do ms <- readline "Hi> "
>      print ms
> <<<
> 
> Using GHC 6.2.2 on Windows XP, using the command line:
> 
>   ghc --make Bug -o bug
> 
> Produces the following message:
> 
>>>> 
> Chasing modules from: Bug
> Compiling Main             ( Bug.hs, Bug.o )
> Linking ...
>
c:/ghc/ghc-6.2.2/libHSreadline.a(Readline__96.o)(.text+0xaa):ghc11748.hc
:
> undefined reference to `readline'
> <<<

Sigbjorn describes how to fix this bug here:

http://www.haskell.org/pipermail/glasgow-haskell-users/2004-November/007
370.html

I'll add the information to the FAQ.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to