Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QT5 compiling problems #177

Open
bluetyphoon77 opened this issue Jun 3, 2020 · 0 comments
Open

QT5 compiling problems #177

bluetyphoon77 opened this issue Jun 3, 2020 · 0 comments

Comments

@bluetyphoon77
Copy link

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!**
+++++++++++++++++++++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant