Hello,
I am currently porting it (again): V102 on WCE5/WM6.
For your information, you can check my previous V100a port on WCE5/WM6
here :
http://delaage.pierre.free.fr.
I use the free EVC4 and SDK 420.
and check this thread about my port of a V102 snap in 2012 :
https://www.mail-archive.com/openssl-dev@openssl.org/msg31847.html
Be careful to use the capi.c mentioned by Andy Poliakov from its dev
repository..
http://cvs.openssl.org/chngview?cn=23134
Regards
Pierre
Le 04/06/2014 15:41, Gottfrid Linge a écrit :
Hi there,
I am looking into building OpenSSL for CE8.0 (Compact 2013).
Has anyone done this before and succeeded? I also wonder if it is still
necessary to build wceompat and how to get that to build for my CE8.0 SDK.
These are the errors I get when trying to build wcecompat. Has anyone a
clue what is wrong?
C:\wcecompat-master>perl config.pl
windows ce version:WCE800
major:8
minor:00
Compiling for Architecture:X86
Compile: -D_WIN32_WCE=0x800 -DUNDER_CE=600 -Dx86 -D_X86_
Link:/SUBSYSTEM:windowsce,8.00 /NODEFAULTLIB:oldnames.lib coredll.lib
corelibc.l
ib /MACHINE:X86
C:\wcecompat-master>nmake
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation. All rights reserved.
args.cpp
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(230) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(232) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(234) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(236) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(238) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(240) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(242) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(244) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(246) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(248) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(250) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(252) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(255) : error C2059: syntax error : '('
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(950) : error C2556: 'int _wtol(const wchar_t *)' : overloaded
function
differs only by return type from 'long _wtol(const wchar_t *)'
include\stdlib.h(93) : see declaration of '_wtol'
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(950) : error C2371: '_wtol' : redefinition; different basic
types
include\stdlib.h(93) : see declaration of '_wtol'
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1041) : error C2556: 'const wchar_t *wcschr(const wchar_t
*,wchar_t)'
: overloaded function differs only by return type from 'wchar_t
*wcschr(const wc
har_t *,wchar_t)'
include\string.h(36) : see declaration of 'wcschr'
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1041) : error C2373: 'wcschr' : redefinition; different type
modifiers
include\string.h(36) : see declaration of 'wcschr'
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1079) : error C2556: 'const wchar_t *wcspbrk(const wchar_t
*,const wch
ar_t *)' : overloaded function differs only by return type from 'wchar_t
*wcspbr
k(const wchar_t *,const wchar_t *)'
include\string.h(46) : see declaration of 'wcspbrk'
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1079) : error C2373: 'wcspbrk' : redefinition; different type
modifier
s
include\string.h(46) : see declaration of 'wcspbrk'
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1080) : error C2556: 'const wchar_t *wcsrchr(const wchar_t
*,wchar_t)'
: overloaded function differs only by return type from 'wchar_t
*wcsrchr(const
wchar_t *,wchar_t)'
include\string.h(47) : see declaration of 'wcsrchr'
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1080) : error C2373: 'wcsrchr' : redefinition; different type
modifier
s
include\string.h(47) : see declaration of 'wcsrchr'
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1082) : error C2556: 'const wchar_t *wcsstr(const wchar_t
*,const wcha
r_t *)' : overloaded function differs only by return type from 'wchar_t
*wcsstr(
const wchar_t *,const wchar_t *)'
include\string.h(49) : see declaration of 'wcsstr'
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1082) : error C2373: 'wcsstr' : redefinition; different type
modifiers
include\string.h(49) : see declaration of 'wcsstr'
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1132) : error C2264: 'wcschr' : error in function definition or
declar
ation; function not called
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1134) : error C2264: 'wcspbrk' : error in function definition or
decla
ration; function not called
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1136) : error C2264: 'wcsrchr' : error in function definition or
decla
ration; function not called
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wchar.h(1138) : error C2264: 'wcsstr' : error in function definition or
declar
ation; function not called
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wtime.inl(48) : error C2664: 'wchar_t *_wctime64(const __time64_t *)' :
cannot
convert argument 1 from 'const time_t *' to 'const __time64_t *'
Types pointed to are unrelated; conversion requires
reinterpret_cast, C-
style cast or function-style cast
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\crt\Includ
e\wtime.inl(54) : error C2664: 'errno_t _wctime64_s(wchar_t *,size_t,const
__tim
e64_t *)' : cannot convert argument 3 from 'const time_t *' to 'const
__time64_t
*'
Types pointed to are unrelated; conversion requires
reinterpret_cast, C-
style cast or function-style cast
include\stdio.h(62) : warning C4005: 'stdin' : macro redefinition
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\cr
t\Include\wchar.h(76) : see previous definition of 'stdin'
include\stdio.h(63) : warning C4005: 'stdout' : macro redefinition
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\cr
t\Include\wchar.h(77) : see previous definition of 'stdout'
include\stdio.h(64) : warning C4005: 'stderr' : macro redefinition
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\cr
t\Include\wchar.h(78) : see previous definition of 'stderr'
include\stdio.h(74) : error C2732: linkage specification contradicts
earlier spe
cification for 'swprintf'
include\stdio.h(74) : see declaration of 'swprintf'
include\stdio.h(75) : error C2732: linkage specification contradicts
earlier spe
cification for 'vswprintf'
include\stdio.h(75) : see declaration of 'vswprintf'
include\stdio.h(125) : error C2733: '_wfdopen' : second C linkage of
overloaded
function not allowed
C:\Program Files (x86)\Windows CE Tools\SDKs\Compact2013SDK\Sdk\cr
t\Include\wchar.h(853) : see declaration of '_wfdopen'
c:\users\glg\desktop\wcecompat-master\src\ts_string.h(106) : warning
C4996: 'wcs
cpy': This function or variable may be unsafe. Consider using wcscpy_s
instead.
To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for
details
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org