I have downloaded the qtsdk-2010.05 and installed it properly. Then I wanted to install the qt. after configuring “qtsdk-2010.05/qt ./configure”. I issued a gmake cmd and problems have occured
collect2: ld returned 1 exit status
gmake[1]: *** ../../lib/libQtNetwork.so.4.7.0] Error 1
gmake[1]: Leaving directory `.../qtsdk-2010.05/qt/src/network'
gmake: *** [sub-network-make_default-ordered] Error 2
Before that there are plenty of
undefined reference to *
.obj/release-shared/qhttp.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
bugs (I don’t mind that for now since the make was continuing). Does someone know what is the problem?
Regarding your gmake error:
Not enough info. Need to quote a few lines before and after to understand in particular what was happening prior to the error,
Also sometimes you can inspect the makefile config to identify the problem.
Regarding the second error:
Maybe not enough info also, but it does look like there is a problem accessing an SSL object. Do you have SSL required libraries installed?
These are the whole 2 “errors” just as they are printed
.obj/release-shared/qhttp.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qhttp.o: In function `QHttp::ignoreSslErrors()':
.../qtsdk-2010.05/qt/src/network/access/qhttp.cpp:3147: undefined reference to `QSslSocket::ignoreSslErrors()'
.obj/release-shared/qhttp.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qhttp.o: In function `QHttpPrivate::setSock(QTcpSocket*)':
.../qtsdk-2010.05/qt/src/network/access/qhttp.cpp:3103: undefined reference to `QSslSocket::supportsSsl()'
.../qtsdk-2010.05/qt/src/network/access/qhttp.cpp:3104: undefined reference to `QSslSocket::QSslSocket(QObject*)'
.obj/release-shared/qhttp.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qhttp.o: In function `QHttpPrivate::postMoreData()':
.../qtsdk-2010.05/qt/src/network/access/qhttp.cpp:2697: undefined reference to `QSslSocket::encryptedBytesToWrite() const'
.obj/release-shared/qhttp.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qhttp.o: In function `QHttpPrivate::_q_slotSendRequest()':
.../qtsdk-2010.05/qt/src/network/access/qhttp.cpp:2424: undefined reference to `QSslSocket::isEncrypted() const'
.../qtsdk-2010.05/qt/src/network/access/qhttp.cpp:2492: undefined reference to `QSslSocket::isEncrypted() const'
.../qtsdk-2010.05/qt/src/network/access/qhttp.cpp:2505: undefined reference to `QSslSocket::connectToHostEncrypted(QString const&, unsigned short, QFlags<QIODevice::OpenModeFlag>)'
.obj/release-shared/qhttpnetworkreply.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qhttpnetworkreply.o: In function `QHttpNetworkReply::sslConfiguration() const':
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkreply.cpp:829: undefined reference to `QSslSocket::sslConfiguration() const'
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkreply.cpp:827: undefined reference to `QSslConfiguration::QSslConfiguration()'
.obj/release-shared/qhttpnetworkconnection.o: In function `QHttpNetworkConnection::ignoreSslErrors(int)':
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkconnection.cpp:921: undefined reference to `QSslSocket::ignoreSslErrors()'
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkconnection.cpp:916: undefined reference to `QSslSocket::ignoreSslErrors()'
.obj/release-shared/qhttpnetworkconnection.o: In function `QHttpNetworkConnection::setSslConfiguration(QSslConfiguration const&)':
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkconnection.cpp:905: undefined reference to `QSslSocket::setSslConfiguration(QSslConfiguration const&)'
.obj/release-shared/qhttpnetworkconnection.o: In function `QHttpNetworkConnection::ignoreSslErrors(QList<QSslError> const&, int)':
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkconnection.cpp:939: undefined reference to `QSslSocket::ignoreSslErrors(QList<QSslError> const&)'
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkconnection.cpp:934: undefined reference to `QSslSocket::ignoreSslErrors(QList<QSslError> const&)'
.obj/release-shared/qhttpnetworkconnection.o: In function `QList<QSslError>::node_destruct(QList<QSslError>::Node*, QList<QSslError>::Node*)':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qlist.h:418: undefined reference to `QSslError::~QSslError()'
.obj/release-shared/qhttpnetworkconnection.o: In function `QList<QSslError>::node_copy(QList<QSslError>::Node*, QList<QSslError>::Node*, QList<QSslError>::Node*)':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qlist.h:386: undefined reference to `QSslError::QSslError(QSslError const&)'
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qlist.h:392: undefined reference to `QSslError::~QSslError()'
.obj/release-shared/qhttpnetworkconnectionchannel.o: In function `QHttpNetworkConnectionChannel::init()':
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkconnectionchannel.cpp:87: undefined reference to `QSslSocket::QSslSocket(QObject*)'
.obj/release-shared/qhttpnetworkconnectionchannel.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qhttpnetworkconnectionchannel.o: In function `QHttpNetworkConnectionChannel::ensureConnection()':
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkconnectionchannel.cpp:554: undefined reference to `QSslSocket::connectToHostEncrypted(QString const&, unsigned short, QFlags<QIODevice::OpenModeFlag>)'
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkconnectionchannel.cpp:556: undefined reference to `QSslSocket::ignoreSslErrors()'
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkconnectionchannel.cpp:557: undefined reference to `QSslSocket::ignoreSslErrors(QList<QSslError> const&)'
.obj/release-shared/qhttpnetworkconnectionchannel.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qhttpnetworkconnectionchannel.o: In function `QHttpNetworkConnectionChannel::sendRequest()':
.../qtsdk-2010.05/qt/src/network/access/qhttpnetworkconnectionchannel.cpp:239: undefined reference to `QSslSocket::encryptedBytesToWrite() const'
.obj/release-shared/qhttpnetworkconnectionchannel.o: In function `QList<QSslError>::node_destruct(QList<QSslError>::Node*, QList<QSslError>::Node*)':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qlist.h:418: undefined reference to `QSslError::~QSslError()'
.obj/release-shared/qnetworkaccessmanager.o: In function `QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation, QNetworkRequest const&, QIODevice*)':
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccessmanager.cpp:1038: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccessmanager.cpp:1038: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkaccesshttpbackend.o: In function `QNetworkAccessHttpBackend::setSslConfiguration(QSslConfiguration const&)':
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:1002: undefined reference to `QSslConfiguration::operator=(QSslConfiguration const&)'
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:1004: undefined reference to `QSslConfiguration::QSslConfiguration(QSslConfiguration const&)'
.obj/release-shared/qnetworkaccesshttpbackend.o: In function `QNetworkAccessHttpBackend::fetchSslConfiguration(QSslConfiguration&) const':
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:992: undefined reference to `QSslConfiguration::operator=(QSslConfiguration const&)'
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:992: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:994: undefined reference to `QSslConfiguration::operator=(QSslConfiguration const&)'
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:992: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkaccesshttpbackend.o: In function `.L265':
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:763: undefined reference to `QSslConfiguration::operator=(QSslConfiguration const&)'
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:773: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkaccesshttpbackend.o: In function `.L267':
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:764: undefined reference to `QSslConfiguration::isNull() const'
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:766: undefined reference to `QSslConfiguration::QSslConfiguration(QSslConfiguration const&)'
.obj/release-shared/qnetworkaccesshttpbackend.o: In function `.L266':
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:773: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkaccesshttpbackend.o: In function `~QNetworkAccessHttpBackend':
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:309: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:309: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.../qtsdk-2010.05/qt/src/network/access/qnetworkaccesshttpbackend.cpp:309: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkrequest.o: In function `QNetworkRequest::sslConfiguration() const':
.../qtsdk-2010.05/qt/src/network/access/qnetworkrequest.cpp:536: undefined reference to `QSslConfiguration::QSslConfiguration(QSslConfiguration const&)'
.../qtsdk-2010.05/qt/src/network/access/qnetworkrequest.cpp:535: undefined reference to `QSslConfiguration::QSslConfiguration()'
.obj/release-shared/qnetworkrequest.o: In function `QNetworkRequest::setSslConfiguration(QSslConfiguration const&)':
.../qtsdk-2010.05/qt/src/network/access/qnetworkrequest.cpp:555: undefined reference to `QSslConfiguration::operator=(QSslConfiguration const&)'
.../qtsdk-2010.05/qt/src/network/access/qnetworkrequest.cpp:553: undefined reference to `QSslConfiguration::QSslConfiguration(QSslConfiguration const&)'
.obj/release-shared/qnetworkrequest.o: In function `~QNetworkRequestPrivate':
.../qtsdk-2010.05/qt/src/network/access/qnetworkrequest.cpp:295: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.../qtsdk-2010.05/qt/src/network/access/qnetworkrequest.cpp:295: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.../qtsdk-2010.05/qt/src/network/access/qnetworkrequest.cpp:295: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkrequest.o: In function `QNetworkRequestPrivate':
.../qtsdk-2010.05/qt/src/network/access/qnetworkrequest.cpp:309: undefined reference to `QSslConfiguration::QSslConfiguration(QSslConfiguration const&)'
.obj/release-shared/qnetworkrequest.o: In function `~QNetworkRequestPrivate':
.../qtsdk-2010.05/qt/src/network/access/qnetworkrequest.cpp:295: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.../qtsdk-2010.05/qt/src/network/access/qnetworkrequest.cpp:295: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkreply.o: In function `QNetworkReply::setSslConfiguration(QSslConfiguration const&)':
.../qtsdk-2010.05/qt/src/network/access/qnetworkreply.cpp:610: undefined reference to `QSslConfiguration::isNull() const'
.../qtsdk-2010.05/qt/src/network/access/qnetworkreply.cpp:615: undefined reference to `QSslConfiguration::QSslConfiguration(QSslConfiguration const&)'
.../qtsdk-2010.05/qt/src/network/access/qnetworkreply.cpp:617: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.../qtsdk-2010.05/qt/src/network/access/qnetworkreply.cpp:617: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkreply.o: In function `QNetworkReply::sslConfiguration() const':
.../qtsdk-2010.05/qt/src/network/access/qnetworkreply.cpp:593: undefined reference to `QSslConfiguration::QSslConfiguration()'
.../qtsdk-2010.05/qt/src/network/access/qnetworkreply.cpp:601: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkreplyimpl.o: In function `QNetworkReplyImpl::setSslConfigurationImplementation(QSslConfiguration const&)':
.../qtsdk-2010.05/qt/src/network/access/qnetworkreplyimpl.cpp:821: undefined reference to `QSslConfiguration::isNull() const'
.obj/release-shared/qnetworkreplyimpl.o: In function `QNetworkReplyImpl::sslConfigurationImplementation() const':
.../qtsdk-2010.05/qt/src/network/access/qnetworkreplyimpl.cpp:812: undefined reference to `QSslConfiguration::QSslConfiguration()'
.../qtsdk-2010.05/qt/src/network/access/qnetworkreplyimpl.cpp:815: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkreplyimpl.o: In function `.L1041':
.../qtsdk-2010.05/qt/src/network/.moc/release-shared/moc_qnetworkreplyimpl_p.cpp:100: undefined reference to `QSslConfiguration::operator=(QSslConfiguration const&)'
.../qtsdk-2010.05/qt/src/network/.moc/release-shared/moc_qnetworkreplyimpl_p.cpp:100: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qnetworkreplyimpl.o: In function `.L1040':
.../qtsdk-2010.05/qt/src/network/.moc/release-shared/moc_qnetworkreplyimpl_p.cpp:100: undefined reference to `QSslConfiguration::~QSslConfiguration()'
.obj/release-shared/qabstractsocket.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qabstractsocket.o: In function `QAbstractSocket::setReadBufferSize(long long)':
.../qtsdk-2010.05/qt/src/network/socket/qabstractsocket.cpp:2510: undefined reference to `QSslSocket::setReadBufferSize(long long)'
.obj/release-shared/qabstractsocket.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qabstractsocket.o: In function `QAbstractSocket::socketOption(QAbstractSocket::SocketOption)':
.../qtsdk-2010.05/qt/src/network/socket/qabstractsocket.cpp:1659: undefined reference to `QSslSocket::socketOption(QAbstractSocket::SocketOption)'
.obj/release-shared/qabstractsocket.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qabstractsocket.o: In function `QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption, QVariant const&)':
.../qtsdk-2010.05/qt/src/network/socket/qabstractsocket.cpp:1630: undefined reference to `QSslSocket::setSocketOption(QAbstractSocket::SocketOption, QVariant const&)'
.obj/release-shared/qabstractsocket.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qabstractsocket.o: In function `QAbstractSocket::setSocketDescriptor(int, QAbstractSocket::SocketState, QFlags<QIODevice::OpenModeFlag>)':
.../qtsdk-2010.05/qt/src/network/socket/qabstractsocket.cpp:1571: undefined reference to `QSslSocket::setSocketDescriptor(int, QAbstractSocket::SocketState, QFlags<QIODevice::OpenModeFlag>)'
.obj/release-shared/qabstractsocket.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qabstractsocket.o: In function `QAbstractSocket::waitForConnected(int)':
.../qtsdk-2010.05/qt/src/network/socket/qabstractsocket.cpp:1736: undefined reference to `QSslSocket::waitForConnected(int)'
.obj/release-shared/qabstractsocket.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qabstractsocket.o: In function `QAbstractSocket::abort()':
.../qtsdk-2010.05/qt/src/network/socket/qabstractsocket.cpp:2020: undefined reference to `QSslSocket::abort()'
.obj/release-shared/qabstractsocket.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qabstractsocket.o: In function `QAbstractSocket::flush()':
.../qtsdk-2010.05/qt/src/network/socket/qabstractsocket.cpp:2081: undefined reference to `QSslSocket::flush()'
.obj/release-shared/qabstractsocket.o: In function `qobject_cast<QSslSocket*>':
.../qtsdk-2010.05/qt/src/network/../../include/QtCore/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject'
.obj/release-shared/qabstractsocket.o: In function `QAbstractSocket::waitForDisconnected(int)':
.../qtsdk-2010.05/qt/src/network/socket/qabstractsocket.cpp:1954: undefined reference to `QSslSocket::waitForDisconnected(int)'
collect2: ld returned 1 exit status
gmake[1]: *** ../../lib/libQtNetwork.so.4.7.0] Error 1
gmake[1]: Leaving directory `.../qtsdk-2010.05/qt/src/network'
gmake: *** [sub-network-make_default-ordered] Error 2
During config there were no “broken” dependencies so I think I should have the libs needed.
PS Sorry for the format but there is a limit of 15000 characters