[webkit-dev] Windows build error during link
Mike McMullen
mike at softsource.com
Tue Mar 4 10:23:39 PST 2008
Brent you are correct about the default target of Debug_internal for the IDE
builds (the drop down box was small enough to hide '_internal' so I
completely missed it).
Unfortunately that did not solve the problem. I deleted the WebKitBuild
directory and only used the build-webkit script with the --debug option. I
attached the second running of build-webkit (to abbreviate the entire
listing) and it is successful up to the WebKit subproject where it complains
about _Raise and _Throw just like the Debug_internal builds.
Mike
==============================================================
<mailto:Mike at mako> Mike at mako /cygdrive/c/cygwin/home/mike
$ ./WebKit/WebKitTools/Scripts/build-webkit --debug
Subroutine main::tmpfile redefined at /usr/lib/perl5/5.8/Exporter.pm line
65.
at /usr/lib/perl5/5.8/cygwin/POSIX.pm line 19
Subroutine main::tmpnam redefined at /usr/lib/perl5/5.8/Exporter.pm line 65.
at /usr/lib/perl5/5.8/cygwin/POSIX.pm line 19
Checking mod-date of WebKitSupportLibrary.zip...
Current WebKitSupportLibrary is up to date
Building results into: /home/mike/WebKit/WebKitBuild
WEBKITOUTPUTDIR is set to: c:\cygwin\home\mike\WebKit\WebKitBuild
WEBKITLIBRARIESDIR is set to: c:\cygwin\home\mike\WebKit\WebKitLibraries\win
/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com
win\W
ebKit.vcproj\WebKit.sln /build Debug
Microsoft (R) Visual Studio Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
------ Build started: Project: JavaScriptCoreGenerated, Configuration:
Release W
in32 ------
Performing Makefile project actions
set PATH=%PATH%;%SystemDrive%\cygwin\bin
bash build-generated-files.sh "c:\cygwin\home\mike\WebKit\WebKitBuild"
"c:\cygw
in\home\mike\WebKit\WebKitLibraries\win"
make: Nothing to be done for `all'.
mkdir 2>NUL
"c:\cygwin\home\mike\WebKit\WebKitBuild\include\JavaScriptCore\Java
ScriptCore"
xcopy /y /d "..\..\API\APICast.h"
"c:\cygwin\home\mike\WebKit\WebKitBuild\inclu
de\JavaScriptCore\JavaScriptCore"
0 File(s) copied
xcopy /y /d "..\..\API\JavaScript.h"
"c:\cygwin\home\mike\WebKit\WebKitBuild\in
clude\JavaScriptCore\JavaScriptCore"
0 File(s) copied
xcopy /y /d "..\..\API\JSBase.h"
"c:\cygwin\home\mike\WebKit\WebKitBuild\includ
e\JavaScriptCore\JavaScriptCore"
0 File(s) copied
xcopy /y /d "..\..\API\JSContextRef.h"
"c:\cygwin\home\mike\WebKit\WebKitBuild\
include\JavaScriptCore\JavaScriptCore"
0 File(s) copied
xcopy /y /d "..\..\API\JSObjectRef.h"
"c:\cygwin\home\mike\WebKit\WebKitBuild\i
nclude\JavaScriptCore\JavaScriptCore"
0 File(s) copied
xcopy /y /d "..\..\API\JSStringRef.h"
"c:\cygwin\home\mike\WebKit\WebKitBuild\i
nclude\JavaScriptCore\JavaScriptCore"
0 File(s) copied
xcopy /y /d "..\..\API\JSStringRefCF.h"
"c:\cygwin\home\mike\WebKit\WebKitBuild
\include\JavaScriptCore\JavaScriptCore"
0 File(s) copied
xcopy /y /d "..\..\API\JSStringRefBSTR.h"
"c:\cygwin\home\mike\WebKit\WebKitBui
ld\include\JavaScriptCore\JavaScriptCore"
0 File(s) copied
xcopy /y /d "..\..\API\JSValueRef.h"
"c:\cygwin\home\mike\WebKit\WebKitBuild\in
clude\JavaScriptCore\JavaScriptCore"
0 File(s) copied
xcopy /y /d "..\..\API\JavaScriptCore.h"
"c:\cygwin\home\mike\WebKit\WebKitBuil
d\include\JavaScriptCore\JavaScriptCore"
0 File(s) copied
xcopy /y /d "..\..\API\JSRetainPtr.h"
"c:\cygwin\home\mike\WebKit\WebKitBuild\i
nclude\JavaScriptCore\JavaScriptCore"
0 File(s) copied
Build log was saved at "
<file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\JavaSc>
file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\JavaSc
riptCoreGenerated\Release\BuildLog.htm"
JavaScriptCoreGenerated - 0 error(s), 0 warning(s)
------ Build started: Project: WebCoreGenerated, Configuration: Release
Win32 --
----
Performing Makefile project actions
make: Nothing to be done for `all'.
make: Nothing to be done for `all'.
Build log was saved at "
<file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\WebCor>
file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\WebCor
eGenerated\Release\BuildLog.htm"
WebCoreGenerated - 0 error(s), 0 warning(s)
------ Build started: Project: InterfacesGenerated, Configuration: Release
Win32
------
Performing Makefile project actions
make: Nothing to be done for `all'.
Build log was saved at "
<file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\Interf>
file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\Interf
acesGenerated\Release\BuildLog.htm"
InterfacesGenerated - 0 error(s), 0 warning(s)
------ Build started: Project: WebKit, Configuration: Debug Win32 ------
Performing Pre-Build Event...
cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis
warn
ings are not available in this edition of the compiler
tmp.cpp
File not found - *
0 File(s) copied
Linking...
LINK : warning LNK4044: unrecognized option '/dynamicbase'; ignored
Creating library c:\cygwin\home\mike\WebKit\WebKitBuild\lib\WebKit.lib
and ob
ject c:\cygwin\home\mike\WebKit\WebKitBuild\lib\WebKit.exp
WebCore_debug.lib(RenderLayer.obj) : error LNK2019: unresolved external
symbol "
__declspec(dllimport) public: void __thiscall
std::exception::_Raise(void)const
" ( <mailto:__imp_?_Raise at exception@std@@QBEXXZ>
__imp_?_Raise at exception@std@@QBEXXZ) referenced in function "struct
std::pair
<class WebCore::RenderLayer * *,int> __cdecl std::get_temporary_buffer<class
Web
Core::RenderLayer *>(int)" (
<mailto:??$get_temporary_buffer at PAVRenderLayer@WebCore@@@std>
??$get_temporary_buffer at PAVRenderLayer@WebCore@@@std
@@YA?AU?$pair at PAPAVRenderLayer@WebCore@@H at 0@H at Z)
WebCore_debug.lib(CanvasGradient.obj) : error LNK2001: unresolved external
symbo
l "__declspec(dllimport) public: void __thiscall
std::exception::_Raise(void)con
st " ( <mailto:__imp_?_Raise at exception@std@@QBEXXZ>
__imp_?_Raise at exception@std@@QBEXXZ)
WebCore_debug.lib(RenderLayer.obj) : error LNK2019: unresolved external
symbol "
__declspec(dllimport) public: __thiscall std::exception::exception(char
const *,
int)" ( <mailto:__imp_??0exception at std@@QAE at PBDH@Z>
__imp_??0exception at std@@QAE at PBDH@Z) referenced in function "public: __thi
scall std::bad_alloc::bad_alloc(char const *)" (
<mailto:??0bad_alloc at std@@QAE at PBD@Z> ??0bad_alloc at std@@QAE at PBD@Z)
WebCore_debug.lib(CanvasGradient.obj) : error LNK2001: unresolved external
symbo
l "__declspec(dllimport) public: __thiscall std::exception::exception(char
const
*,int)" ( <mailto:__imp_??0exception at std@@QAE at PBDH@Z>
__imp_??0exception at std@@QAE at PBDH@Z)
WebCore_debug.lib(RenderLayer.obj) : error LNK2019: unresolved external
symbol "
__declspec(dllimport) void __cdecl std::_Throw(class std::exception const
&)" (_
<mailto:_imp_?_Throw at std@@YAXABVexception at 1@@Z>
_imp_?_Throw at std@@YAXABVexception at 1@@Z) referenced in function "protected:
virtu
al void __thiscall std::bad_alloc::_Doraise(void)const " (
<mailto:?_Doraise at bad_alloc@st> ?_Doraise at bad_alloc@st
<mailto:d@@MBEXXZ> d@@MBEXXZ)
WebCore_debug.lib(CanvasGradient.obj) : error LNK2001: unresolved external
symbo
l "__declspec(dllimport) void __cdecl std::_Throw(class std::exception const
&)"
( <mailto:__imp_?_Throw at std@@YAXABVexception at 1@@Z>
__imp_?_Throw at std@@YAXABVexception at 1@@Z)
c:\cygwin\home\mike\WebKit\WebKitBuild\bin\WebKit.dll : fatal error LNK1120:
3 u
nresolved externals
Build log was saved at "
<file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\WebKit>
file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\WebKit
\Debug\BuildLog.htm"
WebKit - 7 error(s), 2 warning(s)
------ Build started: Project: DumpRenderTree, Configuration: Debug Win32
------
Performing Pre-Build Event...
0 File(s) copied
Linking...
LINK : warning LNK4044: unrecognized option '/dynamicbase'; ignored
LINK : warning LNK4044: unrecognized option '/dynamicbase'; ignored
Embedding manifest...
Performing Post-Build Event...
Build log was saved at "
<file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\DumpRe>
file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\DumpRe
nderTree\Debug\BuildLog.htm"
DumpRenderTree - 0 error(s), 2 warning(s)
------ Build started: Project: Drosera, Configuration: Debug Win32 ------
Performing Pre-Build Event...
Compiling...
cl : Command line warning D9042 : invalid value '6011' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
cl : Command line warning D9042 : invalid value '6031' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
cl : Command line warning D9042 : invalid value '6211' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
cl : Command line warning D9042 : invalid value '6246' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
cl : Command line warning D9042 : invalid value '6255' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
cl : Command line warning D9042 : invalid value '6387' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
DebuggerClient.cpp
..\DebuggerClient.cpp(35) : fatal error C1083: Cannot open include file:
'WebKit
/ForEachCoClass.h': No such file or directory
Drosera.cpp
..\Drosera.cpp(38) : fatal error C1083: Cannot open include file:
'WebKit/ForEac
hCoClass.h': No such file or directory
ServerConnection.cpp
..\ServerConnection.cpp(39) : fatal error C1083: Cannot open include file:
'WebK
it/ForEachCoClass.h': No such file or directory
Generating Code...
Build log was saved at "
<file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\Droser>
file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\Droser
a\Debug\BuildLog.htm"
Drosera - 3 error(s), 6 warning(s)
------ Build started: Project: TestNetscapePlugin, Configuration: Debug
Win32 --
----
Compiling...
cl : Command line warning D9042 : invalid value '6011' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
cl : Command line warning D9042 : invalid value '6031' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
cl : Command line warning D9042 : invalid value '6211' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
cl : Command line warning D9042 : invalid value '6246' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
cl : Command line warning D9042 : invalid value '6255' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
cl : Command line warning D9042 : invalid value '6387' for '/wd'; assuming
'4999
'; Code Analysis warnings are not available in this edition of the compiler
main.cpp
c:\cygwin\home\mike\WebKit\WebKitTools\DumpRenderTree\TestNetscapePlugin.sub
proj
\PluginObject.h(26) : fatal error C1083: Cannot open include file:
'WebKit/npfun
ctions.h': No such file or directory
PluginObject.cpp
c:\cygwin\home\mike\webkit\webkittools\dumprendertree\testnetscapeplugin.sub
proj
\PluginObject.h(26) : fatal error C1083: Cannot open include file:
'WebKit/npfun
ctions.h': No such file or directory
TestObject.cpp
c:\cygwin\home\mike\webkit\webkittools\dumprendertree\testnetscapeplugin.sub
proj
\TestObject.h(26) : fatal error C1083: Cannot open include file:
'WebKit/npapi.h
': No such file or directory
Generating Code...
Build log was saved at "
<file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\TestNe>
file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\TestNe
tscapePlugin\Debug\BuildLog.htm"
TestNetscapePlugin - 3 error(s), 6 warning(s)
========== Build: 4 succeeded, 3 failed, 9 up-to-date, 0 skipped ==========
===== BUILD FAILED ======
Please ensure you have run WebKit/WebKitTools/Scripts/update-webkit to
install d
epenedencies.
You can view build errors by checking the BuildLog.htm files located at:
/home/mike/WebKit/WebKitBuild/obj/<project>/<config>.
<mailto:Mike at mako> Mike at mako /cygdrive/c/cygwin/home/mike
$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080304/a4c537d0/attachment-0001.html
More information about the webkit-dev
mailing list