Re: 0.9.7 20020427 snapshot errors on Win32

2002-04-29 Thread Richard Levitte - VMS Whacker

In message [EMAIL PROTECTED] on Sun, 28 Apr 2002 
15:51:51 EDT, Jeffrey Altman [EMAIL PROTECTED] said:

jaltman cl /Fotmp32dll\s3_pkt.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5
jaltman /Ox /O2 /O
jaltman b2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN
jaltman -DL_ENDIAN  -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll
jaltman -DOPENSSL_NO_IDEA -DZLIB -DOPENSSL_THREADS -DDSO_WIN32 -DKRB5_MIT -D_WINDLL 
-D_DLL
jaltman  -DOPENSSL_BUILD_SHLIBSSL -c .\ssl\s3_pkt.c
jaltman s3_pkt.c
jaltman .\ssl\s3_pkt.c(248) : error C2220: warning treated as error - no
jaltman object file generated
jaltman .\ssl\s3_pkt.c(248) : warning C4018: '!=' : signed/unsigned mismatch
jaltman .\ssl\s3_pkt.c(608) : warning C4018: '' : signed/unsigned mismatch
jaltman 
jaltman int vs unsigned int
jaltman 
jaltman 
jaltman --
jaltman 
jaltman 
jaltman cl /Fotmp32dll\ssl_cert.obj  -Iinc32 -Itmp32dll /MD /W3 /WX
jaltman /G5 /Ox /O2
jaltman /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32
jaltman -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM 
-DRMD160_ASM /Fdout32dll
jaltman -DOPENSSL_NO_IDEA -DZLIB -DOPENSSL_THREADS -DDSO_WIN32 -DKRB5_MIT -D_WINDLL
jaltman -D_DLL  -DOPENSSL_BUILD_SHLIBSSL -c .\ssl\ssl_cert.c
jaltman ssl_cert.c
jaltman .\ssl\ssl_cert.c(828) : error C2065: 'd' : undeclared identifier
jaltman .\ssl\ssl_cert.c(828) : warning C4013: 'closedir' undefined; assuming
jaltman extern returning int
jaltman 
jaltman 'd' does not exist in the Windows implementation
jaltman 
jaltman  
jaltman --
jaltman 
jaltman link /nologo /subsystem:console /machine:I386 /opt:ref
jaltman /out:out32dll\eng
jaltman inetest.exe @H:\DOCUME~1\jaltman\LOCALS~1\Temp\nmx03400.
jaltman cl /Fotmp32dll\ssltest.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5
jaltman /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 
-DWIN32_LEAN_AND_MEAN
jaltman -DL_ENDIAN  -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll
jaltman -DOPENSSL_NO_IDEA -DZLIB -DOPENSSL_THREADS -DDSO_WIN32 -DKRB5_MIT  -c
jaltman .\ssl\ssltest.c
jaltman ssltest.c
jaltman .\ssl\ssltest.c(1058) : error C2220: warning treated as error - no
jaltman object file generated
jaltman .\ssl\ssltest.c(1058) : warning C4018: '' : signed/unsigned mismatch
jaltman 
jaltman  size_t != int

Hmm, I fixed those, but apparently only in the 0.9.7-stable branch.  I'll
merge those changes into the main branch...

jaltman 
jaltman --
jaltman 
jaltman There is still an issue with 
jaltman 
jaltman   perl Configure VC-WIN32 no-idea --with-krb5-flavor=MIT zlib-dynamic
jaltman 
jaltman which produces in MINFO
jaltman 
jaltman  CFLAG=-DOPENSSL_SYSNAME_WIN32 -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS \
jaltman -DDSO_WIN32 -DKRB5_MIT -DOPENSSL_NO_IDEA
jaltman 
jaltman However, the CFLAG values are not imported into ms\nt*.mak when
jaltman ms\do_*.bat is executed.  The resulting .mak files need to be edited
jaltman by hand to include the flags
jaltman 
jaltman-DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -DDSO_WIN32 -DKRB5_MIT

util/mk1mf.pl doesn't look at the CFLAG or CFLAGS variables of MINFO.
Why is beyond me.  You are currently required to call it (i.e. hack
ms\do_*.bat) with the same arguments as you used for Configure.
Unfortunately, Configure and the scripts in util/ aren't entirely in
sync...

I don't work on Windows right now, so I could do some changes, but
they'd be pure guesswork.  I've planned to try to unify the Windows/MSDOS
scripts with Configure so things work a little more like on Unix, but
haven't had time yet.

Yes, this is a mess...

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
\  SWEDEN   \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See http://www.stacken.kth.se/~levitte/mail/ for more info.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



0.9.7 20020427 snapshot errors on Win32

2002-04-28 Thread Jeffrey Altman

cl /Fotmp32dll\s3_pkt.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5
/Ox /O2 /O
b2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN
-DL_ENDIAN  -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll
-DOPENSSL_NO_IDEA -DZLIB -DOPENSSL_THREADS -DDSO_WIN32 -DKRB5_MIT -D_WINDLL -D_DLL
 -DOPENSSL_BUILD_SHLIBSSL -c .\ssl\s3_pkt.c
s3_pkt.c
.\ssl\s3_pkt.c(248) : error C2220: warning treated as error - no
object file generated
.\ssl\s3_pkt.c(248) : warning C4018: '!=' : signed/unsigned mismatch
.\ssl\s3_pkt.c(608) : warning C4018: '' : signed/unsigned mismatch

int vs unsigned int


--


cl /Fotmp32dll\ssl_cert.obj  -Iinc32 -Itmp32dll /MD /W3 /WX
/G5 /Ox /O2
/Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32
-DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM 
-DRMD160_ASM /Fdout32dll
-DOPENSSL_NO_IDEA -DZLIB -DOPENSSL_THREADS -DDSO_WIN32 -DKRB5_MIT -D_WINDLL
-D_DLL  -DOPENSSL_BUILD_SHLIBSSL -c .\ssl\ssl_cert.c
ssl_cert.c
.\ssl\ssl_cert.c(828) : error C2065: 'd' : undeclared identifier
.\ssl\ssl_cert.c(828) : warning C4013: 'closedir' undefined; assuming
extern returning int

'd' does not exist in the Windows implementation

 
--

link /nologo /subsystem:console /machine:I386 /opt:ref
/out:out32dll\eng
inetest.exe @H:\DOCUME~1\jaltman\LOCALS~1\Temp\nmx03400.
cl /Fotmp32dll\ssltest.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5
/Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN
-DL_ENDIAN  -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll
-DOPENSSL_NO_IDEA -DZLIB -DOPENSSL_THREADS -DDSO_WIN32 -DKRB5_MIT  -c
.\ssl\ssltest.c
ssltest.c
.\ssl\ssltest.c(1058) : error C2220: warning treated as error - no
object file generated
.\ssl\ssltest.c(1058) : warning C4018: '' : signed/unsigned mismatch

 size_t != int

--

There is still an issue with 

  perl Configure VC-WIN32 no-idea --with-krb5-flavor=MIT zlib-dynamic

which produces in MINFO

 CFLAG=-DOPENSSL_SYSNAME_WIN32 -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS \
-DDSO_WIN32 -DKRB5_MIT -DOPENSSL_NO_IDEA

However, the CFLAG values are not imported into ms\nt*.mak when
ms\do_*.bat is executed.  The resulting .mak files need to be edited
by hand to include the flags

   -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -DDSO_WIN32 -DKRB5_MIT



 Jeffrey Altman * Sr.Software Designer  Kermit 95 1.1.21  available now!!!
 The Kermit Project @ Columbia University   SSH plus Telnet, FTP and HTTP
 http://www.kermit-project.org/ secured with Kerberos, SRP, and 
 [EMAIL PROTECTED]OpenSSL.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]