On Monday 2006-05-01 22:34 -0700, L. David Baron wrote: > I'm having trouble building a XPCOM component using the "dynamic glue" > strategy described in > http://developer.mozilla.org/en/docs/XPCOM_Glue#Using_Frozen_linkage_.28dependent_on_xpcom.dll.29 > on the Mac. It built on Linux and Windows. The linker dies with > unresolved symbol errors since it can't seem to find > libxpcom_core.dylib, which contains symbols used by libxpcom.dylib, > which I'm linking against. (But I'm not linking against > libxpcom_core.dylib, nor should I be.)
If I add "-Wl,-executable_path -Wl,../../../dist/bin" to the link command, those errors go away, but I get a different set of errors, starting with: ld: Undefined symbols: _stpcpy referenced from CarbonCore expected to be defined in libSystem ___setonlyClocaleconv referenced from CoreFoundation expected to be defined in libSystem _strcasestr referenced from CoreFoundation expected to be defined in libSystem _nl_langinfo referenced from libicucore expected to be defined in libSystem (I tried both with and without the trailing slash, and both at the beginning and end of the options to the link command.) -David -- L. David Baron <URL: http://dbaron.org/ > Technical Lead, Layout & CSS, Mozilla Corporation
pgpSCwFOBjOor.pgp
Description: PGP signature
_______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
