OK I went back to building using Visual Studio 2008 since I was able to
progress further with that environment than with VS2005.
I did resolve the gcc error. The problem was due to missing g++. Actually
the instructions does a poor job of informing you about Cygwin requirements.
The way I'm building Webkit is with VS2008 based on instructions from Peter
Nelson as he built webkit for Webkit.NET. Unfortunately his instructions
were
not complete either. For example, he omits the fact that VS80COMNTOOLS
environment variable needs to be set to something otherwise the build
failed. I set it to VS90COMNTOOLS. The main issues that I've been fighting
with are missing and broken Cygwin tools. Apparently it may have been
easier to install ALL of Cygwin. But so far I had to go back and install
the following tools from the default installation:
svn
curl
unzip
make
perl
python
gcc
g++
bison
gperf
and fixup libglade postinstall script that bison needed and was failing the
Cygwin install.
After all that was done so far I've built 17 out of the 31 projects with 14
projects failing.
Currently I'm blocked in the link phase of the WebKit project build:
Performing Pre-Build Event...
/usr/bin/bash
File not found - *
0 File(s) copied
Performing Pre-Link Event...
1 file(s) copied.
1 file(s) copied.
Linking...
LINK : warning LNK4224: /OPT:NOWIN98 is no longer supported; ignored
Creating library
C:\cygwin\home\chris.waldron\WebKit\WebKitBuild\Release\lib\WebKit.lib and
object
C:\cygwin\home\chris.waldron\WebKit\WebKitBuild\Release\lib\WebKit.exp
WebCore.lib(Color.obj) : error LNK2019: unresolved external symbol "struct
WebCore::NamedColor const * __cdecl WebCore::findColor(char const *,unsigned
int)" (?findColor@WebCore@@YAPBUNamedColor@1@PBDI@Z) referenced in function
"struct WebCore::NamedColor const * __cdecl WebCore::findNamedColor(class
WTF::String const &)"
(?findNamedColor@WebCore@@YAPBUNamedColor@1@ABVString@WTF@@@Z)
WebCore.lib(CSSProperty.obj) : error LNK2001: unresolved external symbol
"char const * __cdecl WebCore::getPropertyName(enum WebCore::CSSPropertyID)"
(?getPropertyName@WebCore@@YAPBDW4CSSPropertyID@1@@Z)
WebCore.lib(ImplicitAnimation.obj) : error LNK2001: unresolved external
symbol "char const * __cdecl WebCore::getPropertyName(enum
WebCore::CSSPropertyID)"
(?getPropertyName@WebCore@@YAPBDW4CSSPropertyID@1@@Z)
WebCore.lib(CSSComputedStyleDeclaration.obj) : error LNK2019: unresolved
external symbol "char const * __cdecl WebCore::getPropertyName(enum
WebCore::CSSPropertyID)"
(?getPropertyName@WebCore@@YAPBDW4CSSPropertyID@1@@Z) referenced in function
"public: virtual class WTF::String __thiscall
WebCore::CSSComputedStyleDeclaration::cssText(void)const "
(?cssText@CSSComputedStyleDeclaration@WebCore@@UBE?AVString@WTF@@XZ)
WebCore.lib(CSSPrimitiveValue.obj) : error LNK2001: unresolved external
symbol "char const * __cdecl WebCore::getPropertyName(enum
WebCore::CSSPropertyID)"
(?getPropertyName@WebCore@@YAPBDW4CSSPropertyID@1@@Z)
WebCore.lib(CSSStyleDeclaration.obj) : error LNK2001: unresolved external
symbol "char const * __cdecl WebCore::getPropertyName(enum
WebCore::CSSPropertyID)"
(?getPropertyName@WebCore@@YAPBDW4CSSPropertyID@1@@Z)
WebCore.lib(CSSMutableStyleDeclaration.obj) : error LNK2001: unresolved
external symbol "char const * __cdecl WebCore::getPropertyName(enum
WebCore::CSSPropertyID)"
(?getPropertyName@WebCore@@YAPBDW4CSSPropertyID@1@@Z)
WebCore.lib(CSSPrimitiveValue.obj) : error LNK2019: unresolved external
symbol "char const * __cdecl WebCore::getValueName(unsigned short)"
(?getValueName@WebCore@@YAPBDG@Z) referenced in function "class
WTF::AtomicString const & __cdecl WebCore::valueOrPropertyName(int)"
(?valueOrPropertyName@WebCore@@YAABVAtomicString@WTF@@H@Z)
WebCore.lib(CSSMutableStyleDeclaration.obj) : error LNK2001: unresolved
external symbol "char const * __cdecl WebCore::getValueName(unsigned short)"
(?getValueName@WebCore@@YAPBDG@Z)
WebCore.lib(CSSParser.obj) : error LNK2019: unresolved external symbol
"struct WebCore::Property const * __cdecl WebCore::findProperty(char const
*,unsigned int)" (?findProperty@WebCore@@YAPBUProperty@1@PBDI@Z) referenced
in function "int __cdecl WebCore::cssPropertyID(wchar_t const *,unsigned
int)" (?cssPropertyID@WebCore@@YAHPB_WI@Z)
WebCore.lib(CSSParser.obj) : error LNK2019: unresolved external symbol
"struct WebCore::Value const * __cdecl WebCore::findValue(char const
*,unsigned int)" (?findValue@WebCore@@YAPBUValue@1@PBDI@Z) referenced in
function "int __cdecl WebCore::cssValueKeywordID(struct
WebCore::CSSParserString const &)"
(?cssValueKeywordID@WebCore@@YAHABUCSSParserString@1@@Z)
WebCore.lib(CSSParser.obj) : error LNK2019: unresolved external symbol
"public: int __thiscall WebCore::CSSParser::lex(void)"
(?lex@CSSParser@WebCore@@QAEHXZ) referenced in function "public: int
__thiscall WebCore::CSSParser::lex(void *)"
(?lex@CSSParser@WebCore@@QAEHPAX@Z)
C:\cygwin\home\chris.waldron\WebKit\WebKitBuild\Release\bin\WebKit.dll :
fatal error LNK1120: 6 unresolved externals
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help