I am trying to build the src from M0.7 on my Win32 platform.  When I attempt to build xpcom.dll I get the following link errors.  I've tried a few things in hopes of solving this problem but nothing seems to work.  I attempted to define NO_BUILD_REFCNT_LOGGING as well as _IMPL_NS_COM but these should already be defined within the build scripts -- they were basically just a shot in the dark.  Has anyone seen this happen???  I can't build my project that links to XPCOM.lib because it complains that the following interfaces aren't exported (instead they are getting imported!!?????)
 
Creating library .\WIN32_D.OBJ\xpcom.lib and object .\WIN32_D.OBJ\xpcom.exp
LINK : warning LNK4049:
locally defined symbol "_XPTI_GetInterfaceInfoManager" imported
LINK : warning LNK4049:
locally defined symbol ""public: static void __cdecl nsDebug::Assertion(char const *,char const *,char const *,int)" (?Assertion@nsDebug@@SAXPBD00H@Z)" imported
LINK : warning LNK4049:
locally defined symbol ""public: static void __cdecl nsDebug::PreCondition(char const *,char const *,char const *,int)" (?PreCondition@nsDebug@@SAXPBD00H@Z)" imported
LINK : warning LNK4049:
locally defined symbol ""public: static void __cdecl nsTraceRefcnt::LogAddRef(void *,unsigned long,char const *,unsigned int)" (?LogAddRef@nsTraceRefcnt@@SAXPAXKPBDI@Z)" imported
LINK : warning LNK4049:
locally defined symbol ""public: static void __cdecl nsTraceRefcnt::LogRelease(void *,unsigned long,char const *)" (?LogRelease@nsTraceRefcnt@@SAXPAXKPBD@Z)" imported
LINK : warning LNK4049:
locally defined symbol ""public: __thiscall nsCreateInstanceByContractID::nsCreateInstanceByContractID(char const *,class nsISupports *,unsigned int *)" (??0nsCreateInstanceByContractID@@QAE@PBDPAVnsISupports@@PAI@Z)" imported
LINK : warning LNK4049:
locally defined symbol ""public: virtual __thiscall nsGetServiceByContractID::~nsGetServiceByContractID(void)" (??1nsGetServiceByContractID@@UAE@XZ)" imported
LINK : warning LNK4049:
locally defined symbol ""public: __thiscall nsGetServiceByContractID::nsGetServiceByContractID(char const *,class nsISupports *,unsigned int *)" (??0nsGetServiceByContractID@@QAE@PBDPAVnsISupports@@PAI@Z)" imported
LINK : warning LNK4049:
locally defined symbol ""public: __thiscall nsQueryInterface::nsQueryInterface(class nsISupports *,unsigned int *)" (??0nsQueryInterface@@QAE@PAVnsISupports@@PAI@Z)" imported
LINK : warning LNK4049:
locally defined symbol ""public: __thiscall nsAutoLock::~nsAutoLock(void)" (??1nsAutoLock@@QAE@XZ)" imported
LINK : warning LNK4049:
locally defined symbol ""public: __thiscall nsAutoLock::nsAutoLock(struct PRLock *)" (??0nsAutoLock@@QAE@PAUPRLock@@@Z)" imported
LINK : warning LNK4049:
locally defined symbol ""public: static void __cdecl nsTraceRefcnt::LogCtor(void *,char const *,unsigned int)" (?LogCtor@nsTraceRefcnt@@SAXPAXPBDI@Z)" imported
LINK : warning LNK4049:
locally defined symbol ""public: static void __cdecl nsTraceRefcnt::LogDtor(void *,char const *,unsigned int)" (?LogDtor@nsTraceRefcnt@@SAXPAXPBDI@Z)" imported
LINK : warning LNK4049:
 locally defined symbol ""public: static void __cdecl nsCRT::free(char *)" (?free@nsCRT@@SAXPAD@Z)" imported
LINK : warning LNK4049:
locally defined symbol ""public: char * __thiscall nsID::ToString(void)const " (?ToString@nsID@@QBEPADXZ)" imported
LINK : warning LNK4049:
locally defined symbol ""public: int __thiscall nsID::Parse(char const *)" (?Parse@nsID@@QAEHPBD@Z)" imported
Installing .\WIN32_D.OBJ\xpcom.dll into ..\..\dist\WIN32_D.OBJ\bin\xpcom.dll

Reply via email to