Trouble compiling for WINCE

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Trouble compiling for WINCE

David Stuart
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