error after ./configure
-
Hi everyone! i'm trying to install anda update qt on linux centOS stream, after executing ./configure for qt i'm asked to exedcute gmake but i get his error.. any idea on how to solve? thank you
[user@pcgms qt-everywhere-opensource-src-4.8.7]$ gmake
cd src/tools/bootstrap/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/bootstrap"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/bootstrap"
cd src/tools/moc/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/moc"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/moc"
cd src/tools/rcc/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/rcc"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/rcc"
cd src/tools/uic/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/uic"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/uic"
cd src/corelib/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/corelib"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/corelib"
cd src/xml/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/xml"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/xml"
cd src/network/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/network"
g++ -c -include .pch/release-shared/QtNetwork -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/release-shared -Ikernel -I.moc/release-shared -o .obj/release-shared/qsslcertificate.o ssl/qsslcertificate.cpp
ssl/qsslcertificate.cpp: In member function ‘QByteArray QSslCertificate::version() const’:
ssl/qsslcertificate.cpp:265:68: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version)) + 1);
^~
In file included from ../../include/QtNetwork/qsslcertificate.h:1,
from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47,
from ../../include/QtNetwork/qsslerror.h:1,
from ssl/qsslsocket.h:50,
from ssl/qsslsocket_p.h:46,
from ssl/qsslsocket_openssl_p.h:57,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509; // ### check if this works
^~~~~~~
ssl/qsslcertificate.cpp: In member function ‘QByteArray QSslCertificate::serialNumber() const’:
ssl/qsslcertificate.cpp:280:45: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
ASN1_INTEGER *serialNumber = d->x509->cert_info->serialNumber;
^~
In file included from ../../include/QtNetwork/qsslcertificate.h:1,
from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47,
from ../../include/QtNetwork/qsslerror.h:1,
from ssl/qsslsocket.h:50,
from ssl/qsslsocket_p.h:46,
from ssl/qsslsocket_openssl_p.h:57,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509; // ### check if this works
^~~~~~~
ssl/qsslcertificate.cpp: In member function ‘QSslKey QSslCertificate::publicKey() const’:
ssl/qsslcertificate.cpp:493:32: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
X509_PUBKEY *xkey = d->x509->cert_info->key;
^~
In file included from ../../include/QtNetwork/qsslcertificate.h:1,
from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47,
from ../../include/QtNetwork/qsslerror.h:1,
from ssl/qsslsocket.h:50,
from ssl/qsslsocket_p.h:46,
from ssl/qsslsocket_openssl_p.h:57,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509; // ### check if this works
^~~~~~~
ssl/qsslcertificate.cpp:497:29: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from ssl/qsslsocket_openssl_p.h:66,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
ssl/qsslcertificate.cpp:501:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from ssl/qsslsocket_openssl_p.h:66,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
ssl/qsslcertificate.cpp:505:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DH) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from ssl/qsslsocket_openssl_p.h:66,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
gmake[1]: *** [Makefile:17093: .obj/release-shared/qsslcertificate.o] Error 1
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/network"
gmake: *** [Makefile:278: sub-network-make_default-ordered] Error 2 -
Hi everyone! i'm trying to install anda update qt on linux centOS stream, after executing ./configure for qt i'm asked to exedcute gmake but i get his error.. any idea on how to solve? thank you
[user@pcgms qt-everywhere-opensource-src-4.8.7]$ gmake
cd src/tools/bootstrap/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/bootstrap"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/bootstrap"
cd src/tools/moc/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/moc"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/moc"
cd src/tools/rcc/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/rcc"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/rcc"
cd src/tools/uic/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/uic"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/uic"
cd src/corelib/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/corelib"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/corelib"
cd src/xml/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/xml"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/xml"
cd src/network/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/network"
g++ -c -include .pch/release-shared/QtNetwork -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/release-shared -Ikernel -I.moc/release-shared -o .obj/release-shared/qsslcertificate.o ssl/qsslcertificate.cpp
ssl/qsslcertificate.cpp: In member function ‘QByteArray QSslCertificate::version() const’:
ssl/qsslcertificate.cpp:265:68: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version)) + 1);
^~
In file included from ../../include/QtNetwork/qsslcertificate.h:1,
from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47,
from ../../include/QtNetwork/qsslerror.h:1,
from ssl/qsslsocket.h:50,
from ssl/qsslsocket_p.h:46,
from ssl/qsslsocket_openssl_p.h:57,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509; // ### check if this works
^~~~~~~
ssl/qsslcertificate.cpp: In member function ‘QByteArray QSslCertificate::serialNumber() const’:
ssl/qsslcertificate.cpp:280:45: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
ASN1_INTEGER *serialNumber = d->x509->cert_info->serialNumber;
^~
In file included from ../../include/QtNetwork/qsslcertificate.h:1,
from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47,
from ../../include/QtNetwork/qsslerror.h:1,
from ssl/qsslsocket.h:50,
from ssl/qsslsocket_p.h:46,
from ssl/qsslsocket_openssl_p.h:57,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509; // ### check if this works
^~~~~~~
ssl/qsslcertificate.cpp: In member function ‘QSslKey QSslCertificate::publicKey() const’:
ssl/qsslcertificate.cpp:493:32: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
X509_PUBKEY *xkey = d->x509->cert_info->key;
^~
In file included from ../../include/QtNetwork/qsslcertificate.h:1,
from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47,
from ../../include/QtNetwork/qsslerror.h:1,
from ssl/qsslsocket.h:50,
from ssl/qsslsocket_p.h:46,
from ssl/qsslsocket_openssl_p.h:57,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509; // ### check if this works
^~~~~~~
ssl/qsslcertificate.cpp:497:29: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from ssl/qsslsocket_openssl_p.h:66,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
ssl/qsslcertificate.cpp:501:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from ssl/qsslsocket_openssl_p.h:66,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
ssl/qsslcertificate.cpp:505:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DH) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from ssl/qsslsocket_openssl_p.h:66,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
gmake[1]: *** [Makefile:17093: .obj/release-shared/qsslcertificate.o] Error 1
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/network"
gmake: *** [Makefile:278: sub-network-make_default-ordered] Error 2@fieldqt said in error after ./configure:
install anda update qt
Version 4.8.7?!
Are you sure you want this ancient version? -
@fieldqt said in error after ./configure:
install anda update qt
Version 4.8.7?!
Are you sure you want this ancient version? -
Hi everyone! i'm trying to install anda update qt on linux centOS stream, after executing ./configure for qt i'm asked to exedcute gmake but i get his error.. any idea on how to solve? thank you
[user@pcgms qt-everywhere-opensource-src-4.8.7]$ gmake
cd src/tools/bootstrap/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/bootstrap"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/bootstrap"
cd src/tools/moc/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/moc"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/moc"
cd src/tools/rcc/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/rcc"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/rcc"
cd src/tools/uic/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/uic"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/tools/uic"
cd src/corelib/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/corelib"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/corelib"
cd src/xml/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/xml"
gmake[1]: Nessuna operazione da eseguire per "first".
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/xml"
cd src/network/ && gmake -f Makefile
gmake[1]: ingresso nella directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/network"
g++ -c -include .pch/release-shared/QtNetwork -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/release-shared -Ikernel -I.moc/release-shared -o .obj/release-shared/qsslcertificate.o ssl/qsslcertificate.cpp
ssl/qsslcertificate.cpp: In member function ‘QByteArray QSslCertificate::version() const’:
ssl/qsslcertificate.cpp:265:68: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version)) + 1);
^~
In file included from ../../include/QtNetwork/qsslcertificate.h:1,
from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47,
from ../../include/QtNetwork/qsslerror.h:1,
from ssl/qsslsocket.h:50,
from ssl/qsslsocket_p.h:46,
from ssl/qsslsocket_openssl_p.h:57,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509; // ### check if this works
^~~~~~~
ssl/qsslcertificate.cpp: In member function ‘QByteArray QSslCertificate::serialNumber() const’:
ssl/qsslcertificate.cpp:280:45: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
ASN1_INTEGER *serialNumber = d->x509->cert_info->serialNumber;
^~
In file included from ../../include/QtNetwork/qsslcertificate.h:1,
from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47,
from ../../include/QtNetwork/qsslerror.h:1,
from ssl/qsslsocket.h:50,
from ssl/qsslsocket_p.h:46,
from ssl/qsslsocket_openssl_p.h:57,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509; // ### check if this works
^~~~~~~
ssl/qsslcertificate.cpp: In member function ‘QSslKey QSslCertificate::publicKey() const’:
ssl/qsslcertificate.cpp:493:32: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
X509_PUBKEY *xkey = d->x509->cert_info->key;
^~
In file included from ../../include/QtNetwork/qsslcertificate.h:1,
from ../../include/QtNetwork/../../src/network/ssl/qsslerror.h:47,
from ../../include/QtNetwork/qsslerror.h:1,
from ssl/qsslsocket.h:50,
from ssl/qsslsocket_p.h:46,
from ssl/qsslsocket_openssl_p.h:57,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:53:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509; // ### check if this works
^~~~~~~
ssl/qsslcertificate.cpp:497:29: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from ssl/qsslsocket_openssl_p.h:66,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
ssl/qsslcertificate.cpp:501:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from ssl/qsslsocket_openssl_p.h:66,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
ssl/qsslcertificate.cpp:505:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DH) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from ssl/qsslsocket_openssl_p.h:66,
from ssl/qsslsocket_openssl_symbols_p.h:57,
from ssl/qsslcertificate.cpp:114:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
gmake[1]: *** [Makefile:17093: .obj/release-shared/qsslcertificate.o] Error 1
gmake[1]: uscita dalla directory "/home/cms/Scaricati/download_SRS/download_3/qt-everywhere-opensource-src-4.8.7/src/network"
gmake: *** [Makefile:278: sub-network-make_default-ordered] Error 2@fieldqt said in error after ./configure:
ssl/qsslcertificate.cpp:265:68: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
That struct is part of OpenSSL library.
Did you install it and which version? -
Hi,
If you really need that obsolete version of Qt, check whether your Linux distribution provides it and use that one. It will be way simpler.
If your distribution does not have it, you'll have to install an older variant that does. I think Debian 11 was still shipping it.