<br><p>somting wrong in sys/types.h, which cause the pthread.h header value types "undeclared"</p><p>anyone has this issue fixed?</p><p></p><p>3>C:\cygwin\usr\include\pthread.h(81) : error C2143: syntax error : missing ','<br>
</p>before '*'<br>3>C:\cygwin\usr\include\pthread.h(82) : error C4430: missing type specifier - in<br>t assumed. Note: C++ does not support default-int<br>3>C:\cygwin\usr\include\pthread.h(82) : error C2143: syntax error : missing ','<br>
before '*'<br>3>C:\cygwin\usr\include\pthread.h(83) : error C2059: syntax error : ')'<br>3>C:\cygwin\usr\include\pthread.h(84) : error C2059: syntax error : ','<br>3>C:\cygwin\usr\include\pthread.h(85) : error C2059: syntax error : ','<br>
3>C:\cygwin\usr\include\pthread.h(86) : error C2059: syntax error : ','<br>3>C:\cygwin\usr\include\pthread.h(87) : error C2059: syntax error : ','<br>3>C:\cygwin\usr\include\pthread.h(88) : error C2059: syntax error : ','<br>
3>C:\cygwin\usr\include\pthread.h(104) : error C2065: 'pthread_t' : undeclared i<br>dentifier<br>3>C:\cygwin\usr\include\pthread.h(127) : error C2065: 'pthread_cond_t' : undecla<br>red identifier<br>
3>C:\cygwin\usr\include\pthread.h(127) : error C2059: syntax error : ')'<br>3>C:\cygwin\usr\include\pthread.h(128) : error C2059: syntax error : ')'<br>3>C:\cygwin\usr\include\pthread.h(129) : error C2059: syntax error : ','<br>
3>C:\cygwin\usr\include\pthread.h(130) : error C2059: syntax error : ')'<br>3>C:\cygwin\usr\include\pthread.h(131) : error C2059: syntax error : ','<br>3>C:\cygwin\usr\include\pthread.h(133) : error C2059: syntax error : ','<br>
3>C:\cygwin\usr\include\pthread.h(134) : error C2065: 'pthread_condattr_t' : und<br>eclared identifier<br>3>C:\cygwin\usr\include\pthread.h(134) : error C2059: syntax error : ')'<br>3>C:\cygwin\usr\include\pthread.h(135) : error C4430: missing type specifier - i<br>
nt assumed. Note: C++ does not support default-int<br>3>C:\cygwin\usr\include\pthread.h(135) : error C2143: syntax error : missing ','<br> before '*'<br>3>C:\cygwin\usr\include\pthread.h(136) : error C2059: syntax error : ')'<br>
3>C:\cygwin\usr\include\pthread.h(137) : error C2059: syntax error : ','<br>3>C:\cygwin\usr\include\pthread.h(139) : error C2059: syntax error : ','<br>3>C:\cygwin\usr\include\pthread.h(142) : error C2078: too many initializers<br>
3>C:\cygwin\usr\include\pthread.h(144) : error C2062: type 'int' unexpected<br>3>C:\cygwin\usr\include\pthread.h(145) : error C2065: 'pthread_key_t' : undeclar<br>ed identifier<br>3>C:\cygwin\usr\include\pthread.h(146) : error C2062: type 'void' unexpected<br>
3>C:\cygwin\usr\include\pthread.h(147) : error C2059: syntax error : ','<br>3>C:\cygwin\usr\include\pthread.h(151) : error C2065: 'pthread_mutex_t' : undecl<br>ared identifier<br>3>C:\cygwin\usr\include\pthread.h(151) : error C2059: syntax error : ')'<br>
3>C:\cygwin\usr\include\pthread.h(152) : error C4430: missing type specifier - i<br>nt assumed. Note: C++ does not support default-int<br>3>C:\cygwin\usr\include\pthread.h(152) : error C2143: syntax error : missing ','<br>
before '*'<br>3>C:\cygwin\usr\include\pthread.h(153) : error C2059: syntax error : ','<br>3>C:\cygwin\usr\include\pthread.h(154) : error C2059: syntax error : ')'<br>3>C:\cygwin\usr\include\pthread.h(155) : error C2059: syntax error : ','<br>
3>C:\cygwin\usr\include\pthread.h(156) : error C2059: syntax error : ')'<br>3>C:\cygwin\usr\include\pthread.h(157) : error C2059: syntax error : ')'<br>3>C:\cygwin\usr\include\pthread.h(158) : error C2065: 'pthread_mutexattr_t' : un<br>
declared identifier<br>3>C:\cygwin\usr\include\pthread.h(158) : error C2059: syntax error : ')'<br>3>C:\cygwin\usr\include\pthread.h(159) : error C4430: missing type specifier - i<br>nt assumed. Note: C++ does not support default-int<br>
3>C:\cygwin\usr\include\pthread.h(159) : error C2143: syntax error : missing ','<br> before '*'<br>3>C:\cygwin\usr\include\pthread.h(160) : error C4430: missing type specifier - i<br>nt assumed. Note: C++ does not support default-int<br>
3>C:\cygwin\usr\include\pthread.h(160) : error C2143: syntax error : missing ','<br> before '*'<br>3>C:\cygwin\usr\include\pthread.h(161) : error C4430: missing type specifier - i<br>nt assumed. Note: C++ does not support default-int<br>
3>C:\cygwin\usr\include\pthread.h(161) : error C2143: syntax error : missing ','<br> before '*'<br>3>C:\cygwin\usr\include\pthread.h(162) : error C4430: missing type specifier - i<br>nt assumed. Note: C++ does not support default-int<br>
3>C:\cygwin\usr\include\pthread.h(162) : error C2143: syntax error : missing ','<br> before '*'<br>3>C:\cygwin\usr\include\pthread.h(163) : error C2059: syntax error : ')'<br>3>C:\cygwin\usr\include\pthread.h(164) : error C2059: syntax error : ','<br>
3>C:\cygwin\usr\include\pthread.h(165) : error C2059: syntax error : ','<br>3>C:\cygwin\usr\include\pthread.h(166) : error C2059: syntax error : ','<br>3>C:\cygwin\usr\include\pthread.h(167) : error C2059: syntax error : ','<br>
3>C:\cygwin\usr\include\pthread.h(170) : error C2065: 'pthread_rwlock_t' : undec<br>lared identifier<br>3>C:\cygwin\usr\include\pthread.h(170) : error C2065: 'rwlock' : undeclared iden<br>tifier<br>3>C:\cygwin\usr\include\pthread.h(170) : fatal error C1903: unable to recover fr<br>
om previous error(s); stopping compilation<br>3>JITPropertyAccess.cpp<br><br>===========================================================<br> WebKit is now built. To run Safari with this newly-built<br> code, use the "WebKit/WebKitTools/Scripts/run-safari" script.<br>
<br> NOTE: WebKit has been built with SVG support enabled.<br> Safari will have SVG viewing capabilities.<br> Your build supports the following (optional) SVG features:<br> * Basic SVG animation.<br> * SVG foreign object.<br>
* SVG fonts.<br> * SVG as image.<br> * SVG <use> support.<br>===========================================================<br><br>Yin@Orion ~<br>$ WebKit/WebKitTools/Scripts/build-webkit --debug<br>Subroutine main::tmpnam redefined at /home/Yin/WebKit/WebKitTools/Scripts/webkit<br>
<a href="http://dirs.pm">dirs.pm</a> line 33<br>Subroutine main::tmpfile redefined at /home/Yin/WebKit/WebKitTools/Scripts/webki<br><a href="http://tdirs.pm">tdirs.pm</a> line 33<br>Checking mod-date of WebKitSupportLibrary.zip...<br>
Current WebKitSupportLibrary is up to date<br>Building results into: /home/Yin/WebKit/WebKitBuild<br>WEBKITOUTPUTDIR is set to: c:\cygwin\home\Yin\WebKit\WebKitBuild<br>WEBKITLIBRARIESDIR is set to: c:\cygwin\home\Yin\WebKit\WebKitLibraries\win<br>
/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/<a href="http://devenv.com">devenv.com</a> win\W<br>ebKit.vcproj\WebKit.sln /build Debug<br><br>Microsoft (R) Visual Studio Version 8.0.50727.867.<br>Copyright (C) Microsoft Corp 1984-2005. All rights reserved.<br>
<br>The evaluation period for Visual Studio Trial Edition ends in 21 days.<br>1>------ Build started: Project: JavaScriptCoreGenerated, Configuration: Release<br> Win32 ------<br>1>Performing Makefile project actions<br>
1> xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "c:\cygwin\home\Yin\WebKi<br>t\WebKitLibraries\win\tools"<br>1>Cannot perform a cyclic copy<br>1>0 File(s) copied<br>1> touch "c:\cygwin\home\Yin\WebKit\WebKitBuild\buildfailed"<br>
1> bash build-generated-files.sh "c:\cygwin\home\Yin\WebKit\WebKitBuild" "c:\cyg<br>win\home\Yin\WebKit\WebKitLibraries\win"<br>1>make: Nothing to be done for `all'.<br>1> mkdir 2>NUL "c:\cygwin\home\Yin\WebKit\WebKitBuild\include\JavaScriptCore\Jav<br>
aScriptCore"<br>1> xcopy /y /d "..\..\API\APICast.h" "c:\cygwin\home\Yin\WebKit\WebKitBuild\incl<br>ude\JavaScriptCore\JavaScriptCore"<br>1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\JavaScript.h" "c:\cygwin\home\Yin\WebKit\WebKitBuild\i<br>
nclude\JavaScriptCore\JavaScriptCore"<br>1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\JSBase.h" "c:\cygwin\home\Yin\WebKit\WebKitBuild\inclu<br>de\JavaScriptCore\JavaScriptCore"<br>1>0 File(s) copied<br>
1> xcopy /y /d "..\..\API\JSContextRef.h" "c:\cygwin\home\Yin\WebKit\WebKitBuild<br>\include\JavaScriptCore\JavaScriptCore"<br>1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\JSObjectRef.h" "c:\cygwin\home\Yin\WebKit\WebKitBuild\<br>
include\JavaScriptCore\JavaScriptCore"<br>1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\JSStringRef.h" "c:\cygwin\home\Yin\WebKit\WebKitBuild\<br>include\JavaScriptCore\JavaScriptCore"<br>
1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\JSStringRefCF.h" "c:\cygwin\home\Yin\WebKit\WebKitBuil<br>d\include\JavaScriptCore\JavaScriptCore"<br>1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\JSStringRefBSTR.h" "c:\cygwin\home\Yin\WebKit\WebKitBu<br>
ild\include\JavaScriptCore\JavaScriptCore"<br>1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\JSValueRef.h" "c:\cygwin\home\Yin\WebKit\WebKitBuild\i<br>nclude\JavaScriptCore\JavaScriptCore"<br>
1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\JavaScriptCore.h" "c:\cygwin\home\Yin\WebKit\WebKitBui<br>ld\include\JavaScriptCore\JavaScriptCore"<br>1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\JSRetainPtr.h" "c:\cygwin\home\Yin\WebKit\WebKitBuild\<br>
include\JavaScriptCore\JavaScriptCore"<br>1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\OpaqueJSString.h" "c:\cygwin\home\Yin\WebKit\WebKitBui<br>ld\include\JavaScriptCore\JavaScriptCore"<br>
1>0 File(s) copied<br>1> xcopy /y /d "..\..\API\WebKitAvailability.h" "c:\cygwin\home\Yin\WebKit\WebKi<br>tBuild\include\JavaScriptCore\JavaScriptCore"<br>1>0 File(s) copied<br>1> del "c:\cygwin\home\Yin\WebKit\WebKitBuild\include\JavaScriptCore\stdbool.h"<br>
"c:\cygwin\home\Yin\WebKit\WebKitBuild\include\JavaScriptCore\stdint.h"<br>1>Could Not Find c:\cygwin\home\Yin\WebKit\WebKitBuild\include\JavaScriptCore\st<br>dbool.h<br>1> del "c:\cygwin\home\Yin\WebKit\WebKitBuild\buildfailed"<br>
1>Build log was saved at "file://c:\cygwin\home\Yin\WebKit\WebKitBuild\obj\JavaS<br>criptCoreGenerated\Release\BuildLog.htm"<br>1>JavaScriptCoreGenerated - 0 error(s), 0 warning(s)<br>2>------ Build started: Project: WTF, Configuration: Debug Win32 ------<br>
2>Performing Pre-Build Event...<br>2>Compiling...<br>2>Assertions.cpp<br>2>CollatorDefault.cpp<br>2>CollatorICU.cpp<br>2>dtoa.cpp<br>2>FastMalloc.cpp<br>2>C:\cygwin\usr\include\pthread.h(77) : error C2065: 'pthread_attr_t' : undeclar<br>
ed identifier<br>2>C:\cygwin\usr\include\pthread.h(77) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(78) : error C4430: missing type specifier - in<br>t assumed. Note: C++ does not support default-int<br>
2>C:\cygwin\usr\include\pthread.h(78) : error C2143: syntax error : missing ','<br>before '*'<br>2>C:\cygwin\usr\include\pthread.h(79) : error C4430: missing type specifier - in<br>t assumed. Note: C++ does not support default-int<br>
2>C:\cygwin\usr\include\pthread.h(79) : error C2143: syntax error : missing ','<br>before '*'<br>2>C:\cygwin\usr\include\pthread.h(80) : error C4430: missing type specifier - in<br>t assumed. Note: C++ does not support default-int<br>
2>C:\cygwin\usr\include\pthread.h(80) : error C2143: syntax error : missing ','<br>before '*'<br>2>C:\cygwin\usr\include\pthread.h(81) : error C4430: missing type specifier - in<br>t assumed. Note: C++ does not support default-int<br>
2>C:\cygwin\usr\include\pthread.h(81) : error C2143: syntax error : missing ','<br>before '*'<br>2>C:\cygwin\usr\include\pthread.h(82) : error C4430: missing type specifier - in<br>t assumed. Note: C++ does not support default-int<br>
2>C:\cygwin\usr\include\pthread.h(82) : error C2143: syntax error : missing ','<br>before '*'<br>2>C:\cygwin\usr\include\pthread.h(83) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(84) : error C2059: syntax error : ','<br>
2>C:\cygwin\usr\include\pthread.h(85) : error C2059: syntax error : ','<br>2>C:\cygwin\usr\include\pthread.h(86) : error C2059: syntax error : ','<br>2>C:\cygwin\usr\include\pthread.h(87) : error C2059: syntax error : ','<br>
2>C:\cygwin\usr\include\pthread.h(88) : error C2059: syntax error : ','<br>2>C:\cygwin\usr\include\pthread.h(104) : error C2065: 'pthread_t' : undeclared i<br>dentifier<br>2>C:\cygwin\usr\include\pthread.h(127) : error C2065: 'pthread_cond_t' : undecla<br>
red identifier<br>2>C:\cygwin\usr\include\pthread.h(127) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(128) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(129) : error C2059: syntax error : ','<br>
2>C:\cygwin\usr\include\pthread.h(130) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(131) : error C2059: syntax error : ','<br>2>C:\cygwin\usr\include\pthread.h(133) : error C2059: syntax error : ','<br>
2>C:\cygwin\usr\include\pthread.h(134) : error C2065: 'pthread_condattr_t' : und<br>eclared identifier<br>2>C:\cygwin\usr\include\pthread.h(134) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(135) : error C4430: missing type specifier - i<br>
nt assumed. Note: C++ does not support default-int<br>2>C:\cygwin\usr\include\pthread.h(135) : error C2143: syntax error : missing ','<br> before '*'<br>2>C:\cygwin\usr\include\pthread.h(136) : error C2059: syntax error : ')'<br>
2>C:\cygwin\usr\include\pthread.h(137) : error C2059: syntax error : ','<br>2>C:\cygwin\usr\include\pthread.h(139) : error C2059: syntax error : ','<br>2>C:\cygwin\usr\include\pthread.h(142) : error C2078: too many initializers<br>
2>C:\cygwin\usr\include\pthread.h(144) : error C2062: type 'int' unexpected<br>2>C:\cygwin\usr\include\pthread.h(145) : error C2065: 'pthread_key_t' : undeclar<br>ed identifier<br>2>C:\cygwin\usr\include\pthread.h(146) : error C2062: type 'void' unexpected<br>
2>C:\cygwin\usr\include\pthread.h(147) : error C2059: syntax error : ','<br>2>C:\cygwin\usr\include\pthread.h(151) : error C2065: 'pthread_mutex_t' : undecl<br>ared identifier<br>2>C:\cygwin\usr\include\pthread.h(151) : error C2059: syntax error : ')'<br>
2>C:\cygwin\usr\include\pthread.h(152) : error C4430: missing type specifier - i<br>nt assumed. Note: C++ does not support default-int<br>2>C:\cygwin\usr\include\pthread.h(152) : error C2143: syntax error : missing ','<br>
before '*'<br>2>C:\cygwin\usr\include\pthread.h(153) : error C2059: syntax error : ','<br>2>C:\cygwin\usr\include\pthread.h(154) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(155) : error C2059: syntax error : ','<br>
2>C:\cygwin\usr\include\pthread.h(156) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(157) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(158) : error C2065: 'pthread_mutexattr_t' : un<br>
declared identifier<br>2>C:\cygwin\usr\include\pthread.h(158) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(159) : error C4430: missing type specifier - i<br>nt assumed. Note: C++ does not support default-int<br>
2>C:\cygwin\usr\include\pthread.h(159) : error C2143: syntax error : missing ','<br> before '*'<br>2>C:\cygwin\usr\include\pthread.h(160) : error C4430: missing type specifier - i<br>nt assumed. Note: C++ does not support default-int<br>
2>C:\cygwin\usr\include\pthread.h(160) : error C2143: syntax error : missing ','<br> before '*'<br>2>C:\cygwin\usr\include\pthread.h(161) : error C4430: missing type specifier - i<br>nt assumed. Note: C++ does not support default-int<br>
2>C:\cygwin\usr\include\pthread.h(161) : error C2143: syntax error : missing ','<br> before '*'<br>2>C:\cygwin\usr\include\pthread.h(162) : error C4430: missing type specifier - i<br>nt assumed. Note: C++ does not support default-int<br>
2>C:\cygwin\usr\include\pthread.h(162) : error C2143: syntax error : missing ','<br> before '*'<br>2>C:\cygwin\usr\include\pthread.h(163) : error C2059: syntax error : ')'<br>2>C:\cygwin\usr\include\pthread.h(164) : error C2059: syntax error : ','<br>
2>C:\cygwin\usr\include\pthread.h(165) : error C2059: syntax error : ','<br>2>C:\cygwin\usr\include\pthread.h(166) : error C2059: syntax error : ','<br>2>C:\cygwin\usr\include\pthread.h(167) : error C2059: syntax error : ','<br>
2>C:\cygwin\usr\include\pthread.h(170) : error C2065: 'pthread_rwlock_t' : undec<br>lared identifier<br>2>C:\cygwin\usr\include\pthread.h(170) : error C2065: 'rwlock' : undeclared iden<br>tifier<br>2>C:\cygwin\usr\include\pthread.h(170) : fatal error C1903: unable to recover fr<br>
om previous error(s); stopping compilation<br>2>HashTable.cpp<br>2>MainThread.cpp<br>2>OwnPtrWin.cpp<br><br>===========================================================<br> WebKit is now built. To run Safari with this newly-built<br>
code, use the "WebKit/WebKitTools/Scripts/run-safari" script.<br><br> NOTE: WebKit has been built with SVG support enabled.<br> Safari will have SVG viewing capabilities.<br> Your build supports the following (optional) SVG features:<br>
* Basic SVG animation.<br> * SVG foreign object.<br> * SVG fonts.<br> * SVG as image.<br> * SVG <use> support.<br>===========================================================<br>