[openssl.org #2974] OpenSSL 0.9.8y compilation error on Windows

2013-02-11 Thread Stephen Henson via RT
On Sat Feb 09 15:02:54 2013, i...@ecsystems.nl wrote:
>
> Same here, but what are we missing by not using /WX ? can the build be
> relied upon since it is a fatal error to begin with... if it was a
> warning I would not be concerned.
>

The /WX flags means "treat all warnings as errors".

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org

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


Re: [openssl.org #2974] OpenSSL 0.9.8y compilation error on Windows

2013-02-11 Thread Info via RT
> Andy Polyakov via RT Mon, 11 Feb 2013 01:18:37 -0800
>> .\ssl\s3_cbc.c(251) : error C2220: warning treated as error - no object file 
>> generated
>> .\ssl\s3_cbc.c(251) : warning C4029: declared formal parameter list 
>> different 
>> from definition
>> NMAKE : fatal error U1077: 'cl' : return code '0x2'
>> Stop.
>
>To replace files you have to apply all remaining patches from
>http://git.openssl.org/gitweb/?p=openssl.git;a=shortlog;h=refs/heads/OpenSSL_0_9_8-stable.

Downloaded entire source tree 
(http://git.openssl.org/gitweb/?p=openssl.git;a=snapshot;h=refs/heads/OpenSSL_0_9_8-stable;sf=tgz)

Ok, now compiling successful as 0.9.8za-dev (10-2-2013).

Please re-release 0.9.8y on http://www.openssl.org/source/

gr, Edwin.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [openssl.org #2974] OpenSSL 0.9.8y compilation error on Windows

2013-02-11 Thread Andy Polyakov via RT
>>> .\ssl\s3_cbc.c(645) : warning C4761: integral size mismatch in argument; 
>>> conversion supplied
>>> NMAKE : fatal error U1077: 'cl' : return code '0x2'
>>> Stop.
>> fixed in 
>> http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=ff58eaa4b645a38f3a226cf566d969fffa64ef94
> 
> Downloaded as 
> http://git.openssl.org/gitweb/?p=openssl.git;a=blob_plain;f=ssl/s3_cbc.c;hb=ff58eaa4b645a38f3a226cf566d969fffa64ef94
> 
> Replaced as \openssl-0.9.8y\ssl\s3_cbc.c
> 
> Compiling error:
> cl /Fotmp32dll\s3_cbc.obj  -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 /W3 
> /WX /
> Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN 
> -DD
> SO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE 
> -DOPENSSL_USE_AP
> PLINK -I. /Fdout32dll -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED 
> -DOPENSSL_NO_RC5 -
> DOPENSSL_NO_MDC2 -DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE -DOPENSSL_NO_CAPIENG 
> -DOPEN
> SSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE -D_WINDLL  -DOPENSSL_BUILD_SHLIBSSL 
> -c .
> \ssl\s3_cbc.c
> s3_cbc.c
> .\ssl\s3_cbc.c(251) : error C2220: warning treated as error - no object file 
> generated
> .\ssl\s3_cbc.c(251) : warning C4029: declared formal parameter list different 
> from definition
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.

To replace files you have to apply all remaining patches from
http://git.openssl.org/gitweb/?p=openssl.git;a=shortlog;h=refs/heads/OpenSSL_0_9_8-stable.


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


Re: [openssl.org #2974] OpenSSL 0.9.8y compilation error on Windows

2013-02-09 Thread Info via RT
> Andy Polyakov via RT Sat, 09 Feb 2013 11:08:12 -0800 
> > .\ssl\s3_cbc.c(645) : warning C4761: integral size mismatch in argument; 
> > conversion supplied
> > NMAKE : fatal error U1077: 'cl' : return code '0x2'
> > Stop.
> 
> fixed in 
> http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=ff58eaa4b645a38f3a226cf566d969fffa64ef94

Downloaded as 
http://git.openssl.org/gitweb/?p=openssl.git;a=blob_plain;f=ssl/s3_cbc.c;hb=ff58eaa4b645a38f3a226cf566d969fffa64ef94

Replaced as \openssl-0.9.8y\ssl\s3_cbc.c

Compiling error:
cl /Fotmp32dll\s3_cbc.obj  -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 /W3 /WX /
Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DD
SO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_USE_AP
PLINK -I. /Fdout32dll -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 -
DOPENSSL_NO_MDC2 -DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE -DOPENSSL_NO_CAPIENG -DOPEN
SSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE -D_WINDLL  -DOPENSSL_BUILD_SHLIBSSL -c .
\ssl\s3_cbc.c
s3_cbc.c
.\ssl\s3_cbc.c(251) : error C2220: warning treated as error - no object file 
generated
.\ssl\s3_cbc.c(251) : warning C4029: declared formal parameter list different 
from definition
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

gr, Edwin.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [openssl.org #2974] OpenSSL 0.9.8y compilation error on Windows

2013-02-09 Thread Andy Polyakov via RT
Andy Wang via RT wrote:
> Configured and built openssl on Windows with:
> perl Configure VC-WIN32
> ms\do_nasm
> nmake -f ms\ntdll.mak
> 
> Building OpenSSL
>  cl /Fotmp32dll\s3_cbc.obj  -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 
> /W3 /WX /
> Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN 
> -DL_ENDIAN -DD
> SO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE 
> -DOPENSSL_CPUID_
> OBJ -DOPENSSL_IA32_SSE2 -DAES_ASM -DBN_ASM -DOPENSSL_BN_ASM_PART_WORDS 
> -DOPENSSL
> _BN_ASM_MONT -DMD5_ASM -DSHA1_ASM -DRMD160_ASM -DOPENSSL_USE_APPLINK -I. 
> /Fdout3
> 2dll -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 
> -DOPENSSL_NO_MDC2
> -DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE -DOPENSSL_NO_CAPIENG 
> -DOPENSSL_NO_KRB5 -DOPE
> NSSL_NO_DYNAMIC_ENGINE -D_WINDLL  -DOPENSSL_BUILD_SHLIBSSL -c .\ssl\s3_cbc.c
> s3_cbc.c
> .\ssl\s3_cbc.c(315) : warning C4761: integral size mismatch in argument; 
> convers
> ion supplied
> .\ssl\s3_cbc.c(315) : error C2220: warning treated as error - no object 
> file gen
> erated
> .\ssl\s3_cbc.c(644) : warning C4761: integral size mismatch in argument; 
> convers
> ion supplied
> .\ssl\s3_cbc.c(644) : warning C4761: integral size mismatch in argument; 
> convers
> ion supplied
> .\ssl\s3_cbc.c(645) : warning C4761: integral size mismatch in argument; 
> convers
> ion supplied
> .\ssl\s3_cbc.c(645) : warning C4761: integral size mismatch in argument; 
> convers
> ion supplied
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.

fixed in 
http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=ff58eaa4b645a38f3a226cf566d969fffa64ef94


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


[openssl.org #2974] OpenSSL 0.9.8y compilation error on Windows

2013-02-06 Thread Andy Wang via RT
Configured and built openssl on Windows with:
perl Configure VC-WIN32
ms\do_nasm
nmake -f ms\ntdll.mak

Building OpenSSL
 cl /Fotmp32dll\s3_cbc.obj  -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 
/W3 /WX /
Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN 
-DL_ENDIAN -DD
SO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE 
-DOPENSSL_CPUID_
OBJ -DOPENSSL_IA32_SSE2 -DAES_ASM -DBN_ASM -DOPENSSL_BN_ASM_PART_WORDS 
-DOPENSSL
_BN_ASM_MONT -DMD5_ASM -DSHA1_ASM -DRMD160_ASM -DOPENSSL_USE_APPLINK -I. 
/Fdout3
2dll -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 
-DOPENSSL_NO_MDC2
-DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE -DOPENSSL_NO_CAPIENG 
-DOPENSSL_NO_KRB5 -DOPE
NSSL_NO_DYNAMIC_ENGINE -D_WINDLL  -DOPENSSL_BUILD_SHLIBSSL -c .\ssl\s3_cbc.c
s3_cbc.c
.\ssl\s3_cbc.c(315) : warning C4761: integral size mismatch in argument; 
convers
ion supplied
.\ssl\s3_cbc.c(315) : error C2220: warning treated as error - no object 
file gen
erated
.\ssl\s3_cbc.c(644) : warning C4761: integral size mismatch in argument; 
convers
ion supplied
.\ssl\s3_cbc.c(644) : warning C4761: integral size mismatch in argument; 
convers
ion supplied
.\ssl\s3_cbc.c(645) : warning C4761: integral size mismatch in argument; 
convers
ion supplied
.\ssl\s3_cbc.c(645) : warning C4761: integral size mismatch in argument; 
convers
ion supplied
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

Thanks

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