I've followed the instructions at http://developer.mozilla.org/en/docs/XPCOM_Glue and no matter what I do I still run up against this problem on MacOSX too. I can compile (and run) my component fine on windows. I think the docs there must be just plain wrong too.
__Z20NS_NewGenericModule2P12nsModuleInfoPP9nsIModule "Benjamin Smedberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Keren Dong wrote: >> Hi, >> >> I am trying build a xpcom sample from >> http://www.iosart.com/firefox/xpcom/ on Mac OS X, and my makefile is as >> bellow: > > I'm not sure why people keep using this tutorial (perhaps because there's > nothing better), but it is wrong in many ways. In particular, it is using > the standalone glue (-DXPCOM_GLUE) for components, which is not > recommended. > See http://developer.mozilla.org/en/docs/XPCOM_Glue > > --BDS _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
