Hello,
I've written an XPCOM that was using char* as string parameters. It
kind of worked, but I switched to nsAString to better manage some
encoding issues.
Since then, XulRunner (a recent linux cvs build) is unable to load my
component :
nsNativeModuleLoader::LoadModule("/home/desrefa/utils/xulrunner/components/orgaComponent.so")
- load FAILED, rv: 80004005, error:
/home/desrefa/utils/xulrunner/components/orgaComponent.so:
undefined symbol: _ZNK10nsACString12BeginReadingEv
I'm linking against libxpcomglue_s.a , nspr4, plds4 and lxpcom, and I did
not define XPCOM_GLUE.
The offending symbol is indeed provided by libxpcomglue_s.a as shown by :
$ nm ~/soft/xulrunner/mozilla/dist/sdk/lib/libxpcomglue_s.a | grep
_ZNK10nsACString12BeginReadingEv
$ 00000036 T _ZNK10nsACString12BeginReadingEv
Any hints ?
Thanks,
Fabrice
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom