On 2/15/10 9:54 AM, testols ols wrote:
The code compiles successfully but gives following errors during linking. ------------------------------------------------------------Undefined symbols: "vtable for nsSupportsWeakReference", referenced from: __d...@0 in WebBrowserChrome.o "_NS_NewNativeLocalFile", referenced from: BALFFBrowser::initialize() in BALFFBrowser.o "nsQueryInterface::operator()(nsID const&, void**) const", referenced from: nsCOMPtr<nsIWebNavigation>::assign_from_qi(nsQueryInterface, nsID const&) in BALFFBrowser.o
These are all symbols that should be present in libxpcomglue.a. Do you have the actual link line that XCode is running, to make sure that the extra libraries are being linked in properly, and in the proper order?
http://benjamin.smedbergs.us/blog/2008-09-22/when-linking-the-order-of-your-command-line-can-be-important/ --BDS _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
