[openssl-dev] [openssl.org #4042] Build Bug w/ OpenSSL on Windows? No Applink
Jan Ehrhardt
phpdev at ehrhardt.nl
Mon Sep 21 21:20:40 UTC 2015
Jan Ehrhardt in gmane.comp.encryption.openssl.devel (Mon, 21 Sep 2015
22:42:17 +0200):
>Stephen Henson via RT in gmane.comp.encryption.openssl.devel (Sun, 20 Sep
>2015 22:51:21 +0000):
>>In more detail I just tried a build from sources. I did this:
>>
>>set FIPSDIR=X:\some\for\fips\module\installation
>>cd <fips source dir>
>>ms\do_fips
>>cd <openssl 1.0.2d source dir>
>>perl Configure VC-WIN32 fips
>>nmake -f ms\ntdll.mak
>>
>>With no problems. I'd suggest you try that as a starting point and let me know
>>of any errors you get. You will need to install nasm for that to work.
>
>Did you do that with VS2015 aka VC14? The Apache and PHP world is moving
>to VC14. PHP7 will only be built with VC14.
The error message with VC14 is still the same as it was with FIPS 2.0.9:
N:\openssl>nmake -f ms\ntdll.mak test
Microsoft (R) Program Maintenance Utility Version 14.00.23026.0
Copyright (C) Microsoft Corporation. All rights reserved.
SET FIPS_LINK=link
SET FIPS_CC=cl
SET FIPS_CC_ARGS=/Fotmp32dll\fips_premain.obj -Iinc32 -Itmp32dll
/MD /Ox /O2 /Ob2 -DOPENSSL_THREADS -DDSO_WIN32 -W3 -Gs0 -GF -Gy -nologo
-DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
-D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2
-DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m
-I\usr\local\ssl\fips-2.0/include -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
-DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2
-DOPENSSL_NO_KRB5 -DOPENSSL_FIPS -DOPENSSL_NO_JPAKE
-DOPENSSL_NO_STATIC_ENGINE /Fdtmp32dll/lib -D_WINDLL -c
SET PREMAIN_DSO_EXE=out32dll\fips_premain_dso.exe
SET
FIPS_SHA1_EXE=\usr\local\ssl\fips-2.0\bin\fips_standalone_sha1.exe
SET FIPS_TARGET=out32dll\libeay32.dll
SET FIPSLIB_D=\usr\local\ssl\fips-2.0\lib
perl \usr\local\ssl\fips-2.0\bin\fipslink.pl /nologo
/subsystem:console /opt:ref /debug /dll /fixed /map /base:0xFB00000
/out:out32dll\libeay32.dll /def:ms/LIBEAY32.def @d:\temp\nm50A8.tmp
Invalid hash syntax in file at \usr\local\ssl\fips-2.0\bin\fipslink.pl
line 90.
NMAKE : fatal error U1077: 'C:\Perl64\bin\perl.EXE' : return code '0xff'
Stop.
N:\openssl>out32dll\fips_premain_dso.exe out32dll\libeay32.dll
OPENSSL_Uplink(00DB5000,08): no OPENSSL_Applink
Jan
More information about the openssl-dev
mailing list