Failed to compile Qt Library 4.8.5 on Ubuntu 12.10
-
Hi everyone.
I try to compile Qt library 4.8.5 on Ubuntu 12.10. I'm using g++ version@g++ (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2@
And I get this error at "make" step (./configure works well):
@g++: error: unrecognized command line option ‘-fuse-ld=gold’@
Could you give me some ideas?
Thank you! -
is gcc 4.7.2 support -fuse-ld=gold? is your binutils support -fuse-ld=gold?
@
man gcc | grep fuse-ld=gold
@
Also you can see:
http://packages.ubuntu.com/lucid/binutils-gold
http://gcc.gnu.org/ml/gcc-patches/2012-11/msg02393.html
http://code.google.com/p/phantomjs/issues/detail?id=635
https://bugreports.qt-project.org/browse/QTBUG-28598 -
Hi unixmania
I have read your links as you suggested. I will try to remove@QMAKE_LFLAGS+=-fuse-ld=gold@
and re-build it.
It is building, maybe take a time. I will feedback the result when it done or any problems caused. Hope it works.
Thank you -
Thank you all, I have install Qt library successfully based on above instruction. Please mark this thread solved :)