**** Build of configuration Debug for project HelloWorld **** make all Building file: ../src/HelloWorld.cpp Invoking: Cygwin C++ Compiler g++ -I"C:\root\include" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/HelloWorld.d" -MT"src/HelloWorld.d" -o"src/HelloWorld.o" "../src/HelloWorld.cpp" In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/i686-pc-cygwin/bits/gthr-default.h:43, from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/i686-pc-cygwin/bits/gthr.h:96, from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/i686-pc-cygwin/bits/c++io.h:37, from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/iosfwd:47, from C:/root/include/Riosfwd.h:33, from C:/root/include/TObject.h:40, from C:/root/include/TNamed.h:26, from C:/root/include/TSystem.h:35, from ../src/HelloWorld.cpp:14: C:/root/include/pthread.h:307: error: redefinition of `struct timespec' /usr/include/sys/types.h:114: error: previous definition of `struct timespec' C:/root/include/pthread.h:571: error: conflicting declaration 'typedef struct ptw32_handle_t pthread_t' /usr/include/cygwin/types.h:211: error: 'pthread_t' has a previous declaration as `typedef struct __pthread_t*pthread_t' C:/root/include/pthread.h:571: error: declaration of `typedef struct ptw32_handle_t pthread_t' /usr/include/cygwin/types.h:211: error: conflicts with previous declaration `typedef struct __pthread_t*pthread_t' C:/root/include/pthread.h:571: error: declaration of `typedef struct ptw32_handle_t pthread_t' /usr/include/cygwin/types.h:211: error: conflicts with previous declaration `typedef struct __pthread_t*pthread_t' C:/root/include/pthread.h:571: error: declaration of `typedef struct ptw32_handle_t pthread_t' /usr/include/cygwin/types.h:211: error: conflicts with previous declaration `typedef struct __pthread_t*pthread_t' C:/root/include/pthread.h:572: error: conflicting declaration 'typedef struct pthread_attr_t_*pthread_attr_t' /usr/include/cygwin/types.h:215: error: 'pthread_attr_t' has a previous declaration as `typedef struct __pthread_attr_t*pthread_attr_t' C:/root/include/pthread.h:572: error: declaration of `typedef struct pthread_attr_t_*pthread_attr_t' /usr/include/cygwin/types.h:215: error: conflicts with previous declaration `typedef struct __pthread_attr_t*pthread_attr_t' C:/root/include/pthread.h:572: error: declaration of `typedef struct pthread_attr_t_*pthread_attr_t' /usr/include/cygwin/types.h:215: error: conflicts with previous declaration `typedef struct __pthread_attr_t*pthread_attr_t' C:/root/include/pthread.h:573: error: conflicting declaration 'typedef struct pthread_once_t_ pthread_once_t' /usr/include/cygwin/types.h:226: error: 'pthread_once_t' has a previous declaration as `typedef struct pthread_once_t pthread_once_t' C:/root/include/pthread.h:573: error: declaration of `typedef struct pthread_once_t_ pthread_once_t' /usr/include/cygwin/types.h:226: error: conflicts with previous declaration `typedef struct pthread_once_t pthread_once_t' C:/root/include/pthread.h:573: error: declaration of `typedef struct pthread_once_t_ pthread_once_t' /usr/include/cygwin/types.h:226: error: conflicts with previous declaration `typedef struct pthread_once_t pthread_once_t' C:/root/include/pthread.h:573: error: declaration of `typedef struct pthread_once_t_ pthread_once_t' /usr/include/cygwin/types.h:226: error: conflicts with previous declaration `typedef struct pthread_once_t pthread_once_t' C:/root/include/pthread.h:574: error: conflicting declaration 'typedef struct pthread_key_t_*pthread_key_t' /usr/include/cygwin/types.h:214: error: 'pthread_key_t' has a previous declaration as `typedef struct __pthread_key_t*pthread_key_t' C:/root/include/pthread.h:574: error: declaration of `typedef struct pthread_key_t_*pthread_key_t' /usr/include/cygwin/types.h:214: error: conflicts with previous declaration `typedef struct __pthread_key_t*pthread_key_t' C:/root/include/pthread.h:574: error: declaration of `typedef struct pthread_key_t_*pthread_key_t' /usr/include/cygwin/types.h:214: error: conflicts with previous declaration `typedef struct __pthread_key_t*pthread_key_t' C:/root/include/pthread.h:575: error: conflicting declaration 'typedef struct pthread_mutex_t_*pthread_mutex_t' /usr/include/cygwin/types.h:212: error: 'pthread_mutex_t' has a previous declaration as `typedef struct __pthread_mutex_t*pthread_mutex_t' C:/root/include/pthread.h:575: error: declaration of `typedef struct pthread_mutex_t_*pthread_mutex_t' /usr/include/cygwin/types.h:212: error: conflicts with previous declaration `typedef struct __pthread_mutex_t*pthread_mutex_t' C:/root/include/pthread.h:575: error: declaration of `typedef struct pthread_mutex_t_*pthread_mutex_t' /usr/include/cygwin/types.h:212: error: conflicts with previous declaration `typedef struct __pthread_mutex_t*pthread_mutex_t' C:/root/include/pthread.h:576: error: conflicting declaration 'typedef struct pthread_mutexattr_t_*pthread_mutexattr_t' /usr/include/cygwin/types.h:216: error: 'pthread_mutexattr_t' has a previous declaration as `typedef struct __pthread_mutexattr_t*pthread_mutexattr_t' C:/root/include/pthread.h:576: error: declaration of `typedef struct pthread_mutexattr_t_*pthread_mutexattr_t' /usr/include/cygwin/types.h:216: error: conflicts with previous declaration `typedef struct __pthread_mutexattr_t*pthread_mutexattr_t' C:/root/include/pthread.h:576: error: declaration of `typedef struct pthread_mutexattr_t_*pthread_mutexattr_t' /usr/include/cygwin/types.h:216: error: conflicts with previous declaration `typedef struct __pthread_mutexattr_t*pthread_mutexattr_t' C:/root/include/pthread.h:577: error: conflicting declaration 'typedef struct pthread_cond_t_*pthread_cond_t' /usr/include/cygwin/types.h:218: error: 'pthread_cond_t' has a previous declaration as `typedef struct __pthread_cond_t*pthread_cond_t' C:/root/include/pthread.h:577: error: declaration of `typedef struct pthread_cond_t_*pthread_cond_t' /usr/include/cygwin/types.h:218: error: conflicts with previous declaration `typedef struct __pthread_cond_t*pthread_cond_t' C:/root/include/pthread.h:577: error: declaration of `typedef struct pthread_cond_t_*pthread_cond_t' /usr/include/cygwin/types.h:218: error: conflicts with previous declaration `typedef struct __pthread_cond_t*pthread_cond_t' C:/root/include/pthread.h:578: error: conflicting declaration 'typedef struct pthread_condattr_t_*pthread_condattr_t' /usr/include/cygwin/types.h:217: error: 'pthread_condattr_t' has a previous declaration as `typedef struct __pthread_condattr_t*pthread_condattr_t' C:/root/include/pthread.h:578: error: declaration of `typedef struct pthread_condattr_t_*pthread_condattr_t' /usr/include/cygwin/types.h:217: error: conflicts with previous declaration `typedef struct __pthread_condattr_t*pthread_condattr_t' C:/root/include/pthread.h:578: error: declaration of `typedef struct pthread_condattr_t_*pthread_condattr_t' /usr/include/cygwin/types.h:217: error: conflicts with previous declaration `typedef struct __pthread_condattr_t*pthread_condattr_t' C:/root/include/pthread.h:580: error: conflicting declaration 'typedef struct pthread_rwlock_t_*pthread_rwlock_t' /usr/include/cygwin/types.h:227: error: 'pthread_rwlock_t' has a previous declaration as `typedef struct __pthread_rwlock_t*pthread_rwlock_t' C:/root/include/pthread.h:580: error: declaration of `typedef struct pthread_rwlock_t_*pthread_rwlock_t' /usr/include/cygwin/types.h:227: error: conflicts with previous declaration `typedef struct __pthread_rwlock_t*pthread_rwlock_t' C:/root/include/pthread.h:580: error: declaration of `typedef struct pthread_rwlock_t_*pthread_rwlock_t' /usr/include/cygwin/types.h:227: error: conflicts with previous declaration `typedef struct __pthread_rwlock_t*pthread_rwlock_t' C:/root/include/pthread.h:581: error: conflicting declaration 'typedef struct pthread_rwlockattr_t_*pthread_rwlockattr_t' /usr/include/cygwin/types.h:228: error: 'pthread_rwlockattr_t' has a previous declaration as `typedef struct __pthread_rwlockattr_t*pthread_rwlockattr_t' C:/root/include/pthread.h:581: error: declaration of `typedef struct pthread_rwlockattr_t_*pthread_rwlockattr_t' /usr/include/cygwin/types.h:228: error: conflicts with previous declaration `typedef struct __pthread_rwlockattr_t*pthread_rwlockattr_t' C:/root/include/pthread.h:581: error: declaration of `typedef struct pthread_rwlockattr_t_*pthread_rwlockattr_t' /usr/include/cygwin/types.h:228: error: conflicts with previous declaration `typedef struct __pthread_rwlockattr_t*pthread_rwlockattr_t' In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/cstdlib:52, from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_algobase.h:67, from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/char_traits.h:46, from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/string:47, from C:/root/include/TString.h:44, from C:/root/include/TNamed.h:29, from C:/root/include/TSystem.h:35, from ../src/HelloWorld.cpp:14: /usr/include/stdlib.h:144: error: expected unqualified-id before "unsigned" /usr/include/stdlib.h:144: error: expected `)' before "unsigned" /usr/include/stdlib.h:144: error: expected `,' or `;' before "unsigned" make: *** [src/HelloWorld.o] Error 1