porting pthread function to WinCE
김지훈
jihun.kim@samsung.com
Mon Jun 5 11:42:00 GMT 2006
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
More information about the Pthreads-win32
mailing list