porting pthread function to WinCE

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

porting pthread function to WinCE

Mickey Kim


I'm tring to make WinCE static library using MicroSoft Visual Studio 2005 (Window Mobile 5.0 SDK) .
But I cannot build your source  code (pthreads-w32-2-7-0-release).
I compiled only pthrea.c file. Am I right?
 
Then, I could find below error message.
How can I resolve this problrem.
 
 
g:\mobileplatform\referencesource\posix\pthread-win32\pthreads-w32-2-7-0-release.tar\pthreads-w32-2-7-0-release\pthread.h(1217) : error C2375: '_errno' : redefinition; different linkage
        g:\mobileplatform\referencesource\posix\pthread-win32\pthreads-w32-2-7-0-release.tar\pthreads-w32-2-7-0-release\need_errno.h(66) : see declaration of '_errno'
g:\mobileplatform\referencesource\posix\pthread-win32\pthreads-w32-2-7-0-release.tar\pthreads-w32-2-7-0-release\errno.c(77) : error C2088: '==' : illegal for struct
g:\mobileplatform\referencesource\posix\pthread-win32\pthreads-w32-2-7-0-release.tar\pthreads-w32-2-7-0-release\errno.c(87) : error C2039: 'ptErrno' : is not a member of 'ptw32_handle_t'
        g:\mobileplatform\referencesource\posix\pthread-win32\pthreads-w32-2-7-0-release.tar\pthreads-w32-2-7-0-release\pthread.h(568) : see declaration of 'ptw32_handle_t'
 
 
Regard,
Mickey