Litecoin 0.10.2.2 FTBFS in a different way with GCC-5:

~~~~
In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37:0, 
                 from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41, 
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40, 
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, 
                 from qt/test/uritests.h:8, 
                 from qt/test/test_main.cpp:10: 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1052: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. "\ 
    ^ 
In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37:0, 
                 from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41, 
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40, 
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, 
                 from qt/test/uritests.h:8, 
                 from qt/test/uritests.cpp:5: 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1052: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. "\ 
    ^ 
~~~~

Looks like "qtbase-opensource-src" needs to be re-built with "-fPIC"...

-- 
All the best,
 Dmitry Smirnov

---

No person, no idea, and no religion deserves to be illegal to insult,
not even the Church of Emacs.
        -- Richard Stallman

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to