Ok Ravi,
You asked me some help in private,
that I will reproduce here so that people can follow the complete thread :

"
Le 22/05/2014 15:39, Pierre DELAAGE a écrit :
> Hello,
> I am working on it myself,
> and particularly for my stunnel port.
> I will let you know.
>
> In the meantime : if you have downloaded my openssl V100a package for WCE,
> open a command line window to the root folder of openssl package and then
>
> 1/ CUSTOMIZE the script "mywcebuild.bat" : it is self explanatory, 4 lines to check at the beginning
>
> 2/ when done : run this command line :
>
> mywcebuild ARMV4.
>
> 3/ then go to openssl folder/out32dll_ARMV4
>
> and take ssleay32.dll and libeay32.dll,
> and move them to your emulator...
>
> 4/ then YOU have to create an application using those dll...
> for your linker steps, you will need, from that same out32dll_ARMV4 folder :
>
> ssleay32.liband libeay32.lib
>
> and of course all the include files that are provided by openssl...
>
> NOTA : I reviewed your previous logs of compilation failure :
> this is because you are using the compiler from VSTUDIO 2005 and NOT my EVC4 compiler : > probably your environment is polluted by some PATH referring to Vstudio2005 install folder : > forget all of this : clean your PATH in any doubt, but my scripts do refer to compiler location by explicit path.
>
>
> You will go nowhere in openssl for WCE unless you succeed, at first, to recompile my V100a as I did.
>
> Regards
> Pierre
>
>
> Le 22/05/2014 14:33, ravi.vyas.1...@gmail.com a écrit :
>> Hello Pierre.
>> I want To Build OPENSSL in WIN CE 6.0
>> WHat Change Require in .Bat Files.
>> HOw can I use your SSL CODE.?
>> How to Re-Compile Your Source Code.
>> I am Using Windows-XP
>> and visual studio 8.0.
>> I installed Microsoft eMbedded C++ 4.0.
>>
>> Whats Change are require
>>
>> _____________________________________
>> Sent from http://openssl.6102.n7.nabble.com

==========================
That said,

Now I have to say that you DO NOT follow my instructions while you should :

If you download everything from my webpage,
1/ you have to deal with my modified, ready to compile openssl V100A files.
Forget any other version of openssl for the moment.


2/ YOU MUST USE EVC4 compiler : I do NOT use VS2005 compiler and will NOT give support with it (BECAUSE 1/ there are some differences between compilation tools and options that I do NOT want to deal with, 2/ MS VS2005 is expensive anyway (because vstudio express 2008/10/13 are not able to compile for WCE)

I can help if you are following some basics so that we solve one problem after the other.

But if you expect someone to help in your strange scenario of VS2005, openssl 098, and WCE6 (indeed it is either WCE5 or WM6...), X86 target
then, do not expect any support all around...
sorry for that.

But, start with EVC4/ openssl V100a files/wcecompat that you will all find on my http://delaage.pierre.free.fr page, ARMV4 target that you can test on WM6.1.4 PRO emulators (free at MS),
which is a straightforward process thanks to the scripts I gave,
and then, when successful with that, give a try to go further..

NOTA :
As I said, I think I will issue a new compilable WCE version of the 1.0.2 latest snap of openssl in a few days....
that way you will save more time.

See you
Pierre Delaage



Le 22/05/2014 15:24, RaviVyas a écrit :
hello sir,
i have compiled wcecompat for my windows ce 6 app using TARGETCPU=x86 and
trying to build openSSL for that i am using openssl-0.9.8i version but i can
not built it perfectly and got lots of errors like this..

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>set INCLUDE=C:\Program Files
(x86
)\Microsoft Visual Studio 9.0\VC\ce\include;C:\Program Files (x86)\Microsoft
Vis
ual Studio9.0\VC\ce\atlmfc\include;C:\Program Files (x86)\Microsoft Visual
Studi
o 9.0\SmartDevices\SDK\SQL Server\Client\v2.0;C:\Program Files
(x86)\Microsoft V
isual Studio 9.0\SmartDevices\SDK\Smartphone2003\Include

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>set
LIB=C:\Users\kits\Desktop\WCE
601\Lib\x86\retail;C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\ce\atlm
fc\lib\x86;C:\ProgramFiles (x86)\Microsoft Visual Studio
9.0\VC\ce\lib\x86;C:\Pr
ogram Files\Microsoft SDKs\Windows\v6.0A\Lib\x64

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>set PATH=C:\Program
Files(x86)\Mi
crosoft Visual Studio 9.0\VC\ce\bin\x86_cex86;C:\Program Files
(x86)\Microsoft V
isual Studio 9.0\VC\bin;C:\Program Files (x86)\Microsoft Visual Studio
9.0\Commo
n7\Tools;C:\Program Files (x86)\Microsoft Visual Studio
9.0\Common7\IDE;C:\Progr
am Files (x86)\Microsoft Visual Studio 9.0\SDK\v3.5\Bin;C:\Program Files
(x86)\M
icrosoft Visual Studio 9.0;$(FrameworkSDKDir)Bin;%PATH%

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>set
WCECOMPAT=D:\my\ssl\wcecompat
-master

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>perl Configure VC-CE
Configuring for VC-CE
     no-camellia     [default]  OPENSSL_NO_CAMELLIA (skip dir)
     no-capieng      [default]  OPENSSL_NO_CAPIENG (skip dir)
     no-cms          [default]  OPENSSL_NO_CMS (skip dir)
     no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
     no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
     no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
     no-mdc2         [default]  OPENSSL_NO_MDC2 (skip dir)
     no-montasm      [default]
     no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
     no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
     no-seed         [default]  OPENSSL_NO_SEED (skip dir)
     no-shared       [default]
     no-zlib         [default]
     no-zlib-dynamic [default]
IsMK1MF=1
CC            =cl
CFLAG         =-DOPENSSL_THREADS  -DDSO_WIN32
EX_LIBS       =
CPUID_OBJ     =
BN_ASM        =bn_asm.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ASM_OBJ   =aes_core.o aes_cbc.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4_enc.o rc4_skey.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
PROCESSOR     =
RANLIB        =true
ARFLAGS       =
PERL          =perl
THIRTY_TWO_BIT mode
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined

Configured for VC-CE.

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>ms\do_ms

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>perl util\mkfiles.pl  1>MINFO

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>perl util\mk1mf.pl no-asm
VC-WIN3
2  1>ms\nt.mak

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>perl util\mk1mf.pl dll no-asm
VC-
WIN32  1>ms\ntdll.mak

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>if xWCE600 == x goto skipce

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>perl util\mk1mf.pl no-asm
VC-CE
1>ms\ce.mak

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>perl util\mk1mf.pl dll no-asm
VC-
CE  1>ms\cedll.mak

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>perl util\mkdef.pl 32 libeay
1>m
s\libeay32.def

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>perl util\mkdef.pl 32 ssleay
1>m
s\ssleay32.def

D:\my\ssl\openssl-OpenSSL_0_9_8-stable-1bcb94a>nmake -f ms\cedll.mak

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

Building OpenSSL
         perl util/copy.pl ".\crypto\buildinf.h" "tmp32dll_x86\buildinf.h"
Copying: ./crypto/buildinf.h to tmp32dll_x86/buildinf.h
         perl util/copy.pl ".\crypto\opensslconf.h"
"inc32\openssl\opensslconf.h"

Copying: ./crypto/opensslconf.h to inc32/openssl/opensslconf.h
         cl /Fotmp32dll_x86\cryptlib.obj  -Iinc32 -Itmp32dll_x86 /MC /O1i /W3
/WX
  /GF /Gy /nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE
-DWIN32_LEAN_AND_M
EAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -ID:\my\ssl\wcecompat-master/include
-DOPE
NSSL_SMALL_FOOTPRINT -D_WIN32_WCE=600 -DUNDER_CE=600 -DWCE_PLATFORM_VC-CE
-Dx86
-D_ /Fdout32dll_x86 -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5
-DO
PENSSL_NO_MDC2 -DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE -DOPENSSL_NO_CAPIENG
-DOPENSS
L_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE -D_WINDLL -D_DLL
-DOPENSSL_BUILD_SHLIBCRY
PTO -c .\crypto\cryptlib.c
cl : Command line warning D9002 : ignoring unknown option '/MC'
cryptlib.c
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winnt.h(3019) : error C2061: syntax error : identifier 'PCONTEXT'
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winnt.h(3020) : error C2059: syntax error : '}'
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winbase.h(1481) : error C2061: syntax error : identifier
'LPCONTEXT'
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winbase.h(1481) : error C2059: syntax error : ';'
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winbase.h(2222) : error C2146: syntax error : missing ')' before
iden
tifier 'lpContext'
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winbase.h(2222) : error C2081: 'LPCONTEXT' : name in formal
parameter
  list illegal
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winbase.h(2222) : error C2061: syntax error : identifier
'lpContext'
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winbase.h(2222) : error C2059: syntax error : ';'
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winbase.h(2223) : error C2059: syntax error : ')'
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winbase.h(2230) : error C2143: syntax error : missing ')' before
'*'
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winbase.h(2230) : error C2143: syntax error : missing '{' before
'*'
C:\Program Files (x86)\Microsoft Visual Studio
9.0\SmartDevices\SDK\Smartphone20
03\Include\winbase.h(2231) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
9.0\
VC\bin\cl.EXE"' : return code '0x2'
Stop.



now second thing is that i can not compile my wcecompat for ARMV4I..!
so please help me out from this problem.
i am stuck in this problem from several days..!





--
View this message in context: 
http://openssl.6102.n7.nabble.com/OPENSSL-for-windows-mobile-5-6-tp38606p50243.html
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to