[Haskell-cafe] Link errors

Jochem Berndsen jochem at functor.nl
Sun Mar 15 12:15:24 EDT 2009


Lingappan, Loganathan wrote:
> If I include
> 
> import Text.Regex.Posix ((=~))
> 
> into a Haskell code, I get the following link error:
> 
> FindBBUsage.o:fake:(.text+0x44d): undefined reference to `__stginit_regexzmposixzm0zi72zi0zi3_TextziRegexziPosix_'
> collect2: ld returned 1 exit status
> 
> Any ideas on how to fix this? I am using GHC version 6.10.1 on Windows XP.

Did you use --make ?

Regards,

-- 
Jochem Berndsen | jochem at functor.nl
GPG: 0xE6FABFAB


More information about the Haskell-Cafe mailing list