This is the mail archive of the
pthreads-win32@sourceware.org
mailing list for the pthreas-win32 project.
porting pthread function to WinCE
- From: 김지훈 <jihun dot kim at samsung dot com>
- To: pthreads-win32 at sources dot redhat dot com
- Date: Mon, 05 Jun 2006 11:41:21 +0000 (GMT)
- Subject: porting pthread function to WinCE
- Msgkey: 20060605114207729@jihun.kim
- Reply-to: jihun dot kim at samsung dot com
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