While trying to get the xpcom nsSample component to work on version
1.7.2 of Mozilla compiled for FreeBSD, I kept getting a 80040154 error
(NS_ERROR_FACTORY_NOT_REGISTERED).  I tracked this down to
PR_GetLibraryFilePathname in prlink.c in libnspr.  FreeBSD falls into
the final "Not Implemented" case.  Changing line 1719 to:

  #if defined(SOLARIS) || defined(LINUX) || defined(FREEBSD)

fixed the problem for me.  Wiser heads may have a more inclusive fix.

Dale Jordan
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to