ghci failed to load static archive

Simon Marlow simonmar at microsoft.com
Mon Sep 1 07:12:23 EDT 2003


>     Loading package base ... linking ... done.
>     Loading package lang ... linking ... done.
>     Loading object (static) 
> /home/pimlott/local/fudgets/lib/GhcFudgets/FudgetsXlib.o ... done
>     Loading object (static) 
> /home/pimlott/local/fudgets/lib/GhcFudgets/Fudgets.o ... done
>     Loading object (dynamic) X11 ... done
>     Loading object (dynamic) Xext ... done
>     final link ... 
> /home/pimlott/local/fudgets/lib/GhcFudgets/Fudgets.o: unknown 
> symbol `__stginit_Maybe_'
>     ghc-6.0.1: linking extra libraries/objects failed

It looks like you should force a load of the haskell98 package before
loading Fudgets.o.  Try adding a -package haskell98 on the command line.

The "right" way to fix this is to make a package from the Fudgets
library and add the correct dependencies to the package configuration.

Cheers,
	Simon




More information about the Glasgow-haskell-bugs mailing list