I've been struggling with this for a while, and I just can't seem to get this to work. I'm trying to build my embedding app on an Intel- based mac. I did a Universal Binary shared build of Firefox 1.52, and I just can't seem to get this guy to link. Everything compiles OK, however.

I am linking to these libraries:

libembed_base_s.a
libxpcomglue_s.a
libxpcom.dylib
libnspr4.dylib
libplc4.dylib
libplds4.dylib

All the symbols my app needs are defined (well, it can't find typeinfo for nsSupportsWeakReference for some reason...), but libxpcom seems to be statically linked to libxpcom_core.dylib, which is not part of the sdk (yes, I realize this way of embedding is deprecated, but changing to XUL Runner is not feasible at this point).

Should I in fact be linking to libxpcom_core.dylib? If I do, I seem to get errors about multiply-defined symbols between libxpcom and libxpcom_core, but I seem to survive that. That just leaves me trying to figure out what's up with nsSupportsWeakReference...

Any help is greatly appreciated. Unfortunately there is no longer a mac mailing list...

J

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to