[Haskell-cafe] Performance Help

Ian Lynagh igloo at earth.li
Sat Mar 24 10:01:43 EDT 2007


On Sat, Mar 24, 2007 at 01:46:33PM +0000, Dominic Steinitz wrote:
> 
> Thanks. I'm trying to build just SHA1 but I am getting the following linker 
> errors. Do you know what option I should be adding?
> 
> dom at heisenberg:~/sha11> ghc -o perfTest 
> perfTest.hs -iIgloo/darcs-unstable/src --make -lz
> Linking perfTest ...
> Igloo/darcs-unstable/src/FastPackedString.o: In function `r4Lk_info':
> (.text+0x34c): undefined reference to `utf8_to_ints'

You need to link with fpstring.o (which in turn you get by compiling
fpstring.c).


Thanks
Ian



More information about the Haskell-Cafe mailing list