[webkit-dev] Building Webkit with cygwin failed

tyl webkitlearner at yahoo.com.cn
Mon Jun 30 02:44:46 PDT 2008


Thanks for your reply!
I had changed the order of the VC++ directory in the path list, it works.
But another two errors occur, please help.

My english is very poor, if there has some impolite or wrong word, please
forgive me. 

Here is the ImageDiff and testapi's Build Log.

-------------------------------------------
Build Log      
Build started: Project: ImageDiff, Configuration: Debug|Win32

 Command Lines      
Build machine environment variables may not be correct.
Creating temporary file
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT00001B32602216.bat"
with contents
[
@echo off

set PATH=%SystemDrive%\cygwin\bin;%PATH%

if exist "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed" grep
XXImageDiffXX "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed"

if errorlevel 1 exit 1

echo XXImageDiffXX > "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed"



if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: A tool returned an error code from "Performing
Pre-Build Event..."

exit 1

:VCEnd
]
Creating command line
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT00001B32602216.bat"
Creating temporary file
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP00001C32602216.rsp"
with contents
[
/OUT:"C:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.exe"
/INCREMENTAL /LIBPATH:"C:\cygwin\home\teng\WebKit\WebKitBuild\lib"
/LIBPATH:"C:\cygwin\home\teng\WebKit\WebKitLibraries\win\lib" /MANIFEST
/MANIFESTFILE:"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.intermediate.manifest"
/DEBUG /PDB:"c:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.pdb"
/SUBSYSTEM:CONSOLE
/IMPLIB:"C:\cygwin\home\teng\WebKit\WebKitBuild\lib\ImageDiff_debug.lib"
/MACHINE:X86  /SAFESEH /FIXED:NO /dynamicbase CoreGraphics.lib
CoreFoundation.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
odbc32.lib odbccp32.lib

"..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiffCG.obj"

"..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest.res"
]
Creating command line "link.exe
@C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP00001C32602216.rsp
/NOLOGO /ERRORREPORT:QUEUE"
Creating temporary file
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP00001D32602216.rsp"
with contents
[
/out:..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest
/notify_update /manifest

..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.intermediate.manifest
]
Creating command line "mt.exe
@C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP00001D32602216.rsp
/nologo"
Creating temporary file
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT00001E32602216.bat"
with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% >
..\..\..\WebKitBuild\obj\ImageDiff\Debug\mt.dep
]
Creating command line
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT00001E32602216.bat"
Creating temporary file
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\TMP00001F32602216.tmp"
with contents
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */
"..\\..\\..\\WebKitBuild\\obj\\ImageDiff\\Debug\\ImageDiff_debug.exe.embed.manifest"
]
Creating command line "rc.exe
/fo"..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest.res"
C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\TMP00001F32602216.tmp"
Creating temporary file
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP00002032602216.rsp"
with contents
[
/OUT:"C:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.exe"
/INCREMENTAL /LIBPATH:"C:\cygwin\home\teng\WebKit\WebKitBuild\lib"
/LIBPATH:"C:\cygwin\home\teng\WebKit\WebKitLibraries\win\lib" /MANIFEST
/MANIFESTFILE:"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.intermediate.manifest"
/DEBUG /PDB:"c:\cygwin\home\teng\WebKit\WebKitBuild\bin\ImageDiff_debug.pdb"
/SUBSYSTEM:CONSOLE
/IMPLIB:"C:\cygwin\home\teng\WebKit\WebKitBuild\lib\ImageDiff_debug.lib"
/MACHINE:X86  /SAFESEH /FIXED:NO /dynamicbase CoreGraphics.lib
CoreFoundation.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
odbc32.lib odbccp32.lib

"..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiffCG.obj"

"..\..\..\WebKitBuild\obj\ImageDiff\Debug\ImageDiff_debug.exe.embed.manifest.res"
]
Creating command line "link.exe
@C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\RSP00002032602216.rsp
/NOLOGO /ERRORREPORT:QUEUE"
Build machine environment variables may not be correct.
Build machine environment variables may not be correct.
Creating temporary file
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT00002132602216.bat"
with contents
[
@echo off

if exist "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed" del
"C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed"



mkdir 2>NUL "C:\cygwin\home\teng\WebKit\WebKitBuild\bin"



if ""=="" (if not ""=="" exit /b)



xcopy /y /d
"C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\CoreFoundation.dll"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d
"C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\CoreFoundation.pdb"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d /e /i
"C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\CoreFoundation.resources"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin\CoreFoundation.resources"

xcopy /y /d /e /i
"C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\CharacterSets"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin\CharacterSets"

xcopy /y /d
"C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\CoreGraphics.dll"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d
"C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\CoreGraphics.pdb"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d "C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\icudt36.dll"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d "C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\icudt36.dll"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d "C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\icuin36.dll"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d "C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\icuin36.pdb"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d "C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\icuuc36.dll"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d "C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\icuuc36.pdb"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d "C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\zlib1.dll"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"

xcopy /y /d "C:\cygwin\home\teng\WebKit\WebKitLibraries\win\bin\zlib1.pdb"
"C:\cygwin\home\teng\WebKit\WebKitBuild\bin"



if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: A tool returned an error code from "Performing
Post-Build Event..."

exit 1

:VCEnd
]
Creating command line
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BAT00002132602216.bat"

 Output Window      
Performing Pre-Build Event...
Linking...
Embedding manifest...
Performing Post-Build Event...
File not found - CoreFoundation.dll
0 File(s) copied
File not found - CoreFoundation.pdb
0 File(s) copied
File not found - CoreFoundation.resources
0 File(s) copied
File not found - CharacterSets
0 File(s) copied
File not found - CoreGraphics.dll
0 File(s) copied
File not found - CoreGraphics.pdb
0 File(s) copied
File not found - icudt36.dll
0 File(s) copied
File not found - icudt36.dll
0 File(s) copied
File not found - icuin36.dll
0 File(s) copied
File not found - icuin36.pdb
0 File(s) copied
File not found - icuuc36.dll
0 File(s) copied
File not found - icuuc36.pdb
0 File(s) copied
File not found - zlib1.dll
0 File(s) copied
File not found - zlib1.pdb
0 File(s) copied
Project : error PRJ0019: A tool returned an error code from "Performing
Post-Build Event..."
Project : warning PRJ0018 : The following environment variables were not
found:
$(PRODUCTION)
$(ARCHIVE_BUILD)

 Results      
Build log was saved at
"file://C:\cygwin\home\teng\WebKit\WebKitBuild\obj\ImageDiff\Debug\BuildLog.htm"
ImageDiff - 1 error(s), 0 warning(s)

 -----------------------------------------------------------
Build Log      
Build started: Project: testapi, Configuration: Debug|Win32

 Command Lines      
Build machine environment variables may not be correct.
Creating temporary file
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\testapi\Debug\BAT00004532601072.bat"
with contents
[
@echo off

set PATH=%SystemDrive%\cygwin\bin;%PATH%

if exist "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed" grep
XXtestapiXX "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed"

if errorlevel 1 exit 1

echo XXtestapiXX > "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed"



if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: A tool returned an error code from "Performing
Pre-Build Event..."

exit 1

:VCEnd
]
Creating command line
"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\testapi\Debug\BAT00004532601072.bat"
 
Output Window      
Performing Pre-Build Event...
Project : error PRJ0002 : Error result 1 returned from
'c:\WINDOWS\system32\cmd.exe'.
Project : warning PRJ0018 : The following environment variables were not
found:
$(PRODUCTION)
 
Results      
Build log was saved at
"file://C:\cygwin\home\teng\WebKit\WebKitBuild\obj\testapi\Debug\BuildLog.htm"
testapi - 1 error(s), 0 warning(s)
  



Paul Pedriana-3 wrote:
> 
> You say you are trying to build WebKit using Cygwin, but you don't 
> really mean the GCC within Cygwin, do you? The compiler arguments below 
> are for VC++.
> 
> As you can see, the compiler error is:
>     Linking...
>     link: missing operand after `ÿþ/'
>     Try `link --help' for more information.
>     Project : error PRJ0002 : Error result 1 returned from
>     'C:\cygwin\bin\link.exe'.
> 
> It looks like cygwin link is executing instead of VC++ link. This can be 
> due to a few reasons, most significantly that the cygwin directory is 
> ahead of the VC++ directory in the path list and the project is set to 
> call link.exe unqualified.
> 
> Paul
> 
> 
> 
>> Hi all,
>> I'm trying to build webkit on windows XP using cygwin.
>> I used Visual studio 2005 and also installed service
>> pack(VS80sp1-KB926601-X86-ENU.exe), and I was build in debug mode.
>> I followed the instruction on the webkit homepage but when i build i keep 
>> getting this error when building webkit:
>>
>> Please help me.
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> 
> 

-- 
View this message in context: http://www.nabble.com/Building-Webkit-with-cygwin-failed-tp18189797p18192042.html
Sent from the Webkit mailing list archive at Nabble.com.



More information about the webkit-dev mailing list