This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling pthreads under windows CE with eVC++


Hi folks,
I'm trying to build the .dll for pthreads under MS eVC++ 4.0 for Windows
CE 4 (Pocket PC 2003) on an ARM processor (the IPAQ 5555).  As I am new to
both CE and eVC++, I am having troubles with this.  I have tried following
the instructions in the readmes to no avail.  I have defined WINCE when I
compile.  I am using the pthread-2004-05-16-fixed self-extracting file to
get teh source files.

When I try to compile, I first get this error:
pthread.h(256): Could not find the file sched.h.
I can fix this by changing line 256 in pthread.h from
#include <sched.h>
to
#include "sched.h"

After changing that, I instead get the following errors:
implement.h(506) : error C2146: syntax error : missing ')' before
identifier 'callback'
implement.h(506) : error C2061: syntax error : identifier 'callback'
implement.h(506) : error C2059: syntax error : ';'
implement.h(506) : error C2059: syntax error : ','
implement.h(507) : error C2059: syntax error : ')'
implement.h(588) : fatal error C1083: Cannot open include file:
'process.h': No such file or directory
Error executing clarm.exe.
ptw32_threadStart.c(87): Could not find the file exceptio.h.
ptw32_threadStart.c(87): Could not find the file exceptio.h.
ptw32_threadStart.c(87): Could not find the file exceptio.h.

I believe I am missing something due to my lack of experience with MS eVC++
and WinCE.  Any help would eb greatly appreciated, as we're in the process
of porting our project to many different systems and Pthreads looks like
the best way to go.

Thanks in advance,
Philip


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]