cURL / Mailing Lists / curl-library / Single Mail

curl-library

WinCE Support

From: Sonia Subramanian <sonia_subramanian_at_symantec.com>
Date: Thu, 6 Jul 2006 10:55:35 -0700

Hi,

 

We are trying to compile a static library of curl on WinCE.

 

I noticed that there is an evc4 workspace

but that does not have any projects when I open it.

Could you please let me know the changes

I have to make in order to compile on evc or platform builder.

 

The errors I get are mostly I think due to io.h, time.h and socket.h

WinCE has a version of time.h but it may not contain all structures used
here.

Does curl have a port of time.h that can be used?

 

The lib files I included are as follows:

 

Coredll.lib

Winsock.lib

Wininet.lib

 

I went thru the many posts and did the following:

 

Created a evc directory and added the following blank files:

 

1. process.h

     2. screen.h

     3. library.h

     4. netware.h

 

For starters I am compiling as an exe. I have attached the build errors
below.

 

Would appreciate any help esp as we are on a deadline and need to get
this done pretty fast.

 

Thanks,

Sonia.

 

-------------------Configuration: httpexe - Win32 (WCE emulator)
Debug--------------------

Compiling...

formdata.c

C:\Http\httpexe\lib\formdata.c(788) : warning C4273: 'curl_formadd' :
inconsistent dll linkage. dllexport assumed.

C:\Http\httpexe\lib\formdata.c(842) : error C2079: 'file' uses undefined
struct 'stat'

C:\Http\httpexe\lib\formdata.c(843) : warning C4133: 'function' :
incompatible types - from 'int *' to 'struct stat *'

C:\Http\httpexe\lib\formdata.c(844) : error C2224: left of '.st_size'
must have struct/union type

C:\Http\httpexe\lib\formdata.c(893) : warning C4273: 'curl_formfree' :
inconsistent dll linkage. dllexport assumed.

inet_ntop.c

C:\Http\httpexe\lib\inet_ntop.c(89) : error C2065: 'errno' : undeclared
identifier

inet_pton.c

C:\Http\httpexe\lib\inet_pton.c(86) : error C2065: 'errno' : undeclared
identifier

select.c

C:\Http\httpexe\lib\select.c(155) : error C2065: 'EINTR' : undeclared
identifier

amigaos.c

C:\Program Files\Windows CE
Tools\wce400\STANDARDSDK\Include\emulator\types.h(57) : error C2143:
syntax error : missing '{' before '*'

C:\Program Files\Windows CE
Tools\wce400\STANDARDSDK\Include\emulator\types.h(59) : error C2061:
syntax error : identifier 'HPROCESS'

C:\Program Files\Windows CE
Tools\wce400\STANDARDSDK\Include\emulator\types.h(59) : error C2059:
syntax error : ';'

C:\Program Files\Windows CE
Tools\wce400\STANDARDSDK\Include\emulator\types.h(60) : error C2061:
syntax error : identifier 'HTHREAD'

C:\Program Files\Windows CE
Tools\wce400\STANDARDSDK\Include\emulator\types.h(60) : error C2059:
syntax error : ';'

C:\Program Files\Windows CE
Tools\wce400\STANDARDSDK\Include\emulator\types.h(62) : error C2061:
syntax error : identifier 'PCRECT'

C:\Program Files\Windows CE
Tools\wce400\STANDARDSDK\Include\emulator\types.h(62) : error C2059:
syntax error : ';'

C:\Program Files\Windows CE
Tools\wce400\STANDARDSDK\Include\emulator\types.h(64) : error C2061:
syntax error : identifier 'WIN32_ERROR_CODE'

C:\Program Files\Windows CE
Tools\wce400\STANDARDSDK\Include\emulator\types.h(64) : error C2059:
syntax error : ';'

C:\Http\httpexe\lib\amigaos.h(40) : error C2010: '.' : unexpected in
macro formal parameter list

C:\Http\httpexe\lib\amigaos.h(40) : error C2010: '.' : unexpected in
macro formal parameter list

C:\Http\httpexe\lib\amigaos.h(40) : error C2010: '.' : unexpected in
macro formal parameter list

C:\Http\httpexe\lib\amigaos.c(25) : fatal error C1083: Cannot open
include file: 'amitcp/socketbasetags.h': No such file or directory

connect.c

C:\Http\httpexe\lib\connect.c(194) : fatal error C1189: #error : "no
non-blocking method was found/used/set"

mprintf.c

C:\Http\httpexe\lib\mprintf.c(165) : warning C4273: 'curl_msprintf' :
inconsistent dll linkage. dllexport assumed.

C:\Http\httpexe\lib\mprintf.c(1002) : warning C4273: 'curl_mvsnprintf' :
inconsistent dll linkage. dllexport assumed.

C:\Http\httpexe\lib\mprintf.c(1023) : warning C4273: 'curl_msnprintf' :
inconsistent dll linkage. dllexport assumed.

C:\Http\httpexe\lib\mprintf.c(1068) : warning C4273: 'curl_maprintf' :
inconsistent dll linkage. dllexport assumed.

C:\Http\httpexe\lib\mprintf.c(1095) : warning C4273: 'curl_mvaprintf' :
inconsistent dll linkage. dllexport assumed.

C:\Http\httpexe\lib\mprintf.c(1140) : warning C4273: 'curl_mprintf' :
inconsistent dll linkage. dllexport assumed.

C:\Http\httpexe\lib\mprintf.c(1151) : warning C4273: 'curl_mfprintf' :
inconsistent dll linkage. dllexport assumed.

C:\Http\httpexe\lib\mprintf.c(1161) : warning C4273: 'curl_mvsprintf' :
inconsistent dll linkage. dllexport assumed.

C:\Http\httpexe\lib\mprintf.c(1169) : warning C4273: 'curl_mvprintf' :
inconsistent dll linkage. dllexport assumed.

C:\Http\httpexe\lib\mprintf.c(1174) : warning C4273: 'curl_mvfprintf' :
inconsistent dll linkage. dllexport assumed.

nwlib.c

C:\Http\httpexe\lib\nwlib.c(30) : fatal error C1083: Cannot open include
file: 'nks/thread.h': No such file or directory

Error executing cl.exe.

Creating browse info file...

BSCMAKE: error BK1506 : cannot open file '.\emulatorDbg\amigaos.sbr': No
such file or directory

Error executing bscmake.exe.

C:\Http\httpexe\lib\setup.h(51): Could not find the file config.h.

C:\Http\httpexe\lib\setup.h(156): Could not find the file floss.h.

C:\Http\httpexe\lib\setup.h(171): Could not find the file unistd.h.

C:\Http\httpexe\lib\setup.h(186): Could not find the file clib.h.

C:\Http\httpexe\lib\setup.h(251): Could not find the file sys/ioctl.h.

C:\Http\httpexe\lib\setup.h(258): Could not find the file tcp.h.

C:\Http\httpexe\lib\memdebug.h(41): Could not find the file
sys/socket.h.

C:\Http\httpexe\lib\config-mac.h(46): Could not find the file
extra/stricmp.h.

C:\Http\httpexe\lib\config-mac.h(47): Could not find the file
extra/strdup.h.

C:\Http\httpexe\lib\config-tpf.h(681): Could not find the file
strings.h.

C:\Http\httpexe\lib\config-tpf.h(684): Could not find the file
sys/socket.h.

C:\Http\httpexe\lib\config-tpf.h(685): Could not find the file netdb.h.

C:\Http\httpexe\lib\config-tpf.h(686): Could not find the file
tpf/sysapi.h.

C:\HTTP\HTTPEXE\INCLUDE\curl\curl.h(1046): Could not find the file
support/SupportDefs.h.

C:\HTTP\HTTPEXE\INCLUDE\curl\multi.h(59): Could not find the file
sys/select.h.

C:\HTTP\HTTPEXE\INCLUDE\curl\multi.h(63): Could not find the file
sys/socket.h.

 

httpexe.exe - 21 error(s), 13 warning(s)

 
Received on 2006-07-06