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

Error compiling ubuntu 17.10 #8

Open
mbatini opened this issue Jan 20, 2018 · 2 comments
Open

Error compiling ubuntu 17.10 #8

mbatini opened this issue Jan 20, 2018 · 2 comments

Comments

@mbatini
Copy link

mbatini commented Jan 20, 2018

Ubuntu 17.10, QT4 and QT5 installed
everything updated, deps installed, other altcoins wallet built with qt gui.

make fails with:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1135: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.

Changed configure.ac fPIE -> fPIC but does not work.

Any idea?
Thanks

@mbatini
Copy link
Author

mbatini commented Jan 21, 2018

Workaround was to edit configure.ac and change flags to fPIC.
Works

@mcdebugger
Copy link

I can confirm. Changing from fPIE to fPIC resolves the problem. Should it go upstream?

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

2 participants