[Qgis-developer] QGIS3 cmake error
Paolo Cavallini
cavallini at faunalia.it
Wed Nov 23 00:27:53 PST 2016
Hi all,
today I'm getting an error in cmake, se below.
I'd be grateful of any hint.
All the best.
-- QCA OpenSSL plugin C++ check failed to compile
-- QCA OpenSSL plugin C++ check compile output:
-- Change Dir: /usr/local/src/qgis/QGIS/build-qgis3/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_963f2/fast"
/usr/bin/make -f CMakeFiles/cmTC_963f2.dir/build.make
CMakeFiles/cmTC_963f2.dir/build
make[1]: ingresso nella directory
"/usr/local/src/qgis/QGIS/build-qgis3/CMakeFiles/CMakeTmp"
Building CXX object CMakeFiles/cmTC_963f2.dir/qcaossl.cpp.o
/usr/bin/c++ -I/usr/include/x86_64-linux-gnu/qt5
-I/usr/include/x86_64-linux-gnu/qt5/QtGui
-I/usr/include/x86_64-linux-gnu/qt5/QtCore
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64
-I/usr/include/x86_64-linux-gnu/qt5/QtWidgets
-I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport
-I/usr/include/x86_64-linux-gnu/qt5/QtSvg
-I/usr/include/x86_64-linux-gnu/qt5/QtScript
-I/usr/include/x86_64-linux-gnu/qt5/QtNetwork
-I/usr/include/x86_64-linux-gnu/qt5/QtTest
-I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent
-I/usr/include/x86_64-linux-gnu/qt5/QtXml
-I/usr/include/x86_64-linux-gnu/qt5/QtUiTools
-I/usr/include/x86_64-linux-gnu/qt5/QtWebKit
-I/usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets
-I/usr/include/x86_64-linux-gnu/qt5/QtSql -I/usr/include/QtCrypto
-DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1
-DSPATIALITE_HAS_INIT_EX -fPIE -std=gnu++11 -o
CMakeFiles/cmTC_963f2.dir/qcaossl.cpp.o -c
/usr/local/src/qgis/QGIS/build-qgis3/CMakeFiles/CMakeTmp/qcaossl.cpp
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:43:0,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:48,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1,
from /usr/include/QtCrypto/qca_core.h:36,
from /usr/include/QtCrypto/qca.h:36,
from /usr/include/QtCrypto/QtCrypto:1,
from
/usr/local/src/qgis/QGIS/build-qgis3/CMakeFiles/CMakeTmp/qcaossl.cpp:2:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1113:4: error: #error
"You must build your code with position independent code if Qt was built
with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not
enough)."
# error "You must build your code with position independent code if Qt
was built with -reduce-relocations. "\
^~~~~
CMakeFiles/cmTC_963f2.dir/build.make:65: set di istruzioni per
l'obiettivo "CMakeFiles/cmTC_963f2.dir/qcaossl.cpp.o" non riuscito
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
More information about the Qgis-developer
mailing list