"Eric Kow" <[EMAIL PROTECTED]> wrote:

> > The compilation of wxHaskell seems to proceed OK until the link
> > stage:
> >
> >     g++ -r -keep_private_externs -nostdlib -o out/wxc/master.o ....
> 
> Does obliterating this patch help at all?
>  (OS X) Check architecture to use intermediate step of compiling
> master.o or not.

Yes!  Removing that patch allowed the build to complete without errors.
I can even build some of the demo programs in the sample/contrib
directory.  But unfortunately, they all seem to crash with the following
dynamic link error:

    dyld: Symbol not found: __ZN8wxThread11TestDestroyEv
      Referenced from: /usr/local/wxhaskell/lib/libwxc-mac2.6.4-0.10.1.dylib
      Expected in: flat namespace

    Trace/BPT trap

Could this be anything to do with me building the underlying wxMac
library with --disable-shared (which was a suggestion I found on the
mailing list from a couple of years ago, originally to fix a similar
problem)?

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
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to