Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt5 git build failure on Ubuntu 12.10 ARM on ODROID-X
QtWS25 Last Chance

Qt5 git build failure on Ubuntu 12.10 ARM on ODROID-X

Scheduled Pinned Locked Moved Mobile and Embedded
23 Posts 7 Posters 15.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sboyce
    wrote on last edited by
    #1

    /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::Object::CheckedGetInternalField(int)' /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Qml.so: undefined reference to v8::Value::ToNumber() const'
    /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::Object::New()' /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Qml.so: undefined reference to v8::RegExp::New(v8::Handlev8::String, v8::RegExp::Flags)'
    /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Qml.so: undefined reference to v8::HandleScope::CreateHandle(v8::internal::HeapObject*)' /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::V8::DisposeGlobal(v8::internal::Object**)'
    /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Qml.so: undefined reference to v8::External::New(void*)' /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Qml.so: undefined reference to v8::Object::CallAsConstructor(int, v8::Handlev8::Value*)'
    /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::Value::NumberValue() const' /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Qml.so: undefined reference to v8::Exception::SyntaxError(v8::Handlev8::String)'
    /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::Function::NewInstance() const' collect2: ld returned 1 exit status make[3]: *** [../../bin/qmlscene] Error 1 make[3]: Leaving directory /3/ODROID-X/QT5/qtdeclarative/tools/qmlscene'
    make[2]: *** [sub-qmlscene-make_first] Error 2
    make[2]: Leaving directory /3/ODROID-X/QT5/qtdeclarative/tools' make[1]: *** [sub-tools-make_first] Error 2 make[1]: Leaving directory /3/ODROID-X/QT5/qtdeclarative'
    make: *** [module-qtdeclarative-make_first] Error 2
    root@ODROID-X_G3VBV:/3/ODROID-X/QT5

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      You need to run configure. That will build a working qmake and will then use that to set up the project.

      A Qt4 qmake will most likely not work: There were quite a few changes to qmake in Qt5 to make it handle the modularization and other things. But then I never tried it;-)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sboyce
        wrote on last edited by
        #3

        The instructions I followed says Qt4 is OK. It should be as it's a logical place to start and I have built Qt5 Alpha some time back on openSUSE x86_64 with Qt4.
        One recommended download that keeps timing out.
        root@ODROID-X_G3VBV:/3/ODROID-X/qt5# ./qtrepotools/bin/qt5_tool -p
        Subroutine main::getcwd redefined at ./qtrepotools/bin/qt5_tool line 29
        Pulling Qt 5 in /3/ODROID-X/qt5

        [qt5] /usr/bin/git pull

        Already up-to-date.
        Examining: qtactiveqt url: git://gitorious.org/qt/qtactiveqt.git ### [qtactiveqt] /usr/bin/git fetch --all
        Fetching origin
        Fetching gerrit
        ssh: connect to host codereview.qt-project.org port 22: Connection timed out
        fatal: The remote end hung up unexpectedly
        error: Could not fetch gerrit
        fetch of qtactiveqt failed at ./qtrepotools/bin/qt5_tool line 518.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sboyce
          wrote on last edited by
          #4

          I did do ./configure as stated above.
          I have done a git pull and starting over.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sboyce
            wrote on last edited by
            #5

            g++ -c -include .pch/debug-shared/Qt5Gui -pipe -g -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fno-exceptions -fPIC -DQT_NO_LIBUDEV -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_BUNDLED_LIBPNG -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.0.0 -I../../include/QtGui/5.0.0/QtGui -Iimage -I../3rdparty/libpng -I../3rdparty/harfbuzz/src -I/usr/include/libdrm -I../../include/QtCore -I../../include/QtCore/5.0.0 -I../../include/QtCore/5.0.0/QtCore -I.moc/debug-shared -o .obj/debug-shared/qguivariantanimation.o animation/qguivariantanimation.cpp
            /3/ODROID-X/qt5/qtbase/bin/moc -DQT_NO_LIBUDEV -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_BUNDLED_LIBPNG -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.0.0 -I../../include/QtGui/5.0.0/QtGui -Iimage -I../3rdparty/libpng -I../3rdparty/harfbuzz/src -I/usr/include/libdrm -I../../include/QtCore -I../../include/QtCore/5.0.0 -I../../include/QtCore/5.0.0/QtCore -I.moc/debug-shared itemmodels/qstandarditemmodel.h -o .moc/debug-shared/moc_qstandarditemmodel.cpp
            gcc -c -include .pch/debug-shared/Qt5Gui -pipe -g -fvisibility=hidden -Wall -W -D_REENTRANT -fno-exceptions -fPIC -DQT_NO_LIBUDEV -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_BUNDLED_LIBPNG -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.0.0 -I../../include/QtGui/5.0.0/QtGui -Iimage -I../3rdparty/libpng -I../3rdparty/harfbuzz/src -I/usr/include/libdrm -I../../include/QtCore -I../../include/QtCore/5.0.0 -I../../include/QtCore/5.0.0/QtCore -I.moc/debug-shared -o .obj/debug-shared/pixman-arm-neon-asm.o ../3rdparty/pixman/pixman-arm-neon-asm.S
            cc1: fatal error: .pch/debug-shared/Qt5Gui: No such file or directory
            compilation terminated.
            make[3]: *** [.obj/debug-shared/pixman-arm-neon-asm.o] Error 1
            make[3]: *** Waiting for unfinished jobs....
            make[3]: Leaving directory /3/ODROID-X/qt5/qtbase/src/gui' make[2]: *** [sub-gui-make_first] Error 2 make[2]: Leaving directory /3/ODROID-X/qt5/qtbase/src'
            make[1]: *** [sub-src-make_first] Error 2
            make[1]: Leaving directory `/3/ODROID-X/qt5/qtbase'
            make: *** [module-qtbase-make_first] Error 2
            root@ODROID-X_G3VBV:/3/ODROID-X/qt5#

            1 Reply Last reply
            0
            • W Offline
              W Offline
              www.rzr.online.fr
              wrote on last edited by
              #6

              you can workaround this with :

              touch .pch/debug-shared/Qt5Gui

              It happened to me w/ qt5 rc1 on rpi ...

              --
              http://rzr.online.fr/q/qt# random notes : rpi, meego, etc

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sboyce
                wrote on last edited by
                #7

                Thanks, I'll give that a try.

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  guillaumesmo
                  wrote on last edited by
                  #8

                  Same story for me ... it's because it's a .S file so the rules are not the same, I guess. I compiled the file manually to avoid reconfiguring again :

                  cd /3/ODROID-X/qt5/qtbase/src/gui
                  gcc -c -pipe -g -fvisibility=hidden -Wall -W -D_REENTRANT -fno-exceptions -fPIC -DQT_NO_LIBUDEV -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0×050000 -DQT_USE_BUNDLED_LIBPNG -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.0.0 -I../../include/QtGui/5.0.0/QtGui -Iimage -I../3rdparty/libpng -I../3rdparty/harfbuzz/src -I/usr/include/libdrm -I../../include/QtCore -I../../include/QtCore/5.0.0 -I../../include/QtCore/5.0.0/QtCore -I.moc/debug-shared -o .obj/debug-shared/qdrawhelper_neon_asm.o painting/qdrawhelper_neon_asm.S

                  and then just return to parent directory and run make again. There will be a second .S file so just copy the failed compile line and remove -include .pch/debug-shared/Qt5Gui.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    sboyce
                    wrote on last edited by
                    #9

                    Did that and it gui built. Going back to the qt5 directory and typing make.
                    make[3]: Entering directory /3/ODROID-X/qt5/qtbase/src/gui' gcc -c -include .pch/debug-shared/Qt5Gui -pipe -g -fvisibility=hidden -Wall -W -D_REENTRANT -fno-exceptions -fPIC -DQT_NO_LIBUDEV -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_BUNDLED_LIBPNG -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.0.0 -I../../include/QtGui/5.0.0/QtGui -Iimage -I../3rdparty/libpng -I../3rdparty/harfbuzz/src -I/usr/include/libdrm -I../../include/QtCore -I../../include/QtCore/5.0.0 -I../../include/QtCore/5.0.0/QtCore -o .obj/debug-shared/qdrawhelper_neon_asm.o painting/qdrawhelper_neon_asm.S cc1: fatal error: .pch/debug-shared/Qt5Gui: No such file or directory compilation terminated. make[3]: *** [.obj/debug-shared/qdrawhelper_neon_asm.o] Error 1 make[3]: Leaving directory /3/ODROID-X/qt5/qtbase/src/gui'
                    make[2]: *** [sub-gui-make_first] Error 2
                    make[2]: Leaving directory /3/ODROID-X/qt5/qtbase/src' make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory /3/ODROID-X/qt5/qtbase'
                    make: *** [module-qtbase-make_first] Error 2
                    root@ODROID-X_G3VBV:/3/ODROID-X/qt5#

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      guillaumesmo
                      wrote on last edited by
                      #10

                      that's weird, why would it recompile if the file is already compiled ...

                      otherwise you can just configure with -no-pch and that kind of errors won't show up

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        sboyce
                        wrote on last edited by
                        #11

                        The "-no-pch" worked then I get lots of undefined errors building qtdeclarative.

                        <srcbase> = /3/ODROID-X/QT5/qtdeclarative
                        <outbase> = /3/ODROID-X/QT5/qtdeclarative
                        make[3]: Leaving directory /3/ODROID-X/QT5/qtdeclarative/src/qmldevtools' make[3]: Entering directory /3/ODROID-X/QT5/qtdeclarative/src/qmldevtools'
                        make[3]: Nothing to be done for first'. make[3]: Leaving directory /3/ODROID-X/QT5/qtdeclarative/src/qmldevtools'
                        make[2]: Leaving directory /3/ODROID-X/QT5/qtdeclarative/src' cd tools/ && ( test -f Makefile || /3/ODROID-X/QT5/qtbase/bin/qmake /3/ODROID-X/QT5/qtdeclarative/tools/tools.pro -o Makefile ) && make -f Makefile make[2]: Entering directory /3/ODROID-X/QT5/qtdeclarative/tools'
                        /3/ODROID-X/QT5/qtbase/bin/qmake -o Makefile tools.pro
                        /3/ODROID-X/QT5/qtbase/mkspecs/modules/qt_lib_clucene.pri:9: WARNING: Include file /3/ODROID-X/qt5/qtbase/mkspecs/modules-inst/qt_lib_clucene.pri not found

                        /3/ODROID-X/QT5/qtbase/mkspecs/modules/qt_lib_svg.pri:9: WARNING: Include file /3/ODROID-X/qt5/qtbase/mkspecs/modules-inst/qt_lib_svg.pri not found
                        /3/ODROID-X/QT5/qtbase/mkspecs/modules/qt_lib_uitools.pri:9: WARNING: Include file /3/ODROID-X/qt5/qtbase/mkspecs/modules-inst/qt_lib_uitools.pri not found
                        /3/ODROID-X/QT5/qtbase/mkspecs/modules/qt_lib_v8.pri:9: WARNING: Include file /3/ODROID-X/qt5/qtbase/mkspecs/modules-inst/qt_lib_v8.pri not found
                        /3/ODROID-X/QT5/qtbase/mkspecs/modules/qt_lib_xmlpatterns.pri:9: WARNING: Include file /3/ODROID-X/qt5/qtbase/mkspecs/modules-inst/qt_lib_xmlpatterns.pri not found
                        <SNIP>
                        /usr/bin/ld: warning: libQt5V8.so.5, needed by /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so, not found (try using -rpath or -rpath-link)
                        /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::FunctionTemplate::GetFunction()' /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::External::Wrap(void*)'
                        /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Qml.so: undefined reference to v8::Isolate::Enter()' /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::String::Value::Value(v8::Handlev8::Value)'
                        /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::Value::IsArray() const' /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::Value::IsFunction() const'
                        /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Quick.so: undefined reference to v8::Value::IsInt32() const' /3/ODROID-X/QT5/qtdeclarative/lib/libQt5Qml.so: undefined reference to v8::String::GetCharacter(int)'

                        <SNIP>

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          sboyce
                          wrote on last edited by
                          #12

                          No pch errors since the config option "-no-pch".
                          ./configure -developer-build -opensource -nomake examples -nomake tests -no-pch

                          dpkg -l|grep -i v8

                          ii qtjsbackend 5.0-release~beta+20121012-1ubuntu3 Qt V8 Javascript backend used by Qt Declarative.

                          I get the same failures building with qt4.

                          1 Reply Last reply
                          0
                          • W Offline
                            W Offline
                            www.rzr.online.fr
                            wrote on last edited by
                            #13

                            I tested again with :

                            http://releases.qt-project.org/qt5/5.0.0/single/qt-everywhere-opensource-src-5.0.0.tar.gz

                            touch  qtbase/src/gui/.pch/release-shared/Qt5Gui 
                            

                            did the trick ...

                            --
                            http://rzr.online.fr/q/qt# random notes : rpi, meego, etc

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              sboyce
                              wrote on last edited by
                              #14

                              root@ODROID-X_G3VBV:/3/ODROID-X/QT5/qtdeclarative# make
                              g++ -Wl,-O1 -o qtdeclarative -L/usr/lib/arm-linux-gnueabihf -lQtGui -lQtCore -lpthread
                              /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o: In function _start': (.text+0x30): undefined reference to main'
                              collect2: ld returned 1 exit status
                              make: *** [qtdeclarative] Error 1

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                sboyce
                                wrote on last edited by
                                #15

                                bj/debug-shared/moc_tabordereditor_plugin.o .obj/debug-shared/moc_tabordereditor_tool.o -L/3/ODROID-X/EVERYWHERE/qt-everywhere-opensource-src-5.0.0/qtbase/lib -lQt5Designer -lQt5Widgets -lQt5Xml -lQt5Gui -lQt5Core -lpthread -lQt5Xml -L/3/ODROID-X/EVERYWHERE/qt-everywhere-opensource-src-5.0.0/qtbase/lib -lQt5Core -lpthread -lGL
                                .LTHUNK0' referenced in section .text._ZN18qdesigner_internal16ListWidgetEditorD1Ev[qdesigner_internal::ListWidgetEditor::~ListWidgetEditor()]' of .obj/debug-shared/moc_listwidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal16ListWidgetEditorD2Ev[_ZN18qdesigner_internal16ListWidgetEditorD5Ev]' of .obj/debug-shared/moc_listwidgeteditor.o .LTHUNK2' referenced in section .text._ZN18qdesigner_internal22TreeWidgetEditorDialogD1Ev[qdesigner_internal::TreeWidgetEditorDialog::~TreeWidgetEditorDialog()]' of .obj/debug-shared/moc_treewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal22TreeWidgetEditorDialogD2Ev[_ZN18qdesigner_internal22TreeWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_treewidgeteditor.o
                                .LTHUNK2' referenced in section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD1Ev[qdesigner_internal::TableWidgetEditorDialog::~TableWidgetEditorDialog()]' of .obj/debug-shared/moc_tablewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD2Ev[_ZN18qdesigner_internal23TableWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_tablewidgeteditor.o collect2: ld returned 1 exit status make[6]: *** [/3/ODROID-X/EVERYWHERE/qt-everywhere-opensource-src-5.0.0/qtbase/lib/libQt5DesignerComponents.so.5.0.0] Error 1 make[6]: Leaving directory /3/ODROID-X/EVERYWHERE/qt-everywhere-opensource-src-5.0.0/qttools/src/designer/src/components/lib'
                                make[5]: *** [sub-lib-make_first-ordered] Error 2
                                make[5]: Leaving directory /3/ODROID-X/EVERYWHERE/qt-everywhere-opensource-src-5.0.0/qttools/src/designer/src/components' make[4]: *** [sub-components-make_first-ordered] Error 2 make[4]: Leaving directory /3/ODROID-X/EVERYWHERE/qt-everywhere-opensource-src-5.0.0/qttools/src/designer/src'
                                make[3]: *** [sub-src-make_first] Error 2
                                make[3]: Leaving directory /3/ODROID-X/EVERYWHERE/qt-everywhere-opensource-src-5.0.0/qttools/src/designer' make[2]: *** [sub-designer-make_first-ordered] Error 2 make[2]: Leaving directory /3/ODROID-X/EVERYWHERE/qt-everywhere-opensource-src-5.0.0/qttools/src'
                                make[1]: *** [sub-src-make_first] Error 2
                                make[1]: Leaving directory `/3/ODROID-X/EVERYWHERE/qt-everywhere-opensource-src-5.0.0/qttools'
                                make: *** [module-qttools-make_first] Error 2
                                root@ODROID-X_G3VBV:/3/ODROID-X/EVERYWHERE/qt-everywhere-opensource-src-5.0.0#

                                1 Reply Last reply
                                0
                                • K Offline
                                  K Offline
                                  KC7NOA
                                  wrote on last edited by
                                  #16

                                  KC7NOA@linaro-ubuntu-desktop:~/qt5$ ./configure -developer-build -opensource -nomake examples -nomake tests -no-pch -qt-xcb

                                  make -j3

                                               from /home/KC7NOA/qt5/qtbase/include/QtWidgets/qwidget.h:1,
                                               from /home/KC7NOA/qt5/qtbase/include/QtWidgets/QWidget:1,
                                               from ../../../../shared/qtpropertybrowser/qtpropertybrowser.h:45,
                                               from ../../../../shared/qtpropertybrowser/qtpropertymanager.h:45,
                                               from ../../../../shared/qtpropertybrowser/qteditorfactory.h:45,
                                               from ../../../../shared/qtpropertybrowser/qteditorfactory.cpp:42:
                                  

                                  /home/KC7NOA/qt5/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:300:17: note: the mangling of ���va_list��� has changed in GCC 4.4
                                  rm -f libQt5DesignerComponents.so.5.0.0 libQt5DesignerComponents.so libQt5DesignerComponents.so.5 libQt5DesignerComponents.so.5.0
                                  g++ -Wl,--no-undefined -Wl,-rpath,/home/KC7NOA/qt5/qtbase/lib -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5DesignerComponents.so.5 -o libQt5DesignerComponents.so.5.0.0 .obj/debug-shared/qdesigner_components.o .obj/debug-shared/qtpropertybrowser.o .obj/debug-shared/qtpropertymanager.o .obj/debug-shared/qteditorfactory.o .obj/debug-shared/qtvariantproperty.o .obj/debug-shared/qttreepropertybrowser.o .obj/debug-shared/qtbuttonpropertybrowser.o .obj/debug-shared/qtgroupboxpropertybrowser.o .obj/debug-shared/qtpropertybrowserutils.o .obj/debug-shared/qtcolorbutton.o .obj/debug-shared/propertyeditor.o .obj/debug-shared/designerpropertymanager.o .obj/debug-shared/paletteeditor.o .obj/debug-shared/paletteeditorbutton.o .obj/debug-shared/stringlisteditor.o .obj/debug-shared/stringlisteditorbutton.o .obj/debug-shared/previewwidget.o .obj/debug-sh
                                  <SNIP>
                                  bj/debug-shared/moc_tabordereditor.o .obj/debug-shared/moc_tabordereditor_plugin.o .obj/debug-shared/moc_tabordereditor_tool.o -L/home/KC7NOA/qt5/qtbase/lib -lQt5Designer -lQt5Widgets -lQt5Xml -lQt5Gui -lQt5Core -lpthread -lQt5Xml -L/home/KC7NOA/qt5/qtbase/lib -lQt5Core -lpthread -lGL
                                  .LTHUNK0' referenced in section .text._ZN18qdesigner_internal16ListWidgetEditorD1Ev[qdesigner_internal::ListWidgetEditor::~ListWidgetEditor()]' of .obj/debug-shared/moc_listwidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal16ListWidgetEditorD2Ev[_ZN18qdesigner_internal16ListWidgetEditorD5Ev]' of .obj/debug-shared/moc_listwidgeteditor.o .LTHUNK2' referenced in section .text._ZN18qdesigner_internal22TreeWidgetEditorDialogD1Ev[qdesigner_internal::TreeWidgetEditorDialog::~TreeWidgetEditorDialog()]' of .obj/debug-shared/moc_treewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal22TreeWidgetEditorDialogD2Ev[_ZN18qdesigner_internal22TreeWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_treewidgeteditor.o
                                  .LTHUNK2' referenced in section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD1Ev[qdesigner_internal::TableWidgetEditorDialog::~TableWidgetEditorDialog()]' of .obj/debug-shared/moc_tablewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD2Ev[_ZN18qdesigner_internal23TableWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_tablewidgeteditor.o collect2: ld returned 1 exit status make[6]: *** [/home/KC7NOA/qt5/qtbase/lib/libQt5DesignerComponents.so.5.0.0] Error 1 make[6]: Leaving directory /home/KC7NOA/qt5/qttools/src/designer/src/components/lib'
                                  make[5]: *** [sub-lib-make_first-ordered] Error 2
                                  make[5]: Leaving directory /home/KC7NOA/qt5/qttools/src/designer/src/components' make[4]: *** [sub-components-make_first-ordered] Error 2 make[4]: Leaving directory /home/KC7NOA/qt5/qttools/src/designer/src'
                                  make[3]: *** [sub-src-make_first] Error 2
                                  make[3]: Leaving directory /home/KC7NOA/qt5/qttools/src/designer' make[2]: *** [sub-designer-make_first-ordered] Error 2 make[2]: Leaving directory /home/KC7NOA/qt5/qttools/src'
                                  make[1]: *** [sub-src-make_first] Error 2
                                  make[1]: Leaving directory `/home/KC7NOA/qt5/qttools'
                                  make: *** [module-qttools-make_first] Error 2
                                  KC7NOA@linaro-ubuntu-desktop:~/qt5$

                                  1 Reply Last reply
                                  0
                                  • K Offline
                                    K Offline
                                    KC7NOA
                                    wrote on last edited by
                                    #17

                                    WEll sid .. i tried a fresh image of ODroidX2 Ubuntu 12.04 (3.0.?Kernal)

                                    Followed the ghpsdr3-alex/odroidX page ...error

                                    elper.o .obj/debug-shared/moc_menutaskmenu.o .obj/debug-shared/moc_layouttaskmenu.o .obj/debug-shared/moc_tabordereditor.o .obj/debug-shared/moc_tabordereditor_plugin.o .obj/debug-shared/moc_tabordereditor_tool.o -L/home/linaro/qt5/qtbase/lib -lQt5Designer -lQt5Widgets -lQt5Xml -lQt5Gui -lQt5Core -lpthread -lQt5Xml -L/home/linaro/qt5/qtbase/lib -lQt5Core -lpthread -lGL
                                    .LTHUNK0' referenced in section .text._ZN18qdesigner_internal16ListWidgetEditorD1Ev[qdesigner_internal::ListWidgetEditor::~ListWidgetEditor()]' of .obj/debug-shared/moc_listwidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal16ListWidgetEditorD2Ev[_ZN18qdesigner_internal16ListWidgetEditorD5Ev]' of .obj/debug-shared/moc_listwidgeteditor.o .LTHUNK2' referenced in section .text._ZN18qdesigner_internal22TreeWidgetEditorDialogD1Ev[qdesigner_internal::TreeWidgetEditorDialog::~TreeWidgetEditorDialog()]' of .obj/debug-shared/moc_treewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal22TreeWidgetEditorDialogD2Ev[_ZN18qdesigner_internal22TreeWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_treewidgeteditor.o
                                    .LTHUNK2' referenced in section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD1Ev[qdesigner_internal::TableWidgetEditorDialog::~TableWidgetEditorDialog()]' of .obj/debug-shared/moc_tablewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD2Ev[_ZN18qdesigner_internal23TableWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_tablewidgeteditor.o collect2: ld returned 1 exit status make[6]: *** [/home/linaro/qt5/qtbase/lib/libQt5DesignerComponents.so.5.0.0] Error 1 make[6]: Leaving directory /home/linaro/qt5/qttools/src/designer/src/components/lib'
                                    make[5]: *** [sub-lib-make_first-ordered] Error 2
                                    make[5]: Leaving directory /home/linaro/qt5/qttools/src/designer/src/components' make[4]: *** [sub-components-make_first-ordered] Error 2 make[4]: Leaving directory /home/linaro/qt5/qttools/src/designer/src'
                                    make[3]: *** [sub-src-make_first] Error 2
                                    make[3]: Leaving directory /home/linaro/qt5/qttools/src/designer' make[2]: *** [sub-designer-make_first-ordered] Error 2 make[2]: Leaving directory /home/linaro/qt5/qttools/src'
                                    make[1]: *** [sub-src-make_first] Error 2
                                    make[1]: Leaving directory `/home/linaro/qt5/qttools'
                                    make: *** [module-qttools-make_first] Error 2
                                    linaro@linaro-ubuntu-desktop:~/qt5$

                                    Hope some one helps ...

                                    1 Reply Last reply
                                    0
                                    • K Offline
                                      K Offline
                                      KC7NOA
                                      wrote on last edited by
                                      #18

                                      box.o .obj/debug-shared/moc_buddyeditor.o .obj/debug-shared/moc_buddyeditor_plugin.o .obj/debug-shared/moc_buddyeditor_tool.o .obj/debug-shared/moc_button_taskmenu.o .obj/debug-shared/moc_groupbox_taskmenu.o .obj/debug-shared/moc_label_taskmenu.o .obj/debug-shared/moc_lineedit_taskmenu.o .obj/debug-shared/moc_listwidget_taskmenu.o .obj/debug-shared/moc_treewidget_taskmenu.o .obj/debug-shared/moc_tablewidget_taskmenu.o .obj/debug-shared/moc_combobox_taskmenu.o .obj/debug-shared/moc_textedit_taskmenu.o .obj/debug-shared/moc_toolbar_taskmenu.o .obj/debug-shared/moc_containerwidget_taskmenu.o .obj/debug-shared/moc_inplace_editor.o .obj/debug-shared/moc_taskmenu_component.o .obj/debug-shared/moc_itemlisteditor.o .obj/debug-shared/moc_listwidgeteditor.o .obj/debug-shared/moc_treewidgeteditor.o .obj/debug-shared/moc_tablewidgeteditor.o .obj/debug-shared/moc_inplace_widget_helper.o .obj/debug-shared/moc_menutaskmenu.o .obj/debug-shared/moc_layouttaskmenu.o .obj/debug-shared/moc_tabordereditor.o .obj/debug-shared/moc_tabordereditor_plugin.o .obj/debug-shared/moc_tabordereditor_tool.o -L/home/linaro/qt5/qtbase/lib -lQt5Designer -lQt5Widgets -lQt5Xml -lQt5Gui -lQt5Core -lpthread -lQt5Xml -L/home/linaro/qt5/qtbase/lib -lQt5Core -lpthread -lGL
                                      .LTHUNK0' referenced in section .text._ZN18qdesigner_internal16ListWidgetEditorD1Ev[qdesigner_internal::ListWidgetEditor::~ListWidgetEditor()]' of .obj/debug-shared/moc_listwidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal16ListWidgetEditorD2Ev[_ZN18qdesigner_internal16ListWidgetEditorD5Ev]' of .obj/debug-shared/moc_listwidgeteditor.o .LTHUNK2' referenced in section .text._ZN18qdesigner_internal22TreeWidgetEditorDialogD1Ev[qdesigner_internal::TreeWidgetEditorDialog::~TreeWidgetEditorDialog()]' of .obj/debug-shared/moc_treewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal22TreeWidgetEditorDialogD2Ev[_ZN18qdesigner_internal22TreeWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_treewidgeteditor.o
                                      .LTHUNK2' referenced in section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD1Ev[qdesigner_internal::TableWidgetEditorDialog::~TableWidgetEditorDialog()]' of .obj/debug-shared/moc_tablewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD2Ev[_ZN18qdesigner_internal23TableWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_tablewidgeteditor.o collect2: ld returned 1 exit status make[6]: *** [/home/linaro/qt5/qtbase/lib/libQt5DesignerComponents.so.5.0.0] Error 1 make[6]: Leaving directory /home/linaro/qt5/qttools/src/designer/src/components/lib'
                                      make[5]: *** [sub-lib-make_first-ordered] Error 2
                                      make[5]: Leaving directory /home/linaro/qt5/qttools/src/designer/src/components' make[4]: *** [sub-components-make_first-ordered] Error 2 make[4]: Leaving directory /home/linaro/qt5/qttools/src/designer/src'
                                      make[3]: *** [sub-src-make_first] Error 2
                                      make[3]: Leaving directory /home/linaro/qt5/qttools/src/designer' make[2]: *** [sub-designer-make_first-ordered] Error 2 make[2]: Leaving directory /home/linaro/qt5/qttools/src'
                                      make[1]: *** [sub-src-make_first] Error 2
                                      make[1]: Leaving directory `/home/linaro/qt5/qttools'
                                      make: *** [module-qttools-make_first] Error 2
                                      linaro@linaro-ubuntu-desktop:~/qt5$

                                      with ubuntu 12.11 linaro ....

                                      1 Reply Last reply
                                      0
                                      • H Offline
                                        H Offline
                                        hgy59
                                        wrote on last edited by
                                        #19

                                        same linker error building qttools on rpi using Qt 5.0.2 from git:

                                        @.LTHUNK11' referenced in section .text._ZN18qdesigner_internal16ListWidgetEditorD1Ev[qdesigner_internal::ListWidgetEditor::~ListWidgetEditor()]' of .obj/debug-shared/moc_listwidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal16ListWidgetEditorD2Ev[_ZN18qdesigner_internal16ListWidgetEditorD5Ev]' of .obj/debug-shared/moc_listwidgeteditor.o .LTHUNK13' referenced in section .text._ZN18qdesigner_internal22TreeWidgetEditorDialogD1Ev[qdesigner_internal::TreeWidgetEditorDialog::~TreeWidgetEditorDialog()]' of .obj/debug-shared/moc_treewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal22TreeWidgetEditorDialogD2Ev[_ZN18qdesigner_internal22TreeWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_treewidgeteditor.o
                                        .LTHUNK13' referenced in section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD1Ev[qdesigner_internal::TableWidgetEditorDialog::~TableWidgetEditorDialog()]' of .obj/debug-shared/moc_tablewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD2Ev[_ZN18qdesigner_internal23TableWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_tablewidgeteditor.o collect2: ld returned 1 exit status make[5]: *** [../../../../../lib/libQt5DesignerComponents.so.5.0.2] Error 1 make[5]: Leaving directory /home/pi/qt/qt5/qttools/src/designer/src/components/lib'
                                        make[4]: *** [sub-lib-make_first-ordered] Error 2
                                        make[4]: Leaving directory /home/pi/qt/qt5/qttools/src/designer/src/components' make[3]: *** [sub-components-make_first-ordered] Error 2 make[3]: Leaving directory /home/pi/qt/qt5/qttools/src/designer/src'
                                        make[2]: *** [sub-src-make_first] Error 2
                                        make[2]: Leaving directory /home/pi/qt/qt5/qttools/src/designer' make[1]: *** [sub-designer-make_first-ordered] Error 2 make[1]: Leaving directory /home/pi/qt/qt5/qttools/src'
                                        make: *** [sub-src-make_first] Error 2
                                        pi@raspberrypi ~/qt/qt5/qttools $@

                                        any hint?

                                        1 Reply Last reply
                                        0
                                        • K Offline
                                          K Offline
                                          KC7NOA
                                          wrote on last edited by
                                          #20

                                          I tried today with Qt5.0.2 .....

                                          .LTHUNK2' referenced in section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD1Ev[qdesigner_internal::TableWidgetEditorDialog::~TableWidgetEditorDialog()]' of .obj/debug-shared/moc_tablewidgeteditor.o: defined in discarded section .text._ZN18qdesigner_internal23TableWidgetEditorDialogD2Ev[_ZN18qdesigner_internal23TableWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_tablewidgeteditor.o collect2: ld returned 1 exit status make[6]: *** [/home/linaro/qt5/qtbase/lib/libQt5DesignerComponents.so.5.0.2] Error 1 make[6]: Leaving directory /home/linaro/qt5/qttools/src/designer/src/components/lib'
                                          make[5]: *** [sub-lib-make_first-ordered] Error 2
                                          make[5]: Leaving directory /home/linaro/qt5/qttools/src/designer/src/components' make[4]: *** [sub-components-make_first-ordered] Error 2 make[4]: Leaving directory /home/linaro/qt5/qttools/src/designer/src'
                                          make[3]: *** [sub-src-make_first] Error 2
                                          make[3]: Leaving directory /home/linaro/qt5/qttools/src/designer' make[2]: *** [sub-designer-make_first-ordered] Error 2 make[2]: Leaving directory /home/linaro/qt5/qttools/src'
                                          make[1]: *** [sub-src-make_first] Error 2
                                          make[1]: Leaving directory `/home/linaro/qt5/qttools'
                                          make: *** [module-qttools-make_first] Error 2
                                          linaro@linaro-ubuntu-desktop:~/qt5$

                                          i have no idea what caused the error ... iv not seen it before

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved