Hello,
I'm writing an xpcom component for a XULRunner application. In this
component, I'm #including "nsStringAPI.h" to use NS_ConvertUTF8toUTF16()
and i'm linking my component with -lxpcomglue -lnspr4 -lplds4 -lxpcom
-lxpcom_core.
So far so good.
But when launching xulrunner, it fails with :
nsNativeModuleLoader::LoadModule("/home/desrefa/Projects/xul/explorer/components/tools.so")
- load FAILED, rv: 80004005, error:
/home/desrefa/Projects/xul/explorer/components/tools.so: undefined
symbol: _Z13NS_StringCopyR9nsAStringRKS_
nsNativeModuleLoader::LoadModule("/home/desrefa/Projects/xul/explorer/components/tools.so")
- load FAILED, rv: 80004005, error:
/home/desrefa/Projects/xul/explorer/components/tools.so: undefined
symbol: _Z13NS_StringCopyR9nsAStringRKS_
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
nsChromeRegistry.cpp, line 1239
Any hints ?
Thanks,
Fabrice
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom