Unable to Compile Qt 5.6 on ubuntu 32 bit system along with Qt Webengine



  • Hi Every one,

    Iam new to Qt. I want to Compile Qt 5.6 in 32 bit on ubuntu system.

    But iam ending with an error when i make it.

    for Configuring Qt iam using following command, since i want to build other than developer mode.

    export QT5PREFIX=/opt/qt5.6.0

    ./configure -prefix $QT5PREFIX -opensource -confirm-license -no-compile-examples -nomake tests -nomake examples

    Then iam trying to Make

    But iam getting an error, seems like compiler error or some thing.


  • Qt Champions 2016

    Hi
    You must list the actual errors for anyone to help you. :)



  • @mrjj

    Thanks...

    Iam facing the following error, when i try to make it.

    [592/11795] CXX obj/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/compiler/java/protobuf_full_do_not_use.java_doc_com[625/11795] CC obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3con.o
    FAILED: /usr/bin/gcc -MMD -MF obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3con.o.d -DV8_DEPRECATION_WARNINGS -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DSAFE_BROWSING_SERVICE -DNO_PKCS11_BYPASS -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I/opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/bodge -I/usr/include/libdrm -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -I/usr/include/nss -I/usr/include/nspr -Wno-format -Wno-unused-result -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -msse2 -mfpmath=sse -mmmx -m32 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -c /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c -o obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3con.o
    /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c: In function ‘ssl3_ChaCha20Poly1305’:
    /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:2118:15: error: ‘CK_NSS_AEAD_PARAMS’ has no member named ‘pIv’
    aeadParams.pIv = (unsigned char *) additionalData;
    ^
    /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:2119:15: error: ‘CK_NSS_AEAD_PARAMS’ has no member named ‘ulIvLen’
    aeadParams.ulIvLen = 8;
    ^
    [625/11795] CC obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3ext.ocompiling ../../src/3rdparty/assimp/code/IFCProfile.cpp
    [625/11795] CXX obj/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/protobuf_full_do_not_use.extension_set.ocompiling ../shared/xliff.cpp
    compiling merge.cpp
    [625/11795] CXX obj/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/protobuf_full_do_not_use.descriptor.pb.olinking ../../../bin/lconvert
    compiling ../../src/3rdparty/assimp/code/IFCReaderGen1.cpp
    compiling ../shared/simtexth.cpp
    make[4]: Leaving directory /opt/qt-everywhere-opensource-src-5.6.0/qttools/src/linguist/lconvert' compiling cpp.cpp [625/11795] CXX obj/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/protobuf_full_do_not_use.descriptor.o ninja: build stopped: subcommand failed. make[4]: *** [invoke_ninja] Error 1 make[4]: Leaving directory/opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/core'
    make[3]: *** [sub-gyp_run-pro-make_first] Error 2
    make[3]: Leaving directory /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/core' make[2]: *** [sub-core-make_first] Error 2 make[2]: Leaving directory/opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src'
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine' make: *** [module-qtwebengine-make_first] Error 2 make: *** Waiting for unfinished jobs.... compiling java.cpp cd linguist/ && ( test -e Makefile || /opt/qt-everywhere-opensource-src-5.6.0/qtbase/bin/qmake /opt/qt-everywhere-opensource-src-5.6.0/qttools/src/linguist/linguist/linguist.pro -o Makefile ) && make -f Makefile make[4]: Entering directory/opt/qt-everywhere-opensource-src-5.6.0/qttools/src/linguist/linguist'
    uic statistics.ui
    uic phrasebookbox.u



  • @mrjj
    Please let me know how to build it.

    Actually i want to build in release mode, where i saw this error.

    I dont see any error when i built in developer mode. other than that which ever way iam trying to build it, iam getting the same error..

    Iam not understanding, why iam facing this error.

    i have installed all the packages required, then why this error is coming. let me know if any thing need to do or install to avoid this problem.


  • Lifetime Qt Champion

    Hi,

    Looks like it's a known bug



  • Thank you very much


Log in to reply
 

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