Comments (5)
Remove old version before build - and starting compile
from openssl.
not sure what you mean by "Remove old version before build" as I also got this kind of error...
I've just downloaded openssl-1.0.2.tar.gz and tried to build it, so there shouldn't be any "old version".
Also, my make output looks a bit differently...
g++ -c -o cryptlib.o cryptlib.c
In file included from cryptlib.c:117:0:
cryptlib.h:65:19: fatal error: e_os.h: No such file or directory
# include "e_os.h"
^
and as you can see, it's entirely missing any options or includes...
I've tried to follow this howto: http://qt-project.org/wiki/Compiling-OpenSSL-with-MinGW
as well as INSTALL.W32 (INSTALL.W64 is outdated, I actually want to compile for x86_64 but I can do neither)
from openssl.
I confirm the issue with 1.0.2a.
I tried to compile on a clean machine...
I did mingw32-make clean
and then ./Configure mingw no-idea no-mdc2 no-rc5 shared
after which mingw32-make depend
.
`cryptlib.c:170:3: error: #error "Inconsistency between crypto.h and cryptlib.c"
error "Inconsistency between crypto.h and cryptlib.c"
^
uid.c:77:11: error: #include expects "FILENAME" or
include OPENSSL_UNISTD`
from openssl.
The problem is in implicit make rules.
I don't know why gnumake decided to use g++ instead of gcc but by the same reason it does not use declared CFLAGS what leads to the lost e_os.h header.
It seems there are no way o force gcc but explicit make rule. So in my case I've added next code to crypto/Makefile
%.o: %.c $(CC) $(CFLAGS) -c -o $@ $<
and it compiled a little more.
Unfortunately all other makefiles do not have such explicit rule too.
from openssl.
Hey !
With MSYS2 it's work !
Maybe you can try this simple script to build openssl : easy-openssl-build-example.sh
from openssl.
Related Issues (20)
- openssl --version does not return on version 3.0.13 and 3.3.0 sparc v8 HOT 7
- OpenSSL Read/Write into a BIO_s_mem works only on first call per connection HOT 1
- Openssl speed reports error for RSA KEM keys using external providers in openssl3.2
- pkg-config files are no longer relocatable with 3.3 HOT 1
- `ERR_reason_error_string()` returns `NULL` for `no_application_protocol` alert HOT 4
- SM2 failed to generate public key from private key HOT 5
- Unable to verify LDAP CRL
- CMS Decryption fails randomly with BouncyCastle encrypted HOT 8
- pkcs12 - Bag attributes not written if ``-nokeys`` is used HOT 2
- Custom extensions and backwards compatibility HOT 5
- `SSL_SESSION_set_time` incorrect documentation HOT 1
- Add EVP object caching to libctx
- AES CBC 128 decryption returns a wrong result
- ossl_store_handle_load_result() unsupported for valid CRL HOT 3
- There is a memory leak defect in line 3315 of the file /openssl/apps/cmp.c.
- There is a memory leak defect in line 626 of the file /openssl/crypto/cms/cms_smime.c. HOT 1
- There is a memory leak defect at line 95 of the file /openssl/ssl/quic/quic_trace.c. HOT 2
- There is a memory leak defect at line 3232 of the file /openssl/ssl/statem/statem_srvr.c. HOT 2
- "openssl x509 -text" reports signature algorithm twice HOT 3
- When key management is registering with OpenSSL and Sign&Verify registering with qatprovider, why both are offloading to OpenSSL? HOT 1
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.