Closed Bug 181103 Opened 22 years ago Closed 22 years ago

cannot compile the latest snapshot (editor.dll unresolved symbols)

Categories

(Core :: DOM: Editor, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: gerrit, Assigned: mozeditor)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021029 Phoenix/0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021029 Phoenix/0.4

Unresolved symbols when building/linking editor.dll

Reproducible: Always

Steps to Reproduce:
1. 30290967 Nov 19 10:48 mozilla-source.tar.bz2
2. Compile it on Windows 2000


Actual Results:  
make[5]: Entering directory
`/cygdrive/f/cygwin/mozilla/mozilla/editor/libeditor/build'
rm -f editor.dll
link /NOLOGO /DLL /OUT:editor.dll /PDB:editor.pdb /SUBSYSTEM:WINDOWS 
nsEditorRegistration
.obj   ./module.res   /DEBUG /DEBUGTYPE:CV        ../html/htmleditor_s.lib
../../txtsvc/sr
c/txtsvc_s.lib  ../text/texteditor_s.lib ../base/editorbase_s.lib  
../../../dist/lib/gkgf
x.lib ../../../dist/lib/unicharutil_s.lib ../../../dist/lib/xpcom.lib
../../../dist/lib/ns
pr4.lib ../../../dist/lib/plc4.lib ../../../dist/lib/plds4.lib
../../../dist/lib/js3250.li
b  kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib
   Creating library editor.lib and object editor.exp
htmleditor_s.lib(nsHTMLDataTransfer.obj) : error LNK2019: unresolved external
symbol "publ
ic: unsigned int __thiscall nsDOMIterator::AppendList(class nsBoolDomIterFunctor
&,class n
sCOMArray<class nsIDOMNode> &)const "
(?AppendList@nsDOMIterator@@QBEIAAVnsBoolDomIterFunc
tor@@AAV?$nsCOMArray@VnsIDOMNode@@@@@Z) referenced in function "protected:
unsigned int __
thiscall nsHTMLEditor::CreateListOfNodesToPaste(class nsIDOMNode *,class
nsCOMArray<class
nsIDOMNode> &,int,int)"
(?CreateListOfNodesToPaste@nsHTMLEditor@@IAEIPAVnsIDOMNode@@AAV?$n
sCOMArray@VnsIDOMNode@@@@HH@Z)
htmleditor_s.lib(nsHTMLEditRules.obj) : error LNK2001: unresolved external
symbol "public:
 unsigned int __thiscall nsDOMIterator::AppendList(class nsBoolDomIterFunctor
&,class nsCO
MArray<class nsIDOMNode> &)const "
(?AppendList@nsDOMIterator@@QBEIAAVnsBoolDomIterFunctor
@@AAV?$nsCOMArray@VnsIDOMNode@@@@@Z)
htmleditor_s.lib(nsHTMLEditRules.obj) : error LNK2019: unresolved external
symbol "public:
 unsigned int __thiscall nsDOMIterator::MakeList(class nsBoolDomIterFunctor
&,class nsCOMA
rray<class nsIDOMNode> &)const "
(?MakeList@nsDOMIterator@@QBEIAAVnsBoolDomIterFunctor@@AA
V?$nsCOMArray@VnsIDOMNode@@@@@Z) referenced in function "protected: unsigned int
__thiscal
l nsHTMLEditRules::WillDeleteSelection(class nsISelection *,short,int *,int *)"
(?WillDele
teSelection@nsHTMLEditRules@@IAEIPAVnsISelection@@FPAH1@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "publ
ic: virtual unsigned int __stdcall
nsInsertPlaintextCommand::DoCommandParams(char const *,
class nsICommandParams *,class nsISupports *)"
(?DoCommandParams@nsInsertPlaintextCommand@
@UAGIPBDPAVnsICommandParams@@PAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "publ
ic: virtual unsigned int __stdcall nsInsertPlaintextCommand::DoCommand(char
const *,class
nsISupports *)" (?DoCommand@nsInsertPlaintextCommand@@UAGIPBDPAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "publ
ic: virtual unsigned int __stdcall
nsInsertPlaintextCommand::GetCommandStateParams(char co
nst *,class nsICommandParams *,class nsISupports *)"
(?GetCommandStateParams@nsInsertPlain
textCommand@@UAGIPBDPAVnsICommandParams@@PAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "publ
ic: virtual unsigned int __stdcall
nsInsertPlaintextCommand::IsCommandEnabled(char const *
,class nsISupports *,int *)"
(?IsCommandEnabled@nsInsertPlaintextCommand@@UAGIPBDPAVnsISup
ports@@PAH@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "publ
ic: virtual unsigned int __stdcall nsPasteQuotationCommand::DoCommandParams(char
const *,c
lass nsICommandParams *,class nsISupports *)"
(?DoCommandParams@nsPasteQuotationCommand@@U
AGIPBDPAVnsICommandParams@@PAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "publ
ic: virtual unsigned int __stdcall nsPasteQuotationCommand::DoCommand(char const
*,class n
sISupports *)" (?DoCommand@nsPasteQuotationCommand@@UAGIPBDPAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "publ
ic: virtual unsigned int __stdcall
nsPasteQuotationCommand::GetCommandStateParams(char con
st *,class nsICommandParams *,class nsISupports *)"
(?GetCommandStateParams@nsPasteQuotati
onCommand@@UAGIPBDPAVnsICommandParams@@PAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "publ
ic: virtual unsigned int __stdcall
nsPasteQuotationCommand::IsCommandEnabled(char const *,
class nsISupports *,int *)"
(?IsCommandEnabled@nsPasteQuotationCommand@@UAGIPBDPAVnsISuppo
rts@@PAH@Z)
editor.dll : fatal error LNK1120: 10 unresolved externals
make[5]: *** [editor.dll] Error 96
make[5]: Leaving directory
`/cygdrive/f/cygwin/mozilla/mozilla/editor/libeditor/build'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/cygdrive/f/cygwin/mozilla/mozilla/editor/libeditor'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/f/cygwin/mozilla/mozilla/editor'
make[2]: *** [tier_9] Error 2
make[2]: Leaving directory `/cygdrive/f/cygwin/mozilla/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/f/cygwin/mozilla/mozilla'
make: *** [build] Error 2


Expected Results:  
...

...
Again with correct linebreaks:

make[5]: Entering directory
`/cygdrive/f/cygwin/mozilla/mozilla/editor/libeditor/build'
rm -f editor.dll
link /NOLOGO /DLL /OUT:editor.dll /PDB:editor.pdb /SUBSYSTEM:WINDOWS 
nsEditorRegistration.obj   ./module.res   /DEBUG /DEBUGTYPE:CV       
../html/htmleditor_s.lib ../../txtsvc/src/txtsvc_s.lib  ../text/texteditor_s.lib
../base/editorbase_s.lib   ../../../dist/lib/gkgfx.lib
../../../dist/lib/unicharutil_s.lib ../../../dist/lib/xpcom.lib
../../../dist/lib/nspr4.lib ../../../dist/lib/plc4.lib
../../../dist/lib/plds4.lib ../../../dist/lib/js3250.lib  kernel32.lib
user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib
   Creating library editor.lib and object editor.exp
htmleditor_s.lib(nsHTMLDataTransfer.obj) : error LNK2019: unresolved external
symbol "public: unsigned int __thiscall nsDOMIterator::AppendList(class
nsBoolDomIterFunctor &,class nsCOMArray<class nsIDOMNode> &)const "
(?AppendList@nsDOMIterator@@QBEIAAVnsBoolDomIterFunctor@@AAV?$nsCOMArray@VnsIDOMNode@@@@@Z)
referenced in function "protected: unsigned int __thiscall
nsHTMLEditor::CreateListOfNodesToPaste(class nsIDOMNode *,class
nsCOMArray<classnsIDOMNode> &,int,int)"
(?CreateListOfNodesToPaste@nsHTMLEditor@@IAEIPAVnsIDOMNode@@AAV?$nsCOMArray@VnsIDOMNode@@@@HH@Z)
htmleditor_s.lib(nsHTMLEditRules.obj) : error LNK2001: unresolved external
symbol "public: unsigned int __thiscall nsDOMIterator::AppendList(class
nsBoolDomIterFunctor &,class nsCOMArray<class nsIDOMNode> &)const "
(?AppendList@nsDOMIterator@@QBEIAAVnsBoolDomIterFunctor@@AAV?$nsCOMArray@VnsIDOMNode@@@@@Z)
htmleditor_s.lib(nsHTMLEditRules.obj) : error LNK2019: unresolved external
symbol "public: unsigned int __thiscall nsDOMIterator::MakeList(class
nsBoolDomIterFunctor &,class nsCOMArray<class nsIDOMNode> &)const "
(?MakeList@nsDOMIterator@@QBEIAAVnsBoolDomIterFunctor@@AAV?$nsCOMArray@VnsIDOMNode@@@@@Z)
referenced in function "protected: unsigned int __thiscall
nsHTMLEditRules::WillDeleteSelection(class nsISelection *,short,int *,int *)"
(?WillDeleteSelection@nsHTMLEditRules@@IAEIPAVnsISelection@@FPAH1@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "public: virtual unsigned int __stdcall
nsInsertPlaintextCommand::DoCommandParams(char const *,class nsICommandParams
*,class nsISupports *)"
(?DoCommandParams@nsInsertPlaintextCommand@@UAGIPBDPAVnsICommandParams@@PAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "public: virtual unsigned int __stdcall
nsInsertPlaintextCommand::DoCommand(char const *,classnsISupports *)"
(?DoCommand@nsInsertPlaintextCommand@@UAGIPBDPAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "public: virtual unsigned int __stdcall
nsInsertPlaintextCommand::GetCommandStateParams(char const *,class
nsICommandParams *,class nsISupports *)"
(?GetCommandStateParams@nsInsertPlaintextCommand@@UAGIPBDPAVnsICommandParams@@PAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "public: virtual unsigned int __stdcall
nsInsertPlaintextCommand::IsCommandEnabled(char const *,class nsISupports *,int
*)" (?IsCommandEnabled@nsInsertPlaintextCommand@@UAGIPBDPAVnsISupports@@PAH@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "public: virtual unsigned int __stdcall
nsPasteQuotationCommand::DoCommandParams(char const *,class nsICommandParams
*,class nsISupports *)"
(?DoCommandParams@nsPasteQuotationCommand@@UAGIPBDPAVnsICommandParams@@PAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "public: virtual unsigned int __stdcall
nsPasteQuotationCommand::DoCommand(char const *,class nsISupports *)"
(?DoCommand@nsPasteQuotationCommand@@UAGIPBDPAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "public: virtual unsigned int __stdcall
nsPasteQuotationCommand::GetCommandStateParams(char const *,class
nsICommandParams *,class nsISupports *)"
(?GetCommandStateParams@nsPasteQuotationCommand@@UAGIPBDPAVnsICommandParams@@PAVnsISupports@@@Z)
editorbase_s.lib(nsEditorController.obj) : error LNK2001: unresolved external
symbol "public: virtual unsigned int __stdcall
nsPasteQuotationCommand::IsCommandEnabled(char const *,class nsISupports *,int
*)" (?IsCommandEnabled@nsPasteQuotationCommand@@UAGIPBDPAVnsISupports@@PAH@Z)
editor.dll : fatal error LNK1120: 10 unresolved externals
make[5]: *** [editor.dll] Error 96
make[5]: Leaving directory
`/cygdrive/f/cygwin/mozilla/mozilla/editor/libeditor/build'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/cygdrive/f/cygwin/mozilla/mozilla/editor/libeditor'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/f/cygwin/mozilla/mozilla/editor'
make[2]: *** [tier_9] Error 2
make[2]: Leaving directory `/cygdrive/f/cygwin/mozilla/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/f/cygwin/mozilla/mozilla'
make: *** [build] Error 2

Have you tried a clobber build ?
The tinderbox is green and i have no problem building.
Assignee: asa → seawood
Severity: blocker → major
Component: Browser-General → Build Config
QA Contact: asa → granrose
No obvious build config issues here. Over to the editor team.
Assignee: seawood → jfrancis
Component: Build Config → Editor: Core
QA Contact: granrose → sujay
Hallo,

no, I didn't make clean during the tries.
I'm just cleaning out my tree and will try with a fresh
tarball tomorrow.  Thanks for your replies.


Gerrit
wfm
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
v wfm
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.