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. [SOLVED] error while making qt 4.8.4 for arm
QtWS25 Last Chance

[SOLVED] error while making qt 4.8.4 for arm

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 8.4k 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.
  • G Offline
    G Offline
    gandiii
    wrote on last edited by
    #1

    Hi,

    i am trying to make the qt-everywhere-opensource-src-4.8.4 for my raspberry_pi and for a other arm processor.
    this is my configuration:
    @./configure -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -nomake tools -nomake examples -nomake demos -prefix /home/raspberry_pi/qt_embedded -debug -little-endian -no-qt3support -qt-sql-sqlite -host-little-endian -webkit -nomake tests -opensource@

    after i run make -j i got this error message:
    @cc1: fatal error: .pch/debug-shared-emb-arm/QtGui: No such file or directory
    compilation terminated.
    cc1: fatal error: .pch/debug-shared-emb-arm/QtGui: No such file or directory
    compilation terminated.
    make[1]: *** [.obj/debug-shared-emb-arm/pixman-arm-neon-asm.o] Fehler 1
    make[1]: *** Warte auf noch nicht beendete Prozesse...
    make[1]: *** [.obj/debug-shared-emb-arm/qdrawhelper_neon_asm.o] Fehler 1
    text/qfontdatabase.cpp:1070:20: warning: 'QStringList familyList(const QFontDef&)' defined but not used [-Wunused-function]
    make[1]: Leaving directory `/home/raspberry_pi/qt-everywhere-opensource-src-4.8.4/src/gui'
    make: *** [sub-gui-make_default-ordered] Fehler 2@

    i looked up in the forum, but i dont found a working solution for this problem.

    computer configuration:
    -Debian
    -self built gcc 4.8 (for the Qt Creator 5.0.2)
    -self built crosscompiler (with crosstool-ng)
    -Qt installed with synaptic

    I hope somebody can help me.
    Big thx.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      twicave
      wrote on last edited by
      #2

      It looks like a lib-directory setting problem.
      the compiler couldn't found the QtGui lib.

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

        I had more or less the same happening yesterday, when I tried to compile Qt 4.8.4 for TI AM335.

        The used configuration was:

        @./configure -embedded arm -prefix /usr/local/QtEmbedded-arm -platform linux-g++ -little-endian -xplatform qws/linux-arm-g++ -qt-gfx-linuxfb -qt-gfx-vnc -qt-gfx-multiscreen -qt-mouse-pc -release -shared -no-fast -depths all -D QT_NO_QWS_CURSOR -confirm-license@

        The error I do obtain is:

        @arm-arago-linux-gnueabi-gcc -c -include .pch/release-shared-emb-arm/QtGui -pipe -fno-exceptions -O2 -fvisibility=hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_QWS_CURSOR -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_FONTCONFIG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_HAVE_NEON -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include/QtCore -I../../include/QtNetwork -I../../include -I../../include/QtGui -I.rcc/release-shared-emb-arm -I../plugins/gfxdrivers/vnc -Iimage -I../3rdparty/freetype/builds/unix -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/pixman-arm-neon-asm.o ../3rdparty/pixman/pixman-arm-neon-asm.S
        cc1: fatal error: .pch/release-shared-emb-arm/QtGui: No such file or directory
        compilation terminated.
        make[1]: *** [.obj/release-shared-emb-arm/pixman-arm-neon-asm.o] Error 1
        make[1]: Leaving directory `/home/user/qt-everywhere-opensource-src-4.8.4/src/gui'
        make: *** [sub-gui-make_default-ordered] Error 2@

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gandiii
          wrote on last edited by
          #4

          try to add -no-pch to your config.
          it worked for me.

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

            thanks for the tip - it worked for me as well.

            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