[webkit-dev] Windows build error during link

Mike McMullen mike at softsource.com
Mon Mar 3 16:05:00 PST 2008


I have been trying to build WebKit for Windows and have run across an issue
I cannot seem to get around.  I should have the development environment
setup correctly (VS2005, cygwin, Windows Platform SDK, Quicktime SDK) but I
am still running into problems.

Judging from the output it looks like something is being compiled with
exceptions turned on.  From what I can gather from the project files the
_HAS_EXCEPTIONS=0 define should keep this from happening.  

I attempted to build with VS2008 initially (since VS2005 express is no
longer available) but once I was able to purchase a copy of VS2005 I figured
all the build issues would be solved.  I have pulled clean copies from the
repository (multiple times) just to make sure the generated files are not in
a bad state, but each time now I get the same result.

Two of the later subprojects still have problems, but the highly sequential
nature of the build I am hoping solving the link issue will allow correct
generation of files for these projects.  
	Drosera - missing FoEachCoClass.h
	TestNetscapePlugin - missing npapi.h and npfunctions.h

I included the build output at the end of this post.  Any suggestions would
be appreciated.

Thanks, Mike



------ Build started: Project: WebKit, Configuration: Debug_Internal Win32
------
Performing Pre-Build Event...
cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis
warnings are not available in this edition of the compiler
tmp.cpp
File not found - *
0 File(s) copied
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
WebKitDLL.cpp
Linking...
LINK : warning LNK4044: unrecognized option '/dynamicbase'; ignored
   Creating library
c:\cygwin\home\mike\WebKit\WebKitBuild\lib\WebKit_debug.lib and object
c:\cygwin\home\mike\WebKit\WebKitBuild\lib\WebKit_debug.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4199: /DELAYLOAD:libxslt_debug.dll ignored; no imports
found from libxslt_debug.dll
LINK : warning LNK4199: /DELAYLOAD:SQLite3_debug.dll ignored; no imports
found from SQLite3_debug.dll
WebCore_debug.lib(RenderLayer.obj) : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: void __thiscall
std::exception::_Raise(void)const " (__imp_?_Raise at exception@std@@QBEXXZ)
referenced in function "struct std::pair<class WebCore::RenderLayer * *,int>
__cdecl std::get_temporary_buffer<class WebCore::RenderLayer *>(int)"
(??$get_temporary_buffer at PAVRenderLayer@WebCore@@@std@@YA?AU?$pair at PAPAVRend
erLayer at WebCore@@H at 0@H at Z)
WebCore_debug.lib(CanvasGradient.obj) : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: void __thiscall
std::exception::_Raise(void)const " (__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)"
(__imp_??0exception at std@@QAE at PBDH@Z) referenced in function "public:
__thiscall std::bad_alloc::bad_alloc(char const *)"
(??0bad_alloc at std@@QAE at PBD@Z)
WebCore_debug.lib(CanvasGradient.obj) : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: __thiscall
std::exception::exception(char const *,int)"
(__imp_??0exception at std@@QAE at PBDH@Z)
c:\cygwin\home\mike\WebKit\WebKitBuild\bin\WebKit_debug.dll : fatal error
LNK1120: 2 unresolved externals
Build log was saved at
"file://c:\cygwin\home\mike\WebKit\WebKitBuild\obj\WebKit\Debug_Internal\Bui
ldLog.htm"
WebKit - 5 error(s), 11 warning(s)



More information about the webkit-dev mailing list