Hi,

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.

 

Thanks,

Logo