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
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Mobile and Embedded
23 Posts 7 Posters 16.1k Views 1 Watching
  • 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.
  • 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
                                • K Offline
                                  K Offline
                                  KC7NOA
                                  wrote on last edited by
                                  #21

                                  This error is long going now .... should it be reported as a bug?

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

                                    There is hope !

                                    It looks like the linker misses some destructors, so I added them and the linker was happy ;-)

                                    Add the missed destructors declared as virtual to the public section of the appropriate header files and an empty implementation to the cpp files.

                                    @virtual ListWidgetEditor::~ListWidgetEditor();

                                    virtual TreeWidgetEditorDialog::~TreeWidgetEditorDialog();

                                    virtual TableWidgetEditorDialog::~TableWidgetEditorDialog();@

                                    I don't know whether it is a bug or an arm-specific "feature" or I missed something else...

                                    Compiler:
                                    gcc version 4.6.3 (Debian 4.6.3-14+rpi1)
                                    Kernel:
                                    Linux raspberrypi 3.6.11+ #387 PREEMPT Sun Mar 3 23:54:39 GMT 2013 armv6l GNU/Linux

                                    Hope this helps for ODROID-X too...

                                    1 Reply Last reply
                                    0
                                    • I Offline
                                      I Offline
                                      iw2lsi
                                      wrote on last edited by
                                      #23

                                      same problem here with latest qt5.3.0 on a allwinner a10... solved as suggested...

                                      thanks a lot!

                                          Giampaolo
                                      
                                      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