From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6989 invoked by alias); 20 May 2004 21:53:55 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 6982 invoked from network); 20 May 2004 21:53:54 -0000 Received: from unknown (HELO smtp.andrew.cmu.edu) (128.2.10.83) by sourceware.org with SMTP; 20 May 2004 21:53:54 -0000 Received: from webmail.andrew.cmu.edu (WEBMAIL1.andrew.cmu.edu [128.2.10.91]) by smtp.andrew.cmu.edu (8.12.10/8.12.10) with SMTP id i4KLrsY7013877 for ; Thu, 20 May 2004 17:53:54 -0400 Received: from 128.2.186.98 (SquirrelMail authenticated user pcuadra@ANDREW.CMU.EDU) by webmail.andrew.cmu.edu with HTTP; Thu, 20 May 2004 17:53:53 -0400 (EDT) Message-ID: <2890.128.2.186.98.1085090033.squirrel@webmail.andrew.cmu.edu> Date: Thu, 20 May 2004 21:53:00 -0000 Subject: Compiling pthreads under windows CE with eVC++ From: "Philip Cuadra" To: pthreads-win32@sources.redhat.com User-Agent: SquirrelMail/1.4.3 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004/txt/msg00068.txt.bz2 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 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