Qsslcertificate error with make
-
@g++ -c -include .pch/Qt5Network -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_USING_NAMESPACE -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.3.0 -I../../include/QtNetwork/5.3.0/QtNetwork -Ikernel -I../../include/QtCore/5.3.0 -I../../include/QtCore/5.3.0/QtCore -I../../include/QtCore -I.moc -o .obj/qsslcertificate.o ssl/qsslcertificate.cpp
In file included from ssl/qsslcertificate.cpp:116:0:
ssl/qsslsocket_openssl_symbols_p.h:437:1: error: 'EC_KEY' does not name a type
ssl/qsslsocket_openssl_symbols_p.h:438:20: error: variable or field 'q_EC_KEY_free' declared void
ssl/qsslsocket_openssl_symbols_p.h:438:20: error: 'EC_KEY' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:438:28: error: 'ecdh' was not declared in this scope
gmake[3]: *** [.obj/qsslcertificate.o] Error 1
gmake[3]: Leaving directory/tmp/qt-everywhere-opensource-src-5.3.0/qtbase/src/network' gmake[2]: *** [sub-network-make_first] Error 2 gmake[2]: Leaving directory
/tmp/qt-everywhere-opensource-src-5.3.0/qtbase/src'
gmake[1]: *** [sub-src-make_first] Error 2
gmake[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.3.0/qtbase'
gmake: *** [module-qtbase-make_first] Error 2
@
I get this error when trying to build 5.3.0 from source.
I have the latest version of openSSL installed on CentOS 6.4 (64-bit). -
Hi,
From a quick search you might be missing ecdsa support in you OpenSSL versions.
Hope it helps