It's a side effect of dynamic linking, or, lack of support for it in ghci. You
can't work around it. I've tried.
Sent from my iPad
On Dec 27, 2010, at 9:14 PM, Alexander Bau a...@imn.htwk-leipzig.de wrote:
GHCi and cabal didn't work, but ghc --make did.
Neither GHCi, cabal nor ghc --make
We had this problem with a binding to a C++ library (through a C
wrapper). GHCi and cabal didn't work, but ghc --make did. How are you
compiling exactly when you get this error? This is somehow related to
TH, without it, at least cabal also works. I'm not sure about GHCi.
There's also a relevant
GHCi and cabal didn't work, but ghc --make did.
Neither GHCi, cabal nor ghc --make works.
I refactored my code, so that all TH related stuff does not depend on
wxHaskell, i.e. wxHaskell doesn't need to be loaded during THs code
generation. Then ghc --make works fine. But when using cabal, the