From: Eric K. <eri...@gm...> - 2006-02-01 20:15:23
|
Hi, Yes, I have encountered this before, and it was very annoying. See: http://bugzilla.opendarwin.org/show_bug.cgi?id=3D5006 The thing that fixed it for me is --disable-shared with wxWidgets,=20 which is odd because you seem to have configured with that as well. Maybe you should make sure you don't still have the shared version=20 around. For example, you could do wx-config --libs and wxconfig --libs --static to see if they are different. If you want=20= to keep both versions, maybe something like (wxhaskell) ./configure=20 --wx-config=3D"wx-config --static" would help. Glad to know I'm not alone there. Luckily, we've also got Gregory=20 Wright, the guy who takes care of haskell stuff on DarwinPorts, on our=20= side :-) On 1 f=E9vr. 06, at 19:37, Jean Boucquey wrote: > I'm trying to build wxHaskell 0.9.4 with wxMac 2.6.1 (tried with=20 > 2.6.2) and GHC 6.4.1 on MacOS 10.4.4 (gcc 4.0.0). > wxWidget is configured with --disable-shared and --disable-unicode. > > Compilation of the "wxc" layer goes fine but the linking of=20 > libwxc-mac2.6.1-0.9.4.dylib fails complaining about "weak=20 > definitions": > ld: out/wxc/master.o undefined symbol 36218 (__ZdaPv) can't be a weak=20= > definition > > Before I dig into the "dirty" details, I would like to know if I=20 > missed anything and/or if anybody encourtered this before (and maybe=20= > knows the solution...). --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |