Hello GHC people,

I'm having a lot of fun with GHC and wxHaskell, but at one point something
unwanted happened. I created a version of wxHaskell from source with extra
GHC options "-prof -auto-all"; I wanted to have a profiling version of
wxHaskell so I can get a stack trace when my program crashes. The creation
and installation of that version of wxHaskell went fine. When I tried to
load my project NetEdit into ghci, I got the message at the end of this
e-mail.  Using ghc (instead of GHCi) gives another message:

src/Common.hs:3:
    Failed to load interface for `Graphics.UI.WX':
        Could not find interface file for `Graphics.UI.WX'
        (use -v to see a list of the files searched for)

Cheers, Arjan

------------------

C:\dev\netedit\NetEdit>ghci -package wx -lsmilec -ilib\DData:src src\Main.hs
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.2.1, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base ... linking ... done.
Loading package haskell98 ... linking ... done.
Loading package lang ... linking ... done.
Loading package concurrent ... linking ... done.
Loading package QuickCheck ... linking ... done.
Loading package util ... linking ... done.
Loading package data ... linking ... done.
Loading package wxcore ... linking ... WARNING: Overflown relocation field
(# re
locs found: 30765)

C:/cygwin/usr/local/lib/wxcore0.o: unknown symbol `_CC_LIST'
ghc.exe: panic! (the `impossible' happened, GHC version 6.2.1):
        can't load package `wxcore'

Please report it as a compiler bug to [EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to