More HaXml trouble

Simon Marlow simonmar at microsoft.com
Fri Jan 14 08:39:47 EST 2005


On 14 January 2005 13:35, Peter Simons wrote:

> 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)(.t
ext+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?

Looks like the HaXml package spec is missing a dependency on haskell98.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list