RaviVyas
2014-05-22 13:24:45 UTC
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-***@openssl.org
Automated List Manager ***@openssl.org
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-***@openssl.org
Automated List Manager ***@openssl.org