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. QT everywhere compiling fails

QT everywhere compiling fails

Scheduled Pinned Locked Moved Solved Mobile and Embedded
10 Posts 3 Posters 3.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.
  • Z Offline
    Z Offline
    zdenekrejci
    wrote on last edited by
    #1

    Hi to all. I am trying to get working cross platform programming for A13 ARM from olimex.
    I have searched already here but did not find a way to make it work.

    I have installed Qt Creator 3.5.1 and also installed cross compillers arm-linux-gnueabi and arm-linux-gnueabihf.
    Then i did try one million times to compile qt-everywhere-opensource ,,,

    qt-embedded-linux-opensource-src-4.5.3.tar.gz
    qt-everywhere-opensource-src-4.6.2.tar.gz
    qt-everywhere-opensource-src-4.7.3.tar.gz
    qt-everywhere-opensource-src-4.7.4.tar.gz
    qt-everywhere-opensource-src-5.7.0.tar.gz
    qt-everywhere-opensource-src-5.8.0.tar.gz

    with ./configure -embedded arm -prefix /usr/local/qt -little-endian -no-qt3support -no-cups -no-largefile -optimized-qmake -no-openssl -xplatform qws/linux-arm-g++ -nomake tools -nomake examples -no-webkit -opensource -confirm-license

    but always get output from make command

    .....
    arm-linux-gnueabihf-g++ -mcpu=cortex-a8 -mtune=cortex-a8 -O0 -mfpu=neon -lrt -c -fno-exceptions -D_REENTRANT -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DELF_INTERPRETER="/lib64/ld-linux-x86-64.so.2" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/moc_qnamespace.o .moc/release-shared-emb-arm/moc_qnamespace.cpp
    arm-linux-gnueabihf-g++ -mcpu=cortex-a8 -mtune=cortex-a8 -O0 -mfpu=neon -lrt -c -fno-exceptions -D_REENTRANT -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DELF_INTERPRETER="/lib64/ld-linux-x86-64.so.2" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/moc_qthread.o .moc/release-shared-emb-arm/moc_qthread.cpp
    /tmp/ccMg97nX.s: Assembler messages:
    /tmp/ccMg97nX.s:18059: Error: selected processor does not support `swp r3,r2,[r1]' in Thumb mode
    Makefile:17777: recipe for target '.obj/release-shared-emb-arm/qobject.o' failed
    make[1]: *** [.obj/release-shared-emb-arm/qobject.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory '/root/qt-everywhere-opensource-src-4.6.2/src/corelib'

    and also was trying to changing and combining commands but no luck. Iam not linux professional but just trying by manuals and tutorials.

    can someone help? please :)

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      hi
      What version of gcc are you using ?

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        zdenekrejci
        wrote on last edited by
        #3

        I did check now in terminal if I did it right then command gcc --version gave me output
        gcc --version
        gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
        Copyright (C) 2015 Free Software Foundation, Inc.

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi
          Ok, that seems new enough.
          It sounds like the process do not support a given instruction which often comes from "config" used.
          https://forum.qt.io/topic/7140/qt-for-embedded-platforms-on-lpc3250-thumb-mode-error-on-make

          But it does seems possible to work
          https://www.olimex.com/forum/index.php?topic=751.0

          1 Reply Last reply
          1
          • Z Offline
            Z Offline
            zdenekrejci
            wrote on last edited by
            #5

            Hey man looks like you helped me i found in the links that I should try 4.8 so downloaded, configured, and now iam building. Its not done yet but it takes longer than before so I guess its ok.

            1 Reply Last reply
            0
            • Z Offline
              Z Offline
              zdenekrejci
              wrote on last edited by
              #6

              I am back from work and trying next step the problem before is gone after compiling higher version.
              Now I got another message
              /home/olimex/untitled: symbol lookup error: /home/olimex/untitled: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
              Application finished with exit code 127.

              I searched the internet already and found some links but no single thread got solution. Would you have an idea?

              Z 1 Reply Last reply
              0
              • Z zdenekrejci

                I am back from work and trying next step the problem before is gone after compiling higher version.
                Now I got another message
                /home/olimex/untitled: symbol lookup error: /home/olimex/untitled: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
                Application finished with exit code 127.

                I searched the internet already and found some links but no single thread got solution. Would you have an idea?

                Z Offline
                Z Offline
                zdenekrejci
                wrote on last edited by
                #7

                @zdenekrejci said in QT everywhere compiling fails:

                I am back from work and trying next step the problem before is gone after compiling higher version.
                Now I got another message
                /home/olimex/untitled: symbol lookup error: /home/olimex/untitled: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
                Application finished with exit code 127.

                I searched the internet already and found some links but no single thread got solution. Would you have an idea?

                By the way now Iam downloading qt creator version 5 so will see.

                jsulmJ 1 Reply Last reply
                0
                • Z zdenekrejci

                  @zdenekrejci said in QT everywhere compiling fails:

                  I am back from work and trying next step the problem before is gone after compiling higher version.
                  Now I got another message
                  /home/olimex/untitled: symbol lookup error: /home/olimex/untitled: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
                  Application finished with exit code 127.

                  I searched the internet already and found some links but no single thread got solution. Would you have an idea?

                  By the way now Iam downloading qt creator version 5 so will see.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @zdenekrejci said in QT everywhere compiling fails:

                  By the way now Iam downloading qt creator version 5 so will see.

                  Do you mean Qt 5? The problem you have isn't related to QtCreator.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  Z 1 Reply Last reply
                  0
                  • Z Offline
                    Z Offline
                    zdenekrejci
                    wrote on last edited by
                    #9

                    Yes you right after I downloaded the QT5 the problem remains. By the way the previous problem was solved so iam going to mark this thread as solved and will create another one for the next error.

                    1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @zdenekrejci said in QT everywhere compiling fails:

                      By the way now Iam downloading qt creator version 5 so will see.

                      Do you mean Qt 5? The problem you have isn't related to QtCreator.

                      Z Offline
                      Z Offline
                      zdenekrejci
                      wrote on last edited by
                      #10

                      @jsulm Yes you right after I downloaded the QT5 the problem remains. By the way the previous problem was solved so iam going to mark this thread as solved and will create another one for the next error.

                      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