[webkit-dev] Anther issue of building webkit on vs2005
Shi.David at inventec-inc.com
Shi.David at inventec-inc.com
Sun Aug 24 18:58:47 PDT 2008
Hi, friends:
I try to build webkit on vs2005, and followed the setup steps on webkit.org.
I installed all needed patch and tools, used "svn checkout" to got all src, then run "update-webkit" first.
But when I type "build-webkit --debug" in cygwin shell, it returns error.
It seems occurs some error at "fcc_offset != 128 at /home/cjs/WebKit/JAVASC~1/pcre/dftables line 109."
Any advice is appreciated.
The full log as below:
--------------------------------------------------------------------------------------------------------------------
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: /cygdrive/c/WebKitBuild
WEBKITOUTPUTDIR is set to: C:\WebKitBuild
WEBKITLIBRARIESDIR is set to: C:\cygwin\home\cjs\WebKit\WebKitLibraries\win
/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.com win\WebKit.vcproj\WebKit.sln /build Debug
Microsoft (R) Visual Studio Version 8.0.50727.762.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: WTF, Configuration: Debug Win32 ------
1>Performing Pre-Build Event...
1>Compiling...
1>Assertions.cpp
1>Generating Code...
1>Compiling...
1>CollatorDefault.cpp
1>CollatorICU.cpp
1>FastMalloc.cpp
1>HashTable.cpp
1>MainThread.cpp
1>OwnPtrWin.cpp
1>RefCountedLeakCounter.cpp
1>TCSystemAlloc.cpp
1>ThreadingWin.cpp
1>UTF8.cpp
1>MainThreadWin.cpp
1>Generating Code...
1>Creating library...
1>HashTable.obj : warning LNK4221: no public symbols found; archive member will be inaccessible
1>CollatorICU.obj : warning LNK4221: no public symbols found; archive member will be inaccessible
1>Performing Post-Build Event...
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(PRODUCTION)
1>Build log was saved at "file://C:\WebKitBuild\obj\WTF\Debug\BuildLog.htm"
1>WTF - 0 error(s), 2 warning(s)
2>------ Build started: Project: JavaScriptCoreGenerated, Configuration: Release Win32 ------
2>Performing Makefile project actions
2> xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "C:\cygwin\home\cjs\WebKit\WebKitLibraries\win\tools"
2>Cannot perform a cyclic copy
2>0 File(s) copied
2> touch "C:\WebKitBuild\buildfailed"
2> bash build-generated-files.sh "C:\WebKitBuild" "C:\cygwin\home\cjs\WebKit\WebKitLibraries\win"
2>Can't locate Win32API/Registry.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at ../../../WebKitTools/Scripts/num-cpus line 6.
2>BEGIN failed--compilation aborted at ../../../WebKitTools/Scripts/num-cpus line 6.
2>/home/cjs/WebKit/JAVASC~1/kjs/create_hash_table /home/cjs/WebKit/JAVASC~1/kjs/ArrayPrototype.cpp -i > ArrayPrototype.lut.h
2>/home/cjs/WebKit/JAVASC~1/pcre/dftables chartables.c
2>/home/cjs/WebKit/JAVASC~1/kjs/create_hash_table /home/cjs/WebKit/JAVASC~1/kjs/DatePrototype.cpp -i > DatePrototype.lut.h
2>bison -d -p kjsyy /home/cjs/WebKit/JAVASC~1/kjs/grammar.y -o grammar.cpp > bison_out.txt 2>&1
2>/home/cjs/WebKit/JAVASC~1/kjs/create_hash_table /home/cjs/WebKit/JAVASC~1/kjs/keywords.table > lexer.lut.h
2>/home/cjs/WebKit/JAVASC~1/kjs/create_hash_table /home/cjs/WebKit/JAVASC~1/kjs/MathObject.cpp -i > MathObject.lut.h
2>/home/cjs/WebKit/JAVASC~1/kjs/create_hash_table /home/cjs/WebKit/JAVASC~1/kjs/NumberConstructor.cpp -i > NumberConstructor.lut.h
2>Creating hashtable for /home/cjs/WebKit/JAVASC~1/kjs/ArrayPrototype.cpp
2>/home/cjs/WebKit/JAVASC~1/kjs/create_hash_table /home/cjs/WebKit/JAVASC~1/kjs/RegExpConstructor.cpp -i > RegExpConstructor.lut.h
2>/home/cjs/WebKit/JAVASC~1/kjs/create_hash_table /home/cjs/WebKit/JAVASC~1/kjs/RegExpObject.cpp -i > RegExpObject.lut.h
2>/home/cjs/WebKit/JAVASC~1/kjs/create_hash_table /home/cjs/WebKit/JAVASC~1/kjs/StringPrototype.cpp -i > StringPrototype.lut.h
2>Creating hashtable for /home/cjs/WebKit/JAVASC~1/kjs/keywords.table
2>Creating hashtable for /home/cjs/WebKit/JAVASC~1/kjs/DatePrototype.cpp
2>Creating hashtable for /home/cjs/WebKit/JAVASC~1/kjs/MathObject.cpp
2>Creating hashtable for /home/cjs/WebKit/JAVASC~1/kjs/StringPrototype.cpp
2>Creating hashtable for /home/cjs/WebKit/JAVASC~1/kjs/RegExpConstructor.cpp
2>Creating hashtable for /home/cjs/WebKit/JAVASC~1/kjs/NumberConstructor.cpp
2>Creating hashtable for /home/cjs/WebKit/JAVASC~1/kjs/RegExpObject.cpp
2>sh: cpp: command not found
2>Use of uninitialized value in printf at /home/cjs/WebKit/JAVASC~1/pcre/dftables line 83.
2>Use of uninitialized value in numeric ne (!=) at /home/cjs/WebKit/JAVASC~1/pcre/dftables line 90.
2>Use of uninitialized value in numeric ne (!=) at /home/cjs/WebKit/JAVASC~1/pcre/dftables line 108.
2>fcc_offset != 128 at /home/cjs/WebKit/JAVASC~1/pcre/dftables line 109.
2>make: *** [chartables.c] Error 127
2>make: *** Waiting for unfinished jobs....
2>perl -p -e 'END { if ($conflict) { unlink "grammar.cpp"; die; } } $conflict ||= /conflict/' < bison_out.txt
2>touch grammar.cpp.h
2>touch grammar.hpp
2>cat grammar.cpp.h grammar.hpp > grammar.h
2>rm -f grammar.cpp.h grammar.hpp bison_out.txt
2>NMAKE : fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1'
2>Stop.
2>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
2>Build log was saved at "file://C:\WebKitBuild\obj\JavaScriptCoreGenerated\Release\BuildLog.htm"
2>JavaScriptCoreGenerated - 2 error(s), 0 warning(s)
3>------ Build started: Project: JavaScriptCore, Configuration: Debug Win32 ------
3>Performing Pre-Build Event...
3>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
3>Project : warning PRJ0018 : The following environment variables were not found:
3>$(PRODUCTION)
3>Build log was saved at "file://C:\WebKitBuild\obj\JavaScriptCore\Debug\BuildLog.htm"
3>JavaScriptCore - 1 error(s), 0 warning(s)
4>------ Build started: Project: WebCoreGenerated, Configuration: Release Win32 ------
4>Performing Makefile project actions
4>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
4>Build log was saved at "file://C:\WebKitBuild\obj\WebCoreGenerated\Release\BuildLog.htm"
4>WebCoreGenerated - 1 error(s), 0 warning(s)
5>------ Build started: Project: QTMovieWin, Configuration: Debug Win32 ------
5>Performing Pre-Build Event...
5>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
5>Project : warning PRJ0018 : The following environment variables were not found:
5>$(PRODUCTION)
5>Build log was saved at "file://C:\WebKitBuild\obj\QTMovieWin\Debug\BuildLog.htm"
5>QTMovieWin - 1 error(s), 0 warning(s)
6>------ Build started: Project: WebCore, Configuration: Debug Win32 ------
6>Performing Pre-Build Event...
6>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
6>Project : warning PRJ0018 : The following environment variables were not found:
6>$(PRODUCTION)
6>$(AnalyzeWithLargeStack)
6>Build log was saved at "file://C:\WebKitBuild\obj\WebCore\Debug\BuildLog.htm"
6>WebCore - 1 error(s), 0 warning(s)
7>------ Build started: Project: InterfacesGenerated, Configuration: Release Win32 ------
7>Performing Makefile project actions
7>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
7>Build log was saved at "file://C:\WebKitBuild\obj\InterfacesGenerated\Release\BuildLog.htm"
7>InterfacesGenerated - 1 error(s), 0 warning(s)
8>------ Build started: Project: Interfaces, Configuration: Debug Win32 ------
8>Performing Pre-Build Event...
8>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
8>Project : warning PRJ0018 : The following environment variables were not found:
8>$(PRODUCTION)
8>Build log was saved at "file://C:\WebKitBuild\obj\Interfaces\Debug\BuildLog.htm"
8>Interfaces - 1 error(s), 0 warning(s)
9>------ Build started: Project: WebKitGUID, Configuration: Debug Win32 ------
9>Performing Pre-Build Event...
9>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
9>Project : warning PRJ0018 : The following environment variables were not found:
9>$(PRODUCTION)
9>Build log was saved at "file://C:\WebKitBuild\obj\WebKitGUID\Debug\BuildLog.htm"
9>WebKitGUID - 1 error(s), 0 warning(s)
10>------ Build started: Project: WebKit, Configuration: Debug Win32 ------
10>Performing Pre-Build Event...
10>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
10>Project : warning PRJ0018 : The following environment variables were not found:
10>$(PRODUCTION)
10>Build log was saved at "file://C:\WebKitBuild\obj\WebKit\Debug\BuildLog.htm"
10>WebKit - 1 error(s), 0 warning(s)
11>------ Build started: Project: FindSafari, Configuration: Release Win32 ------
11>Compiling...
11>FindSafari.cpp
11>Performing Pre-Link Event...
11>Linking...
11>Embedding manifest...
11>Project : warning PRJ0018 : The following environment variables were not found:
11>$(PRODUCTION)
11>Build log was saved at "file://C:\WebKitBuild\obj\FindSafari\Release\BuildLog.htm"
11>FindSafari - 0 error(s), 0 warning(s)
12>------ Build started: Project: testapi, Configuration: Debug Win32 ------
12>Performing Pre-Build Event...
12>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
12>Project : warning PRJ0018 : The following environment variables were not found:
12>$(PRODUCTION)
12>Build log was saved at "file://C:\WebKitBuild\obj\testapi\Debug\BuildLog.htm"
12>testapi - 1 error(s), 0 warning(s)
13>------ Build started: Project: jsc, Configuration: Debug Win32 ------
13>Performing Pre-Build Event...
13>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
13>Project : warning PRJ0018 : The following environment variables were not found:
13>$(PRODUCTION)
13>Build log was saved at "file://C:\WebKitBuild\obj\jsc\Debug\BuildLog.htm"
13>jsc - 1 error(s), 0 warning(s)
14>------ Build started: Project: WinLauncher, Configuration: Debug Win32 ------
14>Compiling...
14>WinLauncher.cpp
14>c:\cygwin\home\cjs\webkit\webkittools\winlauncher\winlauncher.h(29) : fatal error C1083: Cannot open include file: 'WebKit.h': No such file or directory
14>Project : warning PRJ0018 : The following environment variables were not found:
14>$(PRODUCTION)
14>Build log was saved at "file://C:\WebKitBuild\obj\WinLauncher\Debug\BuildLog.htm"
14>WinLauncher - 1 error(s), 0 warning(s)
15>------ Build started: Project: TestNetscapePlugin, Configuration: Debug Win32 ------
15>Performing Pre-Build Event...
15>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
15>Project : warning PRJ0018 : The following environment variables were not found:
15>$(PRODUCTION)
15>Build log was saved at "file://C:\WebKitBuild\obj\TestNetscapePlugin\Debug\BuildLog.htm"
15>TestNetscapePlugin - 1 error(s), 0 warning(s)
16>------ Build started: Project: ImageDiff, Configuration: Debug Win32 ------
16>Performing Pre-Build Event...
16>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
16>Project : warning PRJ0018 : The following environment variables were not found:
16>$(PRODUCTION)
16>Build log was saved at "file://C:\WebKitBuild\obj\ImageDiff\Debug\BuildLog.htm"
16>ImageDiff - 1 error(s), 0 warning(s)
17>------ Build started: Project: DumpRenderTree, Configuration: Debug Win32 ------
17>Performing Pre-Build Event...
17>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
17>Project : warning PRJ0018 : The following environment variables were not found:
17>$(PRODUCTION)
17>Build log was saved at "file://C:\WebKitBuild\obj\DumpRenderTree\Debug\BuildLog.htm"
17>DumpRenderTree - 1 error(s), 0 warning(s)
========== Build: 2 succeeded, 15 failed, 0 up-to-date, 0 skipped ==========
===== BUILD FAILED ======
Please ensure you have run WebKit/WebKitTools/Scripts/update-webkit to install depenedencies.
You can view build errors by checking the BuildLog.htm files located at:
/cygdrive/c/WebKitBuild/obj/<project>/<config>.
Best Regards
David Shi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080825/533b8ac1/attachment.html
More information about the webkit-dev
mailing list