New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0.1k crypto/cversion.c doesn't compile if CFLAGS is defined #209
Comments
|
What platform are you on? |
|
Win64, with a fresh 1.0.1k My buildinf.h is as follows: #ifndef MK1MF_BUILD
/* auto-generated by Configure for crypto/cversion.c:
* for Unix builds, crypto/Makefile.ssl generates functional definitions;
* Windows builds (and other mk1mf builds) compile cversion.c with
* -DMK1MF_BUILD and use definitions added to this file by util/mk1mf.pl. */
#error "Windows builds (PLATFORM=VC-WIN64A) use mk1mf.pl-created Makefiles"
#endif
#ifdef MK1MF_PLATFORM_VC_WIN64A
/* auto-generated/updated by util/mk1mf.pl for crypto/cversion.c */
#define CFLAGS "cl /MDd /Od -DDEBUG -D_DEBUG -DOPENSSL_THREADS -DDSO_WIN32 -W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_SSL3 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE "
#define PLATFORM "VC-WIN64A"
#define DATE "Thu Jan 8 17:05:37 2015"
#endif |
|
Can you confirm if the following change fixes it for you: |
|
I see the same thing when trying to compile on Win64 with Visual Studio 2013. I'm compiling against the FIPS container. Build steps (after compiling the latest FIPS container): perl Configure VC-WIN64A fips --with-fipslibdir=C:\projects\openssl-fips-2.0.9-x64\out32dll perl util\mkfiles.pl >MINFO cmd /c "nasm -f win64 -v" >NUL: 2>&1 perl ms\uplink-x86_64.pl nasm > ms\uptable.asm :ml64 :proceed perl util\mkdef.pl 32 libeay > ms\libeay32.def @if errorlevel 1 goto end |
|
There is a fix for this issue in git. See commit 56cd740 |
|
Fix from git confirmed working here. |
|
As a note: Issue and fix also apply to official 1.0.0p release |
Test matrix update and additional test fixes for OpenSSL 1.1.1
Changing line 80 to ...
... fixes it.
The text was updated successfully, but these errors were encountered: