More HaXml trouble

Peter Simons simons at cryp.to
Fri Jan 14 08:34:45 EST 2005


Hi,

after rebuilding ghc-current, I got an intact Cabal version
and managed to install HaXml successfully. However, when I
try to link a program that actually uses the package, the
linker stage fails with these errors:

  /usr/local/ghc-current/lib/HaXml-1.12.1/libHSHaXml-1.12.1.a(Combinators.o)(.text+0x3aa9): In function `__stginit_TextziXMLziHaXmlziCombinators_':
  : undefined reference to `__stginit_Maybe_'
  /usr/local/ghc-current/lib/HaXml-1.12.1/libHSHaXml-1.12.1.a(Escape.o)(.text+0x22b9): In function `__stginit_TextziXMLziHaXmlziEscape_':
  : undefined reference to `__stginit_Char_'
  /usr/local/ghc-current/lib/HaXml-1.12.1/libHSHaXml-1.12.1.a(Generate.o)(.text+0x37f1): In function `__stginit_TextziXMLziHaXmlziHtmlziGenerate_':
  : undefined reference to `__stginit_Char_'
  [...]
  collect2: ld returned 1 exit status
  *** Deleting temp files
  Deleting:

I've tried adding "-package base" to the command line, but
that didn't help. Any other idea?

Peter



More information about the Glasgow-haskell-users mailing list