I'm attempting to install wxHaskell from the darcs repo at
darcs.haskell.org, under ghc-6.6. on MacOS 10.4.11, with wxMac-2.6.4.
The compilation of wxHaskell seems to proceed OK until the link stage:
g++ -r -keep_private_externs -nostdlib -o out/wxc/master.o ....
which failed because there is no -lstdc++-static on my machine. I found
the place in the makefile to replace -lstdc++-static with the dynamic
-lstdc++, and compilation proceeds further, but not much:
g++ -dynamiclib -install_name
/usr/local/wxhaskell/lib/libwxc-mac2.6.4-0.10.1.dylib -undefined suppress
-flat_namespace -o out/wxc/libwxc-mac2.6.4-0.10.1.dylib out/wxc/master.o
-lwx_macu_gl-2.6 -L/usr/local/lib -framework QuickTime -framework IOKit
-framework Carbon -framework Cocoa -framework System -lwx_macu_media-2.6
-lwx_macu-2.6
ld: out/wxc/master.o undefined symbol 12387 (__ZTI10wxListBase) can't be a
weak definition
/usr/bin/libtool: internal link edit command failed
The offending symbol __ZTI10wxListBase looks like it might be a
z-encoded symbol from Haskell-land, but I'm not sure how to proceed.
Regards,
Malcolm
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxhaskell-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users