While compiling the first wallet for a MN (https://github.com/axanthics/XCZ-Masternode)
I get those errors (I don't have them for other complitations)
Do you know why ?
Many errors...
++++
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qwindowdefs.h:37:0,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QLabel:1,
from qt/bitcoingui.h:14,
from qt/darknet.cpp:11:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1067: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. "\
^
make[2]: [qt/qt_darknet_qt-darknet.o] Error 1
Makefile:5975: recipe for target 'qt/qt_darknet_qt-darknet.o' failed
make[2]: Leaving directory '/root/Advanced-Install/code/xcz/src'
make[1]: [install-recursive] Error 1
Makefile:6727: recipe for target 'install-recursive' failed
make[1]: Leaving directory '/root/Advanced-Install/code/xcz/src'
make: * [install-recursive] Error 1
Makefile:569: recipe for target 'install-recursive' failed
0:22:57
COMPILATION FAILED! Please open an issue at https://github.com/masternodes/vps/issues. Thank you!
+++++++++++++++++++++
While compiling the first wallet for a MN (https://github.com/axanthics/XCZ-Masternode) I get those errors (I don't have them for other complitations) Do you know why ? Many errors...
++++ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qwindowdefs.h:37:0, from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:37, from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:37, from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:37, from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QLabel:1, from qt/bitcoingui.h:14, from qt/darknet.cpp:11: /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1067: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. "\
make[2]: [qt/qt_darknet_qt-darknet.o] Error 1 Makefile:5975: recipe for target 'qt/qt_darknet_qt-darknet.o' failed make[2]: Leaving directory '/root/Advanced-Install/code/xcz/src' make[1]: [install-recursive] Error 1 Makefile:6727: recipe for target 'install-recursive' failed make[1]: Leaving directory '/root/Advanced-Install/code/xcz/src' make: * [install-recursive] Error 1 Makefile:569: recipe for target 'install-recursive' failed 0:22:57 COMPILATION FAILED! Please open an issue at https://github.com/masternodes/vps/issues. Thank you! +++++++++++++++++++++