bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

warning LNK4217 and LNK4049 errors in 2.2 trunk build.

RESOLVED WONTFIX

Status

SeaMonkey
Build Config
RESOLVED WONTFIX
7 years ago
7 years ago

People

(Reporter: ewong, Unassigned)

Tracking

Trunk
x86
Windows Server 2003

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
make[5]: Leaving directory `/d/mozprgs/sm/objdir-sm-release/suite/components'
make[5]: Entering directory `/d/mozprgs/sm/objdir-sm-release/mozilla/toolkit/library'
d:/mozilla-build/python/python2.6.exe /d/mozprgs/sm/mozilla/config/pythonpath.py -I../../config /d/mozprgs/sm/mozilla/config/expandlibs_exec.py --uselist -- link -NOLOGO -DLL -OUT:xul.dll -PDB:xul.pdb -SUBSYSTEM:WINDOWS  dlldeps-xul.obj nsStaticXULComponents.obj nsDllMain.obj dlldeps.obj nsGFXDeps.obj dlldeps-zlib.obj nsUnicharUtils.obj nsBidiUtils.obj nsRDFResource.obj    ./module.res -LARGEADDRESSAWARE -NXCOMPAT -DYNAMICBASE -SAFESEH  -DEBUG -DEBUGTYPE:CV -DEBUG -OPT:REF   ../../toolkit/xre/xulapp_s.lib  ../../staticlib/components/necko.lib ../../staticlib/components/uconv.lib ../../staticlib/components/i18n.lib ../../staticlib/components/chardet.lib ../../staticlib/components/jar50.lib ../../staticlib/components/startupcache.lib ../../staticlib/components/pref.lib ../../staticlib/components/htmlpars.lib ../../staticlib/components/imglib2.lib ../../staticlib/components/gkgfx.lib ../../staticlib/components/gklayout.lib ../../staticlib/components/docshell.lib ../../staticlib/components/embedcomponents.lib ../../staticlib/components/webbrwsr.lib ../../staticlib/components/nsappshell.lib ../../staticlib/components/txmgr.lib ../../staticlib/components/commandlines.lib ../../staticlib/components/toolkitcomps.lib ../../staticlib/components/pipboot.lib ../../staticlib/components/pipnss.lib ../../staticlib/components/appcomps.lib ../../staticlib/components/composer.lib ../../staticlib/components/jetpack_s.lib ../../staticlib/components/jsctypes.lib ../../staticlib/components/jsperf.lib ../../staticlib/components/gkplugin.lib ../../staticlib/components/windowsproxy.lib ../../staticlib/components/jsd.lib ../../staticlib/components/autoconfig.lib ../../staticlib/components/auth.lib ../../staticlib/components/cookie.lib ../../staticlib/components/permissions.lib ../../staticlib/components/universalchardet.lib ../../staticlib/components/rdf.lib ../../staticlib/components/windowds.lib ../../staticlib/components/storagecomps.lib ../../staticlib/components/places.lib ../../staticlib/components/mork.lib ../../staticlib/components/tkautocomplete.lib ../../staticlib/components/satchel.lib ../../staticlib/components/pippki.lib ../../staticlib/components/imgicon.lib ../../staticlib/components/gkwidget.lib ../../staticlib/components/accessibility.lib ../../staticlib/components/spellchecker.lib ../../staticlib/components/zipwriter.lib ../../staticlib/components/services-crypto.lib ../../staticlib/components/mail.lib ../../staticlib/components/msgsmime.lib ../../staticlib/components/import.lib ../../staticlib/components/xpautocomplete.lib ../../staticlib/components/mozldap.lib ../../staticlib/jsipc_s.lib ../../staticlib/domipc_s.lib ../../staticlib/domplugins_s.lib ../../staticlib/mozipc_s.lib ../../staticlib/mozipdlgen_s.lib ../../staticlib/ipcshell_s.lib ../../staticlib/gfxipc_s.lib ../../staticlib/xpcom_core.lib ../../staticlib/ucvutil_s.lib ../../staticlib/chromium_s.lib ../../staticlib/mozreg_s.lib ../../staticlib/morkreader_s.lib ../../staticlib/thebes.lib ../../staticlib/ycbcr.lib ../../staticlib/angle.lib  ../../dist/lib/mozsqlite3.lib  ../../jpeg/jpeg3250.lib ../../modules/libimg/png/png.lib ../../gfx/qcms/mozqcms.lib d:/mozprgs/sm/objdir-sm-release/mozilla/dist/lib/mozjs.lib d:/mozprgs/sm/objdir-sm-release/mozilla/dist/lib/crmf.lib         d:/mozprgs/sm/objdir-sm-release/mozilla/dist/lib/smime3.lib         d:/mozprgs/sm/objdir-sm-release/mozilla/dist/lib/ssl3.lib         d:/mozprgs/sm/objdir-sm-release/mozilla/dist/lib/nss3.lib         d:/mozprgs/sm/objdir-sm-release/mozilla/dist/lib/nssutil3.lib ../../gfx/cairo/cairo/src/mozcairo.lib  ../../gfx/cairo/libpixman/src/mozlibpixman.lib ../../gfx/harfbuzz/src/mozharfbuzz.lib ../../gfx/ots/src/mozots.lib ../../dist/lib/nsldap32v60.lib ../../dist/lib/nsldappr32v60.lib ../../dist/lib/nsldif32v60.lib  ../../modules/zlib/src/mozz.lib   d:/mozprgs/sm/objdir-sm-release/mozilla/dist/lib/nspr4.lib d:/mozprgs/sm/objdir-sm-release/mozilla/dist/lib/plc4.lib d:/mozprgs/sm/objdir-sm-release/mozilla/dist/lib/plds4.lib  ../../dist/lib/mozalloc.lib kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib shell32.lib ole32.lib uuid.lib version.lib winspool.lib comdlg32.lib imm32.lib winmm.lib wsock32.lib msimg32.lib shlwapi.lib psapi.lib ws2_32.lib dbghelp.lib  usp10.lib oleaut32.lib   
   Creating library xul.lib and object xul.exp
mail.lib(nsMsgRDFDataSource.obj) : warning LNK4217: locally defined symbol _NS_CycleCollectorForget2_P imported in function "public: unsigned long __thiscall nsCycleCollectingAutoRefCnt::incr(class nsISupports *)" (?incr@nsCycleCollectingAutoRefCnt@@QAEKPAVnsISupports@@@Z)
mail.lib(nsAbRDFDataSource.obj) : warning LNK4049: locally defined symbol _NS_CycleCollectorForget2_P imported
mail.lib(nsMsgRDFDataSource.obj) : warning LNK4217: locally defined symbol _NS_CycleCollectorSuspect2_P imported in function "public: unsigned long __thiscall nsCycleCollectingAutoRefCnt::decr(class nsISupports *)" (?decr@nsCycleCollectingAutoRefCnt@@QAEKPAVnsISupports@@@Z)
mail.lib(nsAbRDFDataSource.obj) : warning LNK4049: locally defined symbol _NS_CycleCollectorSuspect2_P imported
mail.lib(nsMsgKeySet.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
msgsmime.lib(nsSMimeJSHelper.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
import.lib(nsComm4xProfile.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
import.lib(MapiApi.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
mail.lib(nsImapUrl.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
mail.lib(nsMsgDatabase.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
mail.lib(nsMsgSearchNews.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
mail.lib(nsMsgProtocol.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
mail.lib(nsAbLDAPDirectory.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
mail.lib(nsBayesianFilter.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
mail.lib(nsMsgCompose.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
mail.lib(nsMsgCompFields.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
mail.lib(nsMessenger.obj) : warning LNK4217: locally defined symbol _NS_Alloc_P imported in function "public: static void * __cdecl nsMemory::Alloc(unsigned int)" (?Alloc@nsMemory@@SAPAXI@Z)
mail.lib(nsMsgSearchAdapter.obj) : warning LNK4217: locally defined symbol _NS_Alloc_P imported in function "public: __thiscall nsMsgSearchValidityTable::nsMsgSearchValidityTable(void)" (??0nsMsgSearchValidityTable@@QAE@XZ)
mail.lib(nsMsgDBView.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
mail.lib(nsMsgTagService.obj) : warning LNK4049: locally defined symbol _NS_Alloc_P imported
import.lib(MapiApi.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsOutlookCompose.obj) : warning LNK4217: locally defined symbol _NS_Free_P imported in function "public: unsigned int __thiscall nsOutlookCompose::SendTheMessage(int,class nsCString &,class nsIFile * *)" (?SendTheMessage@nsOutlookCompose@@QAEIHAAVnsCString@@PAPAVnsIFile@@@Z)
import.lib(nsImportFieldMap.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsEudoraCompose.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsEudoraMailbox.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsOutlookMail.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsOEStringBundle.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsEudoraStringBundle.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsImportMail.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsImportAddressBooks.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsOutlookImport.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsWMImport.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsOutlookStringBundle.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsWMStringBundle.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsTextImport.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsVCardImport.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsEudoraImport.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
import.lib(nsOEImport.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsNNTPProtocol.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(mimeebod.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
msgsmime.lib(nsMsgComposeSecure.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
msgsmime.lib(nsSMimeJSHelper.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(comi18n.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(mimemoz2.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(mimehdrs.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMimeBaseEmitter.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsImapServerResponseParser.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgIncomingServer.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgDBFolder.obj) : warning LNK4217: locally defined symbol _NS_Free_P imported in function "public: virtual unsigned int __stdcall nsMsgDBFolder::ReadFromFolderCacheElem(class nsIMsgFolderCacheElement *)" (?ReadFromFolderCacheElem@nsMsgDBFolder@@UAGIPAVnsIMsgFolderCacheElement@@@Z)
mail.lib(nsMsgKeySet.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsAbWinHelper.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsAbLDAPListenerBase.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsSmtpProtocol.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgProtocol.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgSearchValue.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgSearchNews.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgFilterList.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsDirPrefs.obj) : warning LNK4217: locally defined symbol _NS_Free_P imported in function "public: virtual unsigned int __stdcall DirPrefObserver::Observe(class nsISupports *,char const *,unsigned short const *)" (?Observe@DirPrefObserver@@UAGIPAVnsISupports@@PBDPBG@Z)
mail.lib(nsMimeXmlEmitter.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMimeHtmlEmitter.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsNewsFolder.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMimeContentTypeHandler.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsImapMailFolder.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgDatabase.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsStreamConverter.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgHeaderParser.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgCompUtils.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsImapUrl.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsImapProtocol.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsImapService.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgCompose.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgCompFields.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgSend.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgComposeService.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsAbView.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsAbLDIFService.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsBayesianFilter.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsSmtpServer.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsAbOutlookDirectory.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsAbLDAPDirectory.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsAbLDAPCard.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsAbLDAPAutoCompFormatter.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsSubscribableServer.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgDBView.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgTagService.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsAbMDBDirectory.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMessenger.obj) : warning LNK4217: locally defined symbol _NS_Free_P imported in function "public: virtual __thiscall nsSaveAllAttachmentsState::~nsSaveAllAttachmentsState(void)" (??1nsSaveAllAttachmentsState@@UAE@XZ)
mail.lib(nsMsgAccount.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgSearchTerm.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsMsgSearchAdapter.obj) : warning LNK4049: locally defined symbol _NS_Free_P imported
mail.lib(nsAbRDFDataSource.obj) : warning LNK4049: locally defined symbol _NS_DebugBreak_P imported
mail.lib(nsAbWinHelper.obj) : warning LNK4049: locally defined symbol _NS_DebugBreak_P imported
mail.lib(nsAbLDAPListenerBase.obj) : warning LNK4049: locally defined symbol _NS_DebugBreak_P imported
mail.lib(nsImapFlagAndUidState.obj) : warning LNK4049: locally defined symbol _NS_DebugBreak_P imported
mail.lib(nsAbLDAPDirectory.obj) : warning LNK4217: locally defined symbol _NS_DebugBreak_P imported in function "public: __thiscall mozilla::Mutex::Mutex(char const *)" (??0Mutex@mozilla@@QAE@PBD@Z)
mail.lib(nsImapUrl.obj) : warning LNK4049: locally defined symbol _NS_DebugBreak_P imported
mail.lib(nsImapProtocol.obj) : warning LNK4049: locally defined symbol _NS_DebugBreak_P imported
mail.lib(nsImapIncomingServer.obj) : warning LNK4049: locally defined symbol _NS_DebugBreak_P imported
import.lib(nsEudoraEditor.obj) : error LNK2001: unresolved external symbol "public: virtual unsigned int __stdcall nsEudoraEditor::GetLastKeypressEventTrusted(int *)" (?GetLastKeypressEventTrusted@nsEudoraEditor@@UAGIPAH@Z)
import.lib(nsEudoraEditor.obj) : error LNK2001: unresolved external symbol "public: virtual unsigned int __stdcall nsEudoraHTMLImageElement::GetAccessKey(class nsAString_internal &)" (?GetAccessKey@nsEudoraHTMLImageElement@@UAGIAAVnsAString_internal@@@Z)
import.lib(nsEudoraEditor.obj) : error LNK2001: unresolved external symbol "public: virtual unsigned int __stdcall nsEudoraHTMLImageElement::SetAccessKey(class nsAString_internal const &)" (?SetAccessKey@nsEudoraHTMLImageElement@@UAGIABVnsAString_internal@@@Z)
import.lib(nsEudoraEditor.obj) : error LNK2001: unresolved external symbol "public: virtual unsigned int __stdcall nsEudoraHTMLImageElement::Blur(void)" (?Blur@nsEudoraHTMLImageElement@@UAGIXZ)
import.lib(nsEudoraEditor.obj) : error LNK2001: unresolved external symbol "public: virtual unsigned int __stdcall nsEudoraHTMLImageElement::Focus(void)" (?Focus@nsEudoraHTMLImageElement@@UAGIXZ)
import.lib(nsEudoraEditor.obj) : error LNK2001: unresolved external symbol "public: virtual unsigned int __stdcall nsEudoraHTMLImageElement::Click(void)" (?Click@nsEudoraHTMLImageElement@@UAGIXZ)
xul.dll : fatal error LNK1120: 6 unresolved externals
make[5]: *** [xul.dll] Error 96
make[5]: Leaving directory `/d/mozprgs/sm/objdir-sm-release/mozilla/toolkit/library'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/d/mozprgs/sm/objdir-sm-release/mozilla'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/d/mozprgs/sm/objdir-sm-release/mozilla'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/d/mozprgs/sm/objdir-sm-release/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/d/mozprgs/sm/objdir-sm-release'
make: *** [build] Error 2
Severity: normal → blocker
Keywords: regressionwindow-wanted
OS: Windows Vista → Windows Server 2003

Comment 1

7 years ago
I don't know why the regressionwindow-wanted keyword is there, but I don't think this is a regression, I think our fatlibxul builds have always done this. If you have a look at mobile's build, they set LIBXUL_LIBRARY=1 in their Makefile:

http://mxr.mozilla.org/mozilla-central/source/mobile/components/build/Makefile.in

(Because of branch we probably have to ifdef that.)
Ok, this has fixes on trunk for us, (had em on trunk since april at least), and we will not be adjusting code for our 2.2 release at this point.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WONTFIX

Updated

7 years ago
Keywords: regressionwindow-wanted

Updated

7 years ago
Severity: blocker → normal
You need to log in before you can comment on or make changes to this bug.