Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12
-
None
-
-
d74ced697e96cf89ad382ccc5f730f55df955c36
Description
When compiling QtNetwork I get the following errors due to missing symbols:
I have OpenSSL 1.0.1i installed, so I therefore have the following environment variables set:
$env:INCLUDE+="Q:\3rdparty\x86\openssl-1.0.1i\include"
$env:LIB+="Q:\3rdparty\x86\openssl-1.0.1i\lib"
This results in that it tries to compile with ssl, but the symbols does not seem to be available in my installation, relevant compilation output:
qsslcontext_opensslpre11.cpp qwindowscarootfetcher.cpp qpassworddigestor.cpp ssl\qdtls_openssl.cpp(572): error C2065: 'BIO_CTRL_DGRAM_SET_DONT_FRAG': undeclared identifier ssl\qdtls_openssl.cpp(572): error C2131: expression did not evaluate to a constant ssl\qdtls_openssl.cpp(572): note: failure was caused by non-constant arguments or reference to a non-constant symbol ssl\qdtls_openssl.cpp(572): note: see usage of 'BIO_CTRL_DGRAM_SET_DONT_FRAG' ssl\qdtls_openssl.cpp(576): error C2065: 'BIO_CTRL_DGRAM_GET_MTU_OVERHEAD': undeclared identifier ssl\qdtls_openssl.cpp(576): error C2131: expression did not evaluate to a constant ssl\qdtls_openssl.cpp(576): note: failure was caused by non-constant arguments or reference to a non-constant symbol ssl\qdtls_openssl.cpp(576): note: see usage of 'BIO_CTRL_DGRAM_GET_MTU_OVERHEAD' ssl\qdtls_openssl.cpp(572): error C2051: case expression not constant ssl\qdtls_openssl.cpp(576): error C2051: case expression not constant ssl\qdtls_openssl.cpp(834): error C2065: 'DTLS_CTRL_SET_LINK_MTU': undeclared identifier ssl\qdtls_openssl.cpp(1417): error C2065: 'DTLS1_2_VERSION': undeclared identifier ssl\qdtls_openssl.cpp(1417): error C2131: expression did not evaluate to a constant ssl\qdtls_openssl.cpp(1417): note: failure was caused by non-constant arguments or reference to a non-constant symbol ssl\qdtls_openssl.cpp(1417): note: see usage of 'DTLS1_2_VERSION' ssl\qdtls_openssl.cpp(1417): error C2051: case expression not constant qnetworkaccessmanager.cpp qnetworkreplyimpl.cpp qnetworkreplydataimpl.cpp qnetworkreplyfileimpl.cpp qhttpnetworkconnection.cpp qnetworksession.cpp qhttpnetworkconnectionchannel.cpp qnetworkconfigmanager.cpp jom: E:\dev\qt-5d\qtbase\src\network\Makefile [debug] Error 2
Relevant configure output:
Running configuration tests... [...] Checking for OpenSSL Headers... yes Checking for getifaddrs()... no Checking for IPv6 ifname... no Checking for OpenSSL 1.1 support... no [...] Qt Network: getifaddrs() ........................... no IPv6 ifname ............................ no libproxy ............................... no OpenSSL ................................ yes Qt directly linked to OpenSSL ........ no OpenSSL 1.1 ............................ no