Re: 0.9.7 20020427 snapshot errors on Win32

2002-04-30 Thread Richard Levitte - VMS Whacker

In message <[EMAIL PROTECTED]> on Mon, 29 Apr 2002 10:24:34 -0700, 
Guillermo Maturana <[EMAIL PROTECTED]> said:

matute> Have you considered using "include" files in the Makefiles?
matute> This way one can place all the interesting variables in a
matute> single file and include that from all other Makefiles.  This
matute> would also help those gnarly make calls with a million
matute> arguments to lower Makefiles.  I am not sure if that would
matute> help this particular problem, but it would sure help to make
matute> it more manageable.

Well, that's a nice idea, if the syntax of such includes was uniform.
Unfortunately, it's not.  Some make implementations use "include" as
the keyword, others use ".include".  Some make implementations do not
have this functionality at all!

-- 
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  for more info.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: 0.9.7 20020427 snapshot errors on Win32

2002-04-30 Thread Guillermo Maturana

Have you considered using "include" files in the Makefiles?  This way 
one can
place all the interesting variables in a single file and include that 
from all other
Makefiles.  This would also help those gnarly make calls with a million 
arguments
to lower Makefiles.  I am not sure if that would help this particular 
problem,
but it would sure help to make it more manageable.

My 2 cents,
_Matute

>>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:
>
>I would be happy to work on this with you if you give me some
>direction on how you would like it to go.  
>
>It seems to me that there is no reason that Configure could not
>actually do the work of the .bat files for the Windows platforms
>provided that the appropriate options were added to that Perl script.
>
>

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: 0.9.7 20020427 snapshot errors on Win32

2002-04-30 Thread Dr. Stephen Henson

On Mon, Apr 29, 2002, Jeffrey Altman wrote:

> 
> I would be happy to work on this with you if you give me some
> direction on how you would like it to go.  
> 
> It seems to me that there is no reason that Configure could not
> actually do the work of the .bat files for the Windows platforms
> provided that the appropriate options were added to that Perl script.
> 

That is one idea that was discussed and which I'm in favour of. For
example bring the Win32 build more into line with the others and
building under Win32 might involve:

perl Configure VC-WIN32 [other windows options]
nmake

Steve.
--
Dr. Stephen Henson  [EMAIL PROTECTED]
OpenSSL Project http://www.openssl.org/~steve/
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: 0.9.7 20020427 snapshot errors on Win32

2002-04-30 Thread Richard Levitte - VMS Whacker

In message <[EMAIL PROTECTED]> on Mon, 29 Apr 2002 
7:32:18 EDT, Jeffrey Altman <[EMAIL PROTECTED]> said:

jaltman> I would be happy to work on this with you if you give me some
jaltman> direction on how you would like it to go.  
jaltman> 
jaltman> It seems to me that there is no reason that Configure could not
jaltman> actually do the work of the .bat files for the Windows platforms
jaltman> provided that the appropriate options were added to that Perl script.

I agree.  However, the change will be rather large, and it's too late
to put that kind of work into 0.9.7, I believe.  I'll try to
coordinate that work for 0.9.8.

-- 
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  for more info.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: 0.9.7 20020427 snapshot errors on Win32

2002-04-29 Thread Jeffrey Altman

> 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:

I would be happy to work on this with you if you give me some
direction on how you would like it to go.  

It seems to me that there is no reason that Configure could not
actually do the work of the .bat files for the Windows platforms
provided that the appropriate options were added to that Perl script.

- Jeff




 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]



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  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]