|
From: shelarcy <she...@gm...> - 2009-04-12 14:06:37
|
On Sun, 12 Apr 2009 17:42:11 +0900, Eric Y. Kow <eri...@gm...> wrote: > Now the problem I have is that when I cabal install my wxHaskell-using > software, I get a lot of stuff like this: > > "_wxHtmlWindow_SetBorders", referenced from: > _s1PdP_info in libHSwxcore-0.11.1.3.a(WxcClassesAL.o) > "_ELJPreviewFrame_Initialize", referenced from: > _s3Y8j_info in libHSwxcore-0.11.1.3.a(WxcClassesMZ.o) > ld: symbol(s) not found > > What I'm guessing is missing is some kind of instruction telling GHC to link > with the wxc library. > > What do you think is the right way to deal with this kind of problem? Our auto-generated config/wxcore-pkg has extra-libraries field. But wxcore/wxcore.cabal doen't have that. So, we should add extra-libraries and extra-lib-dirs fields for linking wxc library. http://www.haskell.org/ghc/docs/6.10.2/html/Cabal/authors.html#buildinfo And I think we need to add configure file for searching installed wxc library, too. http://www.haskell.org/ghc/docs/6.10.2/html/Cabal/authors.html#system-dependent Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |