I use wcecompat with OpenSSL for WinCE 2.11; I haven't tried building 
for a later version of WinCE, and I use an older compiler.  There's 
some basic problem with your build; it looks like something as basic 
as using a C compiler to compile C++ and getting tripped up on new 
syntax.  Are you able to build a "hello, world" program for WinCE?

I remember one issue I had with wcecompat was that the configure 
script didn't get the include paths right, particularly for paths that
included spaces.

-Geoffrey


On 04/28/2014 08:58, "karan.reddy" <karan.ti...@gmail.com> wrote:
>
> Hi,
> 
> I am very new to Openssl. My aim is to compile openssl for WINCE 6.0
> OS. After spending lot of time on google , i found procedure to 
> build openssl for WINCE 6.0. But my attempt to build the wcecompat 
> WINCE runtime libraries is unsuccessful. Below is my environment
> 
> Host Platform : WINDOWS 7
> Visual Studio : 2008
> TargetCpu : x86
> 
> Below are the steps followed to build wcecompat:
> 
> 1) Downloaded the source from
> "https://github.com/mauricek/wcecompat/tree/master"; git.
> 2) Using Visual Studio Command prompt for build. Declared the env 
> following variables:
> 
>     set OSVERSION=WCE600
>     set TARGETCPU=x86
>     set PLATFORM=VC-CE
> 
> 3) Created the make files using "perl config.pl" command.
> 4) Executed nmake command.
> 
> The build fails with compilation errors. Below are the logs:
> 
> 
> 
> --------------------------------------------------------------------------------------------------
> args.cpp
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(235)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(237)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(239)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(241)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(243)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(245)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(247)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(249)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(251)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(253)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(255)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(257)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(258)
> : error
> C2059: syntax error : '('
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(994)
> : error
> C2556: 'const wchar_t *wcschr(const wchar_t *,wchar_t)' : overloaded
> function differs only by return type from 'wchar_t *wcschr(const 
> wchar_t
> *,wchar_t)'
>         include\string.h(36) : see declaration of 'wcschr'
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\wchar.h(994)
> : error
> C2373: 'wcschr' : redefinition; different type modifiers
>         include\string.h(36) : see declaration of 'wcschr'
> C:\Program Files\Microsoft Visual Studio 
> 9.0\VC\INCLUDE\wchar.h(1026) :
> error C2556: 'const wchar_t *wcspbrk(const wchar_t *,const wchar_t 
> *)' :
> overloaded function differs only by return type from 'wchar_t 
> *wcspbrk(const
> wchar_t *,const wchar_t *)'
>         include\string.h(46) : see declaration of 'wcspbrk'
> C:\Program Files\Microsoft Visual Studio 
> 9.0\VC\INCLUDE\wchar.h(1026) :
> error C2373: 'wcspbrk' : redefinition; different type modifiers
>         include\string.h(46) : see declaration of 'wcspbrk'
> C:\Program Files\Microsoft Visual Studio 
> 9.0\VC\INCLUDE\wchar.h(1027) :
> 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\Microsoft Visual Studio 
> 9.0\VC\INCLUDE\wchar.h(1027) :
> error C2373: 'wcsrchr' : redefinition; different type modifiers
>         include\string.h(47) : see declaration of 'wcsrchr'
> C:\Program Files\Microsoft Visual Studio 
> 9.0\VC\INCLUDE\wchar.h(1029) :
> error C2556: 'const wchar_t *wcsstr(const wchar_t *,const wchar_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\Microsoft Visual Studio 
> 9.0\VC\INCLUDE\wchar.h(1029) :
> error C2373: 'wcsstr' : redefinition; different type modifiers
>         include\string.h(49) : see declaration of 'wcsstr'
> C:\Program Files\Microsoft Visual Studio 
> 9.0\VC\INCLUDE\wchar.h(1079) :
> error C2264: 'wcschr' : error in function definition or declaration;
> function not called
> C:\Program Files\Microsoft Visual Studio 
> 9.0\VC\INCLUDE\wchar.h(1081) :
> error C2264: 'wcspbrk' : error in function definition or 
> declaration;
> function not called
> C:\Program Files\Microsoft Visual Studio 
> 9.0\VC\INCLUDE\wchar.h(1083) :
> error C2264: 'wcsrchr' : error in function definition or 
> declaration;
> function not called
> C:\Program Files\Microsoft Visual Studio 
> 9.0\VC\INCLUDE\wchar.h(1085) :
> error C2264: 'wcsstr' : error in function definition or declaration;
> function not called
> include\stdio.h(62) : warning C4005: 'stdin' : macro redefinition

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to