[webkit-help] [win_cairo] rev 45967 Errors while linking WebKit

Thomas Brodt thomas.brodt at porabo.ch
Thu Jul 16 01:19:59 PDT 2009


Hi,

I currently have problems generating the win32_cairo release of a 
webkit.dll. The compile of WebCore and its prereqs was all OK, but 
linking WebKit.dll produced lots of errors due to redefinitions and 
unresolved symbols.
Is this an interim issue of this revision with some major rework?

Is there any recent revision since the landing of the cairo port "known 
as good"?

Thanks for any hints.

Thomas


Linking...
WebCore.lib(Storage.obj) : error LNK2005: "public: __thiscall 
WebCore::Storage::~Storage(void)" (??1Storage at WebCore@@QAE at XZ) already 
defined in WebCore.lib(InspectorController.obj)
error C2220: warning treated as error - no 'executable' file generated
warning C4743: 'const WebCore::InlineBox::`vftable'' has different size 
in 'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderBlock.cpp' and 
'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderBox.cpp': 112 and 
116 bytes
warning C4743: 'const WebCore::InlineRunBox::`vftable'' has different 
size in 'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderBlock.cpp' 
and 'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderText.cpp': 120 
and 124 bytes
warning C4743: 'const WebCore::InlineFlowBox::`vftable'' has different 
size in 
'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderInline.cpp' and 
'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderBlock.cpp': 160 
and 156 bytes
warning C4743: 'const WebCore::InlineBox::`vftable'' has different size 
in 'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RootInlineBox.cpp' 
and 'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderBox.cpp': 112 
and 116 bytes
warning C4743: 'const WebCore::InlineFlowBox::`vftable'' has different 
size in 
'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderSVGText.cpp' and 
'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderBlock.cpp': 160 
and 156 bytes
warning C4743: 'const WebCore::RootInlineBox::`vftable'' has different 
size in 
'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderSVGText.cpp' and 
'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderBlock.cpp': 164 
and 160 bytes
warning C4743: 'const WebCore::InlineFlowBox::`vftable'' has different 
size in 
'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderSVGInline.cpp' and 
'c:\cygwin\home\thomas\WebKit\WebCore\rendering\RenderBlock.cpp': 160 
and 156 bytes
WebCore.lib(StorageSyncManager.obj) : error LNK2005: "public: __thiscall 
WebCore::StorageSyncManager::~StorageSyncManager(void)" 
(??1StorageSyncManager at WebCore@@QAE at XZ) already defined in 
WebCore.lib(InspectorDOMStorageResource.obj)
WebCore.lib(LocalStorageTask.obj) : error LNK2005: "public: __thiscall 
WebCore::LocalStorageTask::~LocalStorageTask(void)" 
(??1LocalStorageTask at WebCore@@QAE at XZ) already defined in 
WebCore.lib(InspectorDOMStorageResource.obj)
WebCore.lib(StorageAreaSync.obj) : error LNK2005: "public: __thiscall 
WebCore::StorageAreaSync::~StorageAreaSync(void)" 
(??1StorageAreaSync at WebCore@@QAE at XZ) already defined in 
WebCore.lib(InspectorDOMStorageResource.obj)
   Creating library 
C:\cygwin\home\thomas\WebKit\WebKitBuild\lib\WebKit.lib and object 
C:\cygwin\home\thomas\WebKit\WebKitBuild\lib\WebKit.exp
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other 
libs; use /NODEFAULTLIB:library
GEN_DOMHTMLElement.obj : error LNK2001: unresolved external symbol 
"public: void __thiscall WebCore::HTMLElement::setDraggable(bool)" 
(?setDraggable at HTMLElement@WebCore@@QAEX_N at Z)
GEN_DOMHTMLFormElement.obj : error LNK2001: unresolved external symbol 
"public: void __thiscall WebCore::HTMLFormElement::submit(class 
WebCore::Event *,bool,bool)" 
(?submit at HTMLFormElement@WebCore@@QAEXPAVEvent at 2@_N1 at Z)
WebCore.lib(PageGroup.obj) : error LNK2001: unresolved external symbol 
"public: void __thiscall WebCore::StorageNamespace::close(void)" 
(?close at StorageNamespace@WebCore@@QAEXXZ)
WebCore.lib(PageGroup.obj) : error LNK2001: unresolved external symbol 
"public: __thiscall WebCore::StorageNamespace::~StorageNamespace(void)" 
(??1StorageNamespace at WebCore@@QAE at XZ)
WebCore.lib(HTMLElementsAllInOne.obj) : error LNK2001: unresolved 
external symbol "class WebCore::String __cdecl WebCore::parseURL(class 
WebCore::String const &)" (?parseURL at WebCore@@YA?AVString at 1@ABV21@@Z)
WebCore.lib(HTMLElementsAllInOne.obj) : error LNK2001: unresolved 
external symbol "public: void __thiscall 
WebCore::FrameLoader::submitForm(char const *,class WebCore::String 
const &,class WTF::PassRefPtr<class WebCore::FormData>,class 
WebCore::String const &,class WebCore::String const &,class 
WebCore::String const &,bool,bool,class WTF::PassRefPtr<class 
WebCore::Event>,class WTF::PassRefPtr<class WebCore::FormState>)" 
(?submitForm at FrameLoader@WebCore@@QAEXPBDABVString at 2@V?$PassRefPtr at VFormData@WebCore@@@WTF@@111_N3V?$PassRefPtr at VEvent@WebCore@@@5 at V?$PassRefPtr at VFormState@WebCore@@@5@@Z)
WebCore.lib(ScriptController.obj) : error LNK2001: unresolved external 
symbol "public: void __thiscall JSC::Debugger::detach(class 
JSC::JSGlobalObject *)" (?detach at Debugger@JSC@@QAEXPAVJSGlobalObject at 2@@Z)
WebCore.lib(Position.obj) : error LNK2001: unresolved external symbol 
"public: class WebCore::InlineBox * __thiscall 
WebCore::InlineBox::nextLeafChild(void)" 
(?nextLeafChild at InlineBox@WebCore@@QAEPAV12 at XZ)
WebCore.lib(Position.obj) : error LNK2001: unresolved external symbol 
"public: class WebCore::InlineBox * __thiscall 
WebCore::InlineBox::prevLeafChild(void)" 
(?prevLeafChild at InlineBox@WebCore@@QAEPAV12 at XZ)
WebCore.lib(Chrome.obj) : error LNK2001: unresolved external symbol 
"public: class WTF::PassRefPtr<class WebCore::StorageNamespace> 
__thiscall WebCore::StorageNamespace::copy(void)" 
(?copy at StorageNamespace@WebCore@@QAE?AV?$PassRefPtr at VStorageNamespace@WebCore@@@WTF@@XZ)
WebCore.lib(RenderSlider.obj) : error LNK2001: unresolved external 
symbol "public: virtual bool __thiscall 
WebCore::HTMLElement::draggable(void)const " 
(?draggable at HTMLElement@WebCore@@UBE_NXZ)
WebCore.lib(DerivedSources.obj) : error LNK2001: unresolved external 
symbol "public: class JSC::JSValue __thiscall 
WebCore::JSWorkerContext::messageChannel(class JSC::ExecState *)const " 
(?messageChannel at JSWorkerContext@WebCore@@QBE?AVJSValue at JSC@@PAVExecState at 4@@Z)
WebCore.lib(RenderBox.obj) : error LNK2001: unresolved external symbol 
"public: virtual class WebCore::InlineBox * __thiscall 
WebCore::InlineBox::firstLeafChild(void)" 
(?firstLeafChild at InlineBox@WebCore@@UAEPAV12 at XZ)
WebCore.lib(RenderBox.obj) : error LNK2001: unresolved external symbol 
"public: virtual class WebCore::InlineBox * __thiscall 
WebCore::InlineBox::lastLeafChild(void)" 
(?lastLeafChild at InlineBox@WebCore@@UAEPAV12 at XZ)
WebCore.lib(SVGAllInOne.obj) : error LNK2001: unresolved external symbol 
"public: virtual void __thiscall WebCore::Document::addMessage(enum 
WebCore::MessageDestination,enum WebCore::MessageSource,enum 
WebCore::MessageLevel,class WebCore::String const &,unsigned int,class 
WebCore::String const &)" 
(?addMessage at Document@WebCore@@UAEXW4MessageDestination at 2@W4MessageSource at 2@W4MessageLevel at 2@ABVString at 2@I3 at Z)
WebCore.lib(SVGAllInOne.obj) : error LNK2001: unresolved external symbol 
"public: void __thiscall WebCore::Console::addMessage(enum 
WebCore::MessageSource,enum WebCore::MessageLevel,class WebCore::String 
const &,unsigned int,class WebCore::String const &)" 
(?addMessage at Console@WebCore@@QAEXW4MessageSource at 2@W4MessageLevel at 2@ABVString at 2@I2 at Z)
WebCore.lib(RenderInline.obj) : error LNK2001: unresolved external 
symbol "public: virtual class WebCore::InlineBox * __thiscall 
WebCore::InlineFlowBox::firstLeafChild(void)" 
(?firstLeafChild at InlineFlowBox@WebCore@@UAEPAVInlineBox at 2@XZ)
WebCore.lib(RenderInline.obj) : error LNK2001: unresolved external 
symbol "public: virtual class WebCore::InlineBox * __thiscall 
WebCore::InlineFlowBox::lastLeafChild(void)" 
(?lastLeafChild at InlineFlowBox@WebCore@@UAEPAVInlineBox at 2@XZ)
WebCore.lib(RenderPartObject.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
WebCore::RenderPart::setWidget(class WebCore::Widget *)" 
(?setWidget at RenderPart@WebCore@@UAEXPAVWidget at 2@@Z)
WebCore.lib(RenderPartObject.obj) : error LNK2001: unresolved external 
symbol "private: virtual void __thiscall 
WebCore::RenderPart::deleteWidget(class WebCore::Widget *)" 
(?deleteWidget at RenderPart@WebCore@@EAEXPAVWidget at 2@@Z)
WebCore.lib(RenderListBox.obj) : error LNK2001: unresolved external 
symbol "public: void __thiscall WebCore::ScrollView::addChild(class 
WebCore::Widget *)" (?addChild at ScrollView@WebCore@@QAEXPAVWidget at 2@@Z)
C:\cygwin\home\thomas\WebKit\WebKitBuild\bin\WebKit.dll : fatal error 
LNK1120: 21 unresolved externals
Build log was saved at 
"file://C:\cygwin\home\thomas\WebKit\WebKitBuild\obj\WebKit\Release_Cairo\BuildLog.htm"
WebKit - 26 error(s), 2 warning(s)




More information about the webkit-help mailing list