- Mark
On 2008-12-24, at 03:36, yin xiaobing wrote:
somting wrong in sys/types.h, which cause the pthread.h header value types "undeclared"anyone has this issue fixed?3>C:\cygwin\usr\include\pthread.h(81) : error C2143: syntax error : missing ','before '*'3>C:\cygwin\usr\include\pthread.h(82) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int3>C:\cygwin\usr\include\pthread.h(82) : error C2143: syntax error : missing ','before '*'3>C:\cygwin\usr\include\pthread.h(83) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(84) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(85) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(86) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(87) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(88) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(104) : error C2065: 'pthread_t' : undeclared identifier3>C:\cygwin\usr\include\pthread.h(127) : error C2065: 'pthread_cond_t' : undeclared identifier3>C:\cygwin\usr\include\pthread.h(127) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(128) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(129) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(130) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(131) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(133) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(134) : error C2065: 'pthread_condattr_t' : undeclared identifier3>C:\cygwin\usr\include\pthread.h(134) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(135) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int3>C:\cygwin\usr\include\pthread.h(135) : error C2143: syntax error : missing ','before '*'3>C:\cygwin\usr\include\pthread.h(136) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(137) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(139) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(142) : error C2078: too many initializers 3>C:\cygwin\usr\include\pthread.h(144) : error C2062: type 'int' unexpected 3>C:\cygwin\usr\include\pthread.h(145) : error C2065: 'pthread_key_t' : undeclared identifier3>C:\cygwin\usr\include\pthread.h(146) : error C2062: type 'void' unexpected 3>C:\cygwin\usr\include\pthread.h(147) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(151) : error C2065: 'pthread_mutex_t' : undeclared identifier3>C:\cygwin\usr\include\pthread.h(151) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(152) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int3>C:\cygwin\usr\include\pthread.h(152) : error C2143: syntax error : missing ','before '*'3>C:\cygwin\usr\include\pthread.h(153) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(154) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(155) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(156) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(157) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(158) : error C2065: 'pthread_mutexattr_t' : undeclared identifier3>C:\cygwin\usr\include\pthread.h(158) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(159) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int3>C:\cygwin\usr\include\pthread.h(159) : error C2143: syntax error : missing ','before '*'3>C:\cygwin\usr\include\pthread.h(160) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int3>C:\cygwin\usr\include\pthread.h(160) : error C2143: syntax error : missing ','before '*'3>C:\cygwin\usr\include\pthread.h(161) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int3>C:\cygwin\usr\include\pthread.h(161) : error C2143: syntax error : missing ','before '*'3>C:\cygwin\usr\include\pthread.h(162) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int3>C:\cygwin\usr\include\pthread.h(162) : error C2143: syntax error : missing ','before '*'3>C:\cygwin\usr\include\pthread.h(163) : error C2059: syntax error : ')' 3>C:\cygwin\usr\include\pthread.h(164) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(165) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(166) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(167) : error C2059: syntax error : ',' 3>C:\cygwin\usr\include\pthread.h(170) : error C2065: 'pthread_rwlock_t' : undeclared identifier3>C:\cygwin\usr\include\pthread.h(170) : error C2065: 'rwlock' : undeclared identifier3>C:\cygwin\usr\include\pthread.h(170) : fatal error C1903: unable to recover from previous error(s); stopping compilation 3>JITPropertyAccess.cpp =========================================================== WebKit is now built. To run Safari with this newly-built code, use the "WebKit/WebKitTools/Scripts/run-safari" script. NOTE: WebKit has been built with SVG support enabled. Safari will have SVG viewing capabilities. Your build supports the following (optional) SVG features: * Basic SVG animation. * SVG foreign object. * SVG fonts. * SVG as image. * SVG <use> support. =========================================================== y...@orion ~ $ WebKit/WebKitTools/Scripts/build-webkit --debugSubroutine main::tmpnam redefined at /home/Yin/WebKit/WebKitTools/ Scripts/webkitdirs.pm line 33Subroutine main::tmpfile redefined at /home/Yin/WebKit/WebKitTools/ Scripts/webkitdirs.pm line 33 Checking mod-date of WebKitSupportLibrary.zip... Current WebKitSupportLibrary is up to date Building results into: /home/Yin/WebKit/WebKitBuild WEBKITOUTPUTDIR is set to: c:\cygwin\home\Yin\WebKit\WebKitBuildWEBKITLIBRARIESDIR is set to: c:\cygwin\home\Yin\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.867. Copyright (C) Microsoft Corp 1984-2005. All rights reserved. The evaluation period for Visual Studio Trial Edition ends in 21 days.1>------ Build started: Project: JavaScriptCoreGenerated, Configuration: ReleaseWin32 ------ 1>Performing Makefile project actions1> xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "c:\cygwin \home\Yin\WebKit\WebKitLibraries\win\tools" 1>Cannot perform a cyclic copy 1>0 File(s) copied 1> touch "c:\cygwin\home\Yin\WebKit\WebKitBuild\buildfailed"1> bash build-generated-files.sh "c:\cygwin\home\Yin\WebKit \WebKitBuild" "c:\cygwin\home\Yin\WebKit\WebKitLibraries\win" 1>make: Nothing to be done for `all'.1> mkdir 2>NUL "c:\cygwin\home\Yin\WebKit\WebKitBuild\include \JavaScriptCore\JavaScriptCore"1> xcopy /y /d "..\..\API\APICast.h" "c:\cygwin\home\Yin\WebKit \WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\JavaScript.h" "c:\cygwin\home\Yin\WebKit \WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\JSBase.h" "c:\cygwin\home\Yin\WebKit \WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\JSContextRef.h" "c:\cygwin\home\Yin\WebKit \WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\JSObjectRef.h" "c:\cygwin\home\Yin\WebKit \WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\JSStringRef.h" "c:\cygwin\home\Yin\WebKit \WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\JSStringRefCF.h" "c:\cygwin\home\Yin\WebKit \WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\JSStringRefBSTR.h" "c:\cygwin\home\Yin \WebKit\WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\JSValueRef.h" "c:\cygwin\home\Yin\WebKit \WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\JavaScriptCore.h" "c:\cygwin\home\Yin \WebKit\WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\JSRetainPtr.h" "c:\cygwin\home\Yin\WebKit \WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\OpaqueJSString.h" "c:\cygwin\home\Yin \WebKit\WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> xcopy /y /d "..\..\API\WebKitAvailability.h" "c:\cygwin\home\Yin \WebKit\WebKitBuild\include\JavaScriptCore\JavaScriptCore" 1>0 File(s) copied1> del "c:\cygwin\home\Yin\WebKit\WebKitBuild\include\JavaScriptCore \stdbool.h" "c:\cygwin\home\Yin\WebKit\WebKitBuild\include\JavaScriptCore \stdint.h" 1>Could Not Find c:\cygwin\home\Yin\WebKit\WebKitBuild\include \JavaScriptCore\stdbool.h 1> del "c:\cygwin\home\Yin\WebKit\WebKitBuild\buildfailed"1>Build log was saved at "file://c:\cygwin\home\Yin\WebKit \WebKitBuild\obj\JavaScriptCoreGenerated\Release\BuildLog.htm" 1>JavaScriptCoreGenerated - 0 error(s), 0 warning(s)2>------ Build started: Project: WTF, Configuration: Debug Win32 ------2>Performing Pre-Build Event... 2>Compiling... 2>Assertions.cpp 2>CollatorDefault.cpp 2>CollatorICU.cpp 2>dtoa.cpp 2>FastMalloc.cpp2>C:\cygwin\usr\include\pthread.h(77) : error C2065: 'pthread_attr_t' : undeclared identifier2>C:\cygwin\usr\include\pthread.h(77) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(78) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(78) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(79) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(79) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(80) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(80) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(81) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(81) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(82) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(82) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(83) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(84) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(85) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(86) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(87) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(88) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(104) : error C2065: 'pthread_t' : undeclared identifier2>C:\cygwin\usr\include\pthread.h(127) : error C2065: 'pthread_cond_t' : undeclared identifier2>C:\cygwin\usr\include\pthread.h(127) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(128) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(129) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(130) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(131) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(133) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(134) : error C2065: 'pthread_condattr_t' : undeclared identifier2>C:\cygwin\usr\include\pthread.h(134) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(135) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(135) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(136) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(137) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(139) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(142) : error C2078: too many initializers 2>C:\cygwin\usr\include\pthread.h(144) : error C2062: type 'int' unexpected 2>C:\cygwin\usr\include\pthread.h(145) : error C2065: 'pthread_key_t' : undeclared identifier2>C:\cygwin\usr\include\pthread.h(146) : error C2062: type 'void' unexpected 2>C:\cygwin\usr\include\pthread.h(147) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(151) : error C2065: 'pthread_mutex_t' : undeclared identifier2>C:\cygwin\usr\include\pthread.h(151) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(152) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(152) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(153) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(154) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(155) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(156) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(157) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(158) : error C2065: 'pthread_mutexattr_t' : undeclared identifier2>C:\cygwin\usr\include\pthread.h(158) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(159) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(159) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(160) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(160) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(161) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(161) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(162) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int2>C:\cygwin\usr\include\pthread.h(162) : error C2143: syntax error : missing ','before '*'2>C:\cygwin\usr\include\pthread.h(163) : error C2059: syntax error : ')' 2>C:\cygwin\usr\include\pthread.h(164) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(165) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(166) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(167) : error C2059: syntax error : ',' 2>C:\cygwin\usr\include\pthread.h(170) : error C2065: 'pthread_rwlock_t' : undeclared identifier2>C:\cygwin\usr\include\pthread.h(170) : error C2065: 'rwlock' : undeclared identifier2>C:\cygwin\usr\include\pthread.h(170) : fatal error C1903: unable to recover from previous error(s); stopping compilation 2>HashTable.cpp 2>MainThread.cpp 2>OwnPtrWin.cpp =========================================================== WebKit is now built. To run Safari with this newly-built code, use the "WebKit/WebKitTools/Scripts/run-safari" script. NOTE: WebKit has been built with SVG support enabled. Safari will have SVG viewing capabilities. Your build supports the following (optional) SVG features: * Basic SVG animation. * SVG foreign object. * SVG fonts. * SVG as image. * SVG <use> support. =========================================================== _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

