From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19618 invoked by alias); 13 Mar 2006 15:42:04 -0000 Received: (qmail 19600 invoked by uid 22791); 13 Mar 2006 15:42:02 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO exchange.sipquest.com) (209.217.71.14) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 13 Mar 2006 15:41:56 +0000 Received: from 10.1.0.14 ([10.1.0.14]) by exchange.sipquest.com ([10.1.10.21]) with Microsoft Exchange Server HTTP-DAV ; Mon, 13 Mar 2006 15:41:54 +0000 Received: from dave.sipquest.com by exchange.sipquest.com; 13 Mar 2006 10:41:54 -0500 Subject: Trouble compiling for WINCE From: Dave Stuart To: pthreads-win32@sources.redhat.com Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 13 Mar 2006 15:42:00 -0000 Message-Id: <1142264513.27514.3.camel@dave.sipquest.com> Mime-Version: 1.0 Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2006/txt/msg00009.txt.bz2 Hello, I downloaded the latest stable version of pthreads-win32 but am unable to get it to compile for Windows CE (ARM) architecture. I have defined WINCE but still get a lot of errors like the following: Compiling... tsd.c C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winnt.h(2976) : error C2061: syntax error : identifier 'PCONTEXT' C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winnt.h(2977) : error C2059: syntax error : '}' C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winbase.h(1414) : error C2061: syntax error : identifier 'LPCONTEXT' C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winbase.h(1414) : error C2059: syntax error : ';' C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winbase.h(2117) : error C2146: syntax error : missing ')' before identifier 'lpContext' C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winbase.h(2117) : error C2081: 'LPCONTEXT' : name in formal parameter list illegal C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winbase.h(2117) : error C2061: syntax error : identifier 'lpContext' C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winbase.h(2117) : error C2059: syntax error : ';' C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winbase.h(2118) : error C2059: syntax error : ')' C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winbase.h(2125) : error C2143: syntax error : missing ')' before '*' C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winbase.h(2125) : error C2143: syntax error : missing '{' before '*' C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winbase.h(2126) : error C2059: syntax error : ')' c:\documents and settings\dstuart\my documents\development\pthreads\pthreads.2\pthread.h(1215) : warning C4273: '_errno' : inconsistent dll linkage c:\documents and settings\dstuart\my documents\development\pthreads\pthreads.2\need_errno.h(66) : see previous definition of '_errno' c:\documents and settings\dstuart\my documents\development\pthreads\pthreads.2\implement.h(661) : fatal error C1083: Cannot open include file: 'process.h': No such file or directory Build log was saved at "file://c:\Documents and Settings\dstuart\My Documents\Development\pthreads\pthreads.2\Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Release\BuildLog.htm" pthread - 13 error(s), 1 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Can anyone help?? Thanks in advance .. Dave -- David Stuart, SIPquest Email: dave (at) sipquest (dot) com Phone: 254-8886 x234 Web: http://www.sipquest.com/ Address: 300 - 350 Terry Fox Drive, Kanata Ontario, K2K 2P5