[webkit-dev] building errors about "cmd.exe"

sitan2006 at sina.com sitan2006 at sina.com
Sun May 17 21:09:24 PDT 2009


 
 Hi, there's some errors when I built webkit on Windows following instructions on "webkit.org". It seems to be something wrong with cmd.exe.
I've read a lot of posts in this maillist, and found no solution for this kind of error.
I post it again, hoping to move further.
 
Attached is my error info:
 
*********************************************************************************
16>------ Build started: Project: TestNetscapePlugin, Configuration: Release 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:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\TestNetscapePlugin\Release\BuildLog.htm"
16>TestNetscapePlugin - 1 error(s), 0 warning(s)
17>------ Build started: Project: ImageDiff, Configuration: Release 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:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\ImageDiff\Release\BuildLog.htm"
17>ImageDiff - 1 error(s), 0 warning(s)
18>------ Build started: Project: DumpRenderTree, Configuration: Release Win32 ------
18>Performing Pre-Build Event...
18>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
18>Project : warning PRJ0018 : The following environment variables were not found:
18>$(PRODUCTION)
18>Build log was saved at "file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\DumpRenderTree\Release\BuildLog.htm"
18>DumpRenderTree - 1 error(s), 0 warning(s)
========== Build: 15 succeeded, 3 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:
/home/Administrator/WebKit/WebKitBuild/obj/<project>/<config>.
***************************************************************************************
&nbsp;
PS:&nbsp; It's&nbsp; really depressing these 3 errors occur at the very last, all the things before are fine.
And another important thing is :
if I run "build-webkit" again, I will get succeeded, the info is :
&nbsp;
***************************************************************************************
1>JavaScriptCoreGenerated - 0 error(s), 0 warning(s)
2>------ Build started: Project: WebCoreGenerated, Configuration: Release Win32 ------
2>Performing Makefile project actions
2>make: Nothing to be done for `all'.
2>make: Nothing to be done for `all'.
2>Build log was saved at "file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\WebCoreGenerated\Release\BuildLog.htm"
2>WebCoreGenerated - 0 error(s), 0 warning(s)
3>------ Build started: Project: InterfacesGenerated, Configuration: Release Win32 ------
3>Performing Makefile project actions
3>make: Nothing to be done for `all'.
3>Build log was saved at "file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\InterfacesGenerated\Release\BuildLog.htm"
3>InterfacesGenerated - 0 error(s), 0 warning(s)
4>------ Build started: Project: TestNetscapePlugin, Configuration: Release Win32 ------
4>Performing Pre-Build Event...
4>Compiling...
4>####### COMPILING 3 FILES USING AT MOST 2 PARALLEL INSTANCES OF cl.exe ###########
4>main.cpp
4>TestObject.cpp
4>PluginObject.cpp
4>Compiling resources...
4>Performing Pre-Link Event...
4>Linking...
4>&nbsp;&nbsp; Creating library C:\cygwin\home\Administrator\WebKit\WebKitBuild\lib\npTestNetscapePlugin.lib and object C:\cygwin\home\Administrator\WebKit\WebKitBuild\lib\npTestNetscapePlugin.exp
4>Generating code
4>Finished generating code
4>Embedding manifest...
4>Performing Post-Build Event...
4>Project : warning PRJ0018 : The following environment variables were not found:
4>$(PRODUCTION)
4>Build log was saved at "file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\TestNetscapePlugin\Release\BuildLog.htm"
4>TestNetscapePlugin - 0 error(s), 0 warning(s)
5>------ Build started: Project: ImageDiff, Configuration: Release Win32 ------
5>Performing Pre-Build Event...
5>Compiling...
5>####### COMPILING 1 FILES USING AT MOST 2 PARALLEL INSTANCES OF cl.exe ###########
5>ImageDiffCG.cpp
5>Performing Pre-Link Event...
5>Linking...
5>Generating code
5>Finished generating code
5>Embedding manifest...
5>Performing Post-Build Event...
5>Project : warning PRJ0018 : The following environment variables were not found:
5>$(PRODUCTION)
5>Build log was saved at "file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\ImageDiff\Release\BuildLog.htm"
5>ImageDiff - 0 error(s), 0 warning(s)
6>------ Build started: Project: DumpRenderTree, Configuration: Release Win32 ------
6>Performing Pre-Build Event...
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\ASCIICType.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\Assertions.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\HashMap.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\HashSet.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\HashTraits.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\Locker.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\MathExtras.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\Noncopyable.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\OwnPtr.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\PassRefPtr.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\Platform.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\RefCounted.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\RefPtr.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\RetainPtr.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\StringExtras.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\Threading.h
6>C:\cygwin\home\Administrator\WebKit\WebKitTools\DumpRenderTree\win\\..\ForwardingHeaders\wtf\Vector.h
6>复制了 17 个文件
6>Compiling...
6>####### COMPILING 20 FILES USING AT MOST 2 PARALLEL INSTANCES OF cl.exe ###########
6>GCControllerWin.cpp
6>AccessibilityControllerWin.cpp
6>EditingDelegate.cpp
6>UIDelegate.cpp
6>LayoutTestControllerWin.cpp
6>WorkQueueItemWin.cpp
6>FrameLoadDelegate.cpp
6>PixelDumpSupportWin.cpp
6>EventSender.cpp
6>WorkQueue.cpp
6>PixelDumpSupportCG.cpp
6>PolicyDelegate.cpp
6>LayoutTestController.cpp
6>GCController.cpp
6>DumpRenderTree.cpp
6>AccessibilityUIElementWin.cpp
6>ResourceLoadDelegate.cpp
6>C:\cygwin\home\Administrator\WebKit\WebKitLibraries\win\Include\ConditionalMacros.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
6>C:\cygwin\home\Administrator\WebKit\WebKitLibraries\win\Include\ConditionalMacros.h(796) : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
6>C:\cygwin\home\Administrator\WebKit\WebKitLibraries\win\Include\ConditionalMacros.h(1525) : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
6>AccessibilityUIElement.cpp
6>AccessibilityController.cpp
6>MD5.cpp
6>Performing Pre-Link Event...
6>Linking...
6>Generating code
6>Finished generating code
6>Embedding manifest...
6>Performing Post-Build Event...
6>Project : warning PRJ0018 : The following environment variables were not found:
6>$(PRODUCTION)
6>Build log was saved at "file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\DumpRenderTree\Release\BuildLog.htm"
6>DumpRenderTree - 0 error(s), 3 warning(s)
========== Build: 6 succeeded, 0 failed, 12 up-to-date, 0 skipped ==========
===========================================================
&nbsp;WebKit is now built. To run Safari with this newly-built
&nbsp;code, use the "WebKit/WebKitTools/Scripts/run-safari" script.
&nbsp;NOTE: WebKit has been built with SVG support enabled.
&nbsp;Safari will have SVG viewing capabilities.
&nbsp;Your build supports the following (optional) SVG features: 
&nbsp; * Basic SVG animation.
&nbsp; * SVG as image.
&nbsp; * SVG fonts.
&nbsp; * SVG foreign object.
&nbsp; * SVG <use> support.
===========================================================
***************************************************************************************
&nbsp;
So, does that mean I successfully build webkit?&nbsp; Why can't I successfully build it at the first time? 
Every first time I built a brand-new webkit, I get 3 errors exactly as listed first.
&nbsp;
&nbsp;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090518/2906d406/attachment.html>


More information about the webkit-dev mailing list