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.
here is the FindSafari's build log:
Build Log Build started: Project: FindSafari, Configuration: Release|Win32
Command Lines 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\FindSafari\Release\RSP00000937282920.rsp" with contents [ /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_WIN32_WINNT=0x500" /D "_CRT_SECURE_NO_DEPRECATE" /D "_SCL_SECURE_NO_DEPRECATE" /D "__PRODUCTION__=0" /D "_HAS_EXCEPTIONS=0" /D "_UNICODE" /D "UNICODE" /FD /MD /GR- /Fo"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\FindSafari\Release\\" /Fd"C:\cygwin\home\teng\WebKit\WebKitBuild\obj\FindSafari\Release\vc80.pdb" /W4 /WX /c /Zi /TP /wd4018 /wd4068 /wd4099 /wd4100 /wd4127 /wd4138 /wd4189 /wd4244 /wd4275 /wd4291 /wd4344 /wd4355 /wd4389 /wd4503 /wd4510 /wd4512 /wd4610 /wd4706 /wd4800 /wd4951 /wd4952 /wd4996 /wd6011 /wd6031 /wd6211 /wd6246 /wd6255 /wd6387 /GS
.\FindSafari.cpp ] Creating command line "cl.exe @C:\cygwin\home\teng\WebKit\WebKitBuild\obj\FindSafari\Release\RSP00000937282920.rsp /nologo /errorReport:queue" Creating temporary file "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\FindSafari\Release\BAT00000A37282920.bat" with contents [ @echo off
if not exist "C:\cygwin\home\teng\WebKit\WebKitBuild\public\sym" mkdir "C:\cygwin\home\teng\WebKit\WebKitBuild\public\sym"
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Performing Pre-Link Event..."
exit 1
:VCEnd ] Creating command line "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\FindSafari\Release\BAT00000A37282920.bat" Creating temporary file "C:\cygwin\home\teng\WebKit\WebKitBuild\obj\FindSafari\Release\RSP00000B37282920.rsp" with contents [ /OUT:"C:\cygwin\home\teng\WebKit\WebKitBuild\bin\FindSafari.exe" /INCREMENTAL:NO /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\FindSafari\Release\FindSafari.exe.intermediate.manifest" /DEBUG /PDB:"c:\cygwin\home\teng\webkit\webkitbuild\bin\FindSafari.pdb" /PDBSTRIPPED:"C:\cygwin\home\teng\WebKit\WebKitBuild\public\sym\FindSafari.pdb" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /OPT:NOWIN98 /IMPLIB:"C:\cygwin\home\teng\WebKit\WebKitBuild\lib\FindSafari.lib" /MACHINE:X86 /SAFESEH /FIXED:NO /dynamicbase shlwapi.lib advapi32.lib ole32.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\findsafari\release\FindSafari.obj" ] Creating command line "link.exe @C:\cygwin\home\teng\WebKit\WebKitBuild\obj\FindSafari\Release\RSP00000B37282920.rsp /NOLOGO /ERRORREPORT:QUEUE"
Output Window Compiling... FindSafari.cpp Performing Pre-Link Event... Linking... link: missing operand after `ÿþ/' Try `link --help' for more information. Project : error PRJ0002 : Error result 1 returned from 'C:\cygwin\bin\link.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\FindSafari\Release\BuildLog.htm" FindSafari - 1 error(s), 0 warning(s)