Comments (7)
What platform are you on?
Is this a fresh copy of 1.0.1k or are you using an existing git repo?
The identifier cflags that it is failing with is defined in the file crypto/buildinf.h - which is a generated file. Does that file exist for you and what does it contain?
from openssl.
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
from openssl.
Can you confirm if the following change fixes it for you:
From 0fe653506d2974b57fde6301e1b72bb7017abd3e Mon Sep 17 00:00:00 2001
From: Matt Caswell <[email protected]>
Date: Thu, 8 Jan 2015 18:01:29 +0000
Subject: [PATCH] Fix windows build
---
crypto/cversion.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/crypto/cversion.c b/crypto/cversion.c
index 0336ada..21a2532 100644
--- a/crypto/cversion.c
+++ b/crypto/cversion.c
@@ -76,7 +76,9 @@ const char *SSLeay_version(int t)
}
if (t == SSLEAY_CFLAGS)
{
-#ifdef CFLAGS
+#if defined(MK1MF_BUILD)
+ return(CFLAGS);
+#elif defined(CFLAGS)
return(cflags);
#else
return("compiler: information not available");
--
2.1.0
from openssl.
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
if %errorlevel% neq 0 goto ml64
perl ms\uplink-x86_64.pl nasm > ms\uptable.asm
nasm -f win64 -o ms\uptable.obj ms\uptable.asm
goto proceed
:ml64
perl ms\uplink-x86_64.pl masm > ms\uptable.asm
ml64 -c -Foms\uptable.obj ms\uptable.asm
:proceed
perl util\mk1mf.pl nasm debug dll VC-WIN64A >ms\d64dll.mak
perl util\mk1mf.pl nasm dll VC-WIN64A >ms\64dll.mak
perl util\mkdef.pl 32 libeay > ms\libeay32.def
perl util\mkdef.pl 32 ssleay > ms\ssleay32.def
@if errorlevel 1 goto end
nmake -f ms\64dll.mak
from openssl.
There is a fix for this issue in git. See commit 56cd740
from openssl.
Fix from git confirmed working here.
from openssl.
As a note: Issue and fix also apply to official 1.0.0p release
from openssl.
Related Issues (20)
- Mainline build failing since #24275 on Ubuntu 24.04 HOT 5
- Performing openssl cmp IR using server address in IPV6 format
- Implement proposal from #553 when consensus reached HOT 3
- openssl usage for fips provider
- After upgrading Openssl from 1.1.1s to 3.1.4, same Python script generate "SSL Error(407) - shutdown while in init" on Openssl 3.1.4 while 1.1.1s has no similar issue..
- openssl speed fails to count for aead decryption HOT 3
- openSSL+Curl crashed HOT 1
- Using KBKDF with KMAC causes dereference of NULL function pointer
- Unexpected two dots for custom x509 extension HOT 1
- openssl_fopen() causes segmentation fault (access violation) under some conditions on Windows HOT 4
- Memory leak in X509_verify_cert OpenSSL 1.1.1w
- openssl enc support for aead ciphers HOT 1
- Download page is not showing latest version of 3.0/3.1/3.2 openssl
- Double free in tls_release_read_buffer() HOT 2
- Cannot build libssl.a in isolation: "make build_ssl" also builds apps HOT 6
- stricter parser for `ipv4_from_asc` HOT 1
- When building openssl with mingw64, `make test` is hang up HOT 4
- Unable to encrypt private key with encryption algo AES-256-CBC using i2d_PKCS8PrivateKey_nid_bio API
- [BUG] Curious on why QUIC works on 3.2 but not 3.3 in PUT on NonStop
- There is a memory leak defect at line 495 in the /openssl/test/bad_dtls_test.c file.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openssl.