Info:
Windows 8.1 64-bit
Visual Studio Premium 2012
Zlib 1.2.8
OpenSSL fips object module 2.0.8
OpenSSL 1.0.1j

Note: zlib and fips object module build fine (FYI: zlib dll built from zlib 
distro directory contrib\vstudio\vc11 that makes zlibwapi.dll instead of making 
ZLIB1.DLL).

The following build commands work (with zlib, without fips):
perl Configure no-asm zlib --with-zlib-include=..\..\zlib\include 
--with-zlib-lib=..\..\zlib\Release\zlibwapi.lib -DZLIB_WINAPI -MP VC-WIN64A
call ms\do_win64a.bat
nmake -f ms\ntdll.mak

The following build commands fail:
perl Configure no-asm zlib --with-zlib-include=..\..\zlib\include 
--with-zlib-lib=..\..\zlib\Release\zlibwapi.lib -DZLIB_WINAPI -MP fips 
--with-fipsdir=c:\usr\local\ssl\fips-2.0 VC-WIN64A
call ms\do_win64a.bat
nmake -f ms\ntdll.mak

I have tracked it down to mk1mf.pl line 416 not running:
        $ex_libs .= " $zlib_lib" if $zlib_opt == 1;

My possible fix is to move that line above line 394 so it looks like (maybe fix 
indentation):
        $ex_libs .= " $zlib_lib" if $zlib_opt == 1;
if ($shlib)

If you need more info please let me know.

Thanks,
SLDR
(Stephen L. De Rudder)
e-mail: [email protected]

PS: The following build works too:
The following build commands work (without zlib, with fips):
perl Configure no-asm -MP fips --with-fipsdir=c:\usr\local\ssl\fips-2.0 
VC-WIN64A
call ms\do_win64a.bat
nmake -f ms\ntdll.mak


_______________________________________________
openssl-dev mailing list
[email protected]
https://mta.opensslfoundation.net/mailman/listinfo/openssl-dev

Reply via email to