Re: unknown symbol `__stginit_List_'

2003-10-29 Thread Volker Stolz
In local.glasgow-haskell-users, you wrote:
 (This is when invoking ghci -package yahu)
 Loading package base ... linking ... done.
 Loading package yahu ... linking ...
 /.../chalmers.se/fs/cab/cs/work/proj/multi/pub/lib/yahu/Yahu/YahuHaskell.o:
 unknown symbol `__stginit_List_'
 ghc-6.0.1: panic! (the `impossible' happened, GHC version 6.0.1):
 can't load package `yahu'

You need to add -package haskell98. You can either do this on the
commandline or, better, in package.conf.
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
rage against the finite state machine 
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: unknown symbol `__stginit_List_'

2003-10-29 Thread Malcolm Wallace
Josef Svenningsson [EMAIL PROTECTED] writes:

 (This is when invoking ghci -package yahu)
 
 Loading package base ... linking ... done.
 Loading package yahu ... linking ...
 /.../chalmers.se/fs/cab/cs/work/proj/multi/pub/lib/yahu/Yahu/YahuHaskell.o:
 unknown symbol `__stginit_List_'
 ghc-6.0.1: panic! (the `impossible' happened, GHC version 6.0.1):
 can't load package `yahu'
 
 I'm surprised by this. Why do I get this error message? From the name of
 the symbol I would expect that it can be found in package base but
 aparently not... Please advice.

The List module is not in package 'base', but in package 'haskell98'.
In your package.conf file for yahu, you probably just need to add an
explicit dependency on the 'haskell98' package.

Regards,
Malcolm
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users