<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Nov 23, 2016 at 9:27 AM, Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
today I'm getting an error in cmake, se below.<br>
I'd be grateful of any hint.<br>
All the best.<br>
<br>
-- QCA OpenSSL plugin C++ check failed to compile<br>
-- QCA OpenSSL plugin C++ check compile output:<br>
-- Change Dir: /usr/local/src/qgis/QGIS/<wbr>build-qgis3/CMakeFiles/<wbr>CMakeTmp<br>
<br>
Run Build Command:"/usr/bin/make" "cmTC_963f2/fast"<br>
/usr/bin/make -f CMakeFiles/cmTC_963f2.dir/<wbr>build.make<br>
CMakeFiles/cmTC_963f2.dir/<wbr>build<br>
make[1]: ingresso nella directory<br>
"/usr/local/src/qgis/QGIS/<wbr>build-qgis3/CMakeFiles/<wbr>CMakeTmp"<br>
Building CXX object CMakeFiles/cmTC_963f2.dir/<wbr>qcaossl.cpp.o<br>
/usr/bin/c++ -I/usr/include/x86_64-linux-<wbr>gnu/qt5<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtGui<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtCore<br>
-I/usr/lib/x86_64-linux-gnu/<wbr>qt5/mkspecs/linux-g++-64<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtWidgets<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtPrintSupport<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtSvg<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtScript<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtNetwork<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtTest<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtConcurrent<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtXml<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtUiTools<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtWebKit<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtWebKitWidgets<br>
-I/usr/include/x86_64-linux-<wbr>gnu/qt5/QtSql -I/usr/include/QtCrypto<br>
-DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1<br>
-DSPATIALITE_HAS_INIT_EX -fPIE -std=gnu++11 -o<br>
CMakeFiles/cmTC_963f2.dir/<wbr>qcaossl.cpp.o -c<br>
/usr/local/src/qgis/QGIS/<wbr>build-qgis3/CMakeFiles/<wbr>CMakeTmp/qcaossl.cpp<br>
In file included from /usr/include/x86_64-linux-gnu/<wbr>qt5/QtCore/qchar.h:43:0,<br>
from /usr/include/x86_64-linux-gnu/<wbr>qt5/QtCore/qstring.h:48,<br>
from /usr/include/x86_64-linux-gnu/<wbr>qt5/QtCore/QString:1,<br>
from /usr/include/QtCrypto/qca_<wbr>core.h:36,<br>
from /usr/include/QtCrypto/qca.h:<wbr>36,<br>
from /usr/include/QtCrypto/<wbr>QtCrypto:1,<br>
from<br>
/usr/local/src/qgis/QGIS/<wbr>build-qgis3/CMakeFiles/<wbr>CMakeTmp/qcaossl.cpp:2:<br>
/usr/include/x86_64-linux-gnu/<wbr>qt5/QtCore/qglobal.h:1113:4: error: #error<br>
"You must build your code with position independent code if Qt was built<br>
with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not<br>
enough)."<br>
# error "You must build your code with position independent code if Qt<br>
was built with -reduce-relocations. "\<br>
^~~~~<br>
CMakeFiles/cmTC_963f2.dir/<wbr>build.make:65: set di istruzioni per<br>
l'obiettivo "CMakeFiles/cmTC_963f2.dir/<wbr>qcaossl.cpp.o" non riuscito<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
--<br>
Paolo Cavallini - <a href="http://www.faunalia.eu" rel="noreferrer" target="_blank">www.faunalia.eu</a><br>
QGIS & PostGIS courses: <a href="http://www.faunalia.eu/training.html" rel="noreferrer" target="_blank">http://www.faunalia.eu/<wbr>training.html</a><br>
<a href="https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis" rel="noreferrer" target="_blank">https://www.google.com/trends/<wbr>explore?date=all&geo=IT&q=<wbr>qgis,arcgis</a><br>
______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></font></span></blockquote></div><br><br><br>Have a look to the comments: <a href="https://github.com/qgis/QGIS/pull/3790#issuecomment-262451695">https://github.com/qgis/QGIS/pull/3790#issuecomment-262451695</a><br><br></div><div class="gmail_extra">Kind regards.<br><br></div><div class="gmail_extra">-- <br><div class="gmail_signature">Alessandro Pasotti<br>w3: <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>