Building Qt 5.4 fails on webengine



  • Hello,

    I've been trying to build Qt5.4 on my Slackware 14.1 updated to current. At some point there are lots of warnings related to sqlite shown and finally returns error message:

    @
    /usr/lib64/gcc/x86_64-slackware-linux/4.8.3/../../../../x86_64-slackware-linux/bin/ld.gold: warning: hidden symbol 'sqlite3_mprintf' in /root/Install/qt-everywhere-opensource-src-5.4.0/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/third_party/sqlite/libsqlite3.a(/root/Install/qt-everywhere-opensource-src-5.4.0/qtwebengine/src/core/Release/obj/src/3rdparty/chromium/third_party/sqlite/amalgamation/sqlite.sqlite3.o) is referenced by DSO /usr/lib64/gcc/x86_64-slackware-linux/4.8.3/../../../../lib64/libsoftokn3.so
    /usr/lib64/gcc/x86_64-slackware-linux/4.8.3/../../../../x86_64-slackware-linux/bin/ld.gold: error: treating warnings as errors
    collect2: error: ld returned 1 exit status
    make[4]: *** [../../lib/libQt5WebEngineCore.so.5.4.0] Error 1
    make[4]: Leaving directory /root/Install/qt-everywhere-opensource-src-5.4.0/qtwebengine/src/core' make[3]: *** [sub-core_module-pro-make_first] Error 2 make[3]: Leaving directory/root/Install/qt-everywhere-opensource-src-5.4.0/qtwebengine/src/core'
    make[2]: *** [sub-core-make_first] Error 2
    make[2]: Leaving directory /root/Install/qt-everywhere-opensource-src-5.4.0/qtwebengine/src' make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory/root/Install/qt-everywhere-opensource-src-5.4.0/qtwebengine'
    make: *** [module-qtwebengine-make_first] Error 2@

    (all warnings -> http://pastebin.com/xAd9yrRp)

    I would be grateful for any help on that problem.


  • Moderators

    Pass --no-warnings-are-errors to configure and rebuild.



  • Hello, I encounter the same problem on Slackware 14.1 and qt-5.4.1: http://pastebin.com/MKMpzUTj
    I have tried your workaround: http://pastebin.com/QVFiNj2b
    But it does not help.
    Any other idea?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.