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. Error from ".obj/release-shared-emb-arm/qfutureinterface.o" when crosscompiling QT4.4.3 for arm

Error from ".obj/release-shared-emb-arm/qfutureinterface.o" when crosscompiling QT4.4.3 for arm

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 507 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.
  • W Offline
    W Offline
    wowy
    wrote on last edited by
    #1

    Hello,

    I am working on a sc6000x board (at91sam9261 micro, linux 2.6.24) and i am trying to compile qt use it with qt creator to make application for my board.

    When configuring qt i have no error but when i "make" it i have the error :

    g++ -c -include .pch/release-shared-emb-arm/QtCore -pipe -pipe -pipe -fno-exceptions -O2 -O2 -O2 -fvisibility=hidden -fvisibility-inlines-hidden -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wall -W -Wall -W -D_REENTRANT -D_REENTRANT -D_REENTRANT -fPIC -fPIC -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iconcurrent -Iglobal -I../3rdparty/harfbuzz/src -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -I/home/spi/installQt/tslib-arm/include -o .obj/release-shared-emb-arm/qfutureinterface.o concurrent/qfutureinterface.cpp
    ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h: Assembler messages:
    ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:111: Error: no such instruction: swpb %cl,%dl,[%ebp]' ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:111: Error: no such instruction: swpb %dl,%sil,[%ebp]'
    ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:111: Error: no such instruction: swpb %sil,%cl,[%ebp]' ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:111: Error: no such instruction: swpb %cl,%dl,[%ebp]'

    repeating this until

    make[1]: *** [.obj/release-shared-emb-arm/qfutureinterface.o] Error 1
    make[1]: Leaving directory `/home/spi/installQt/qt-embedded-linux-opensource-src-4.4.3/src/corelib'
    make: *** [sub-corelib-make_default-ordered] Error 2

    Because i know finding the cause of an error is not always easy i will explain the steps i used to get to this point :

    I use :

    qt-embedded-linux-opensource-src-4.4.3 as source
    arm-linux-gcc-3.4.5-glibc-2.3.6-linux as toolchain
    and tslib-1.0 because i need to work with a touchscreen (needed for the configuration of qt)

    First i created symlink for my compiler :

    sudo ln -s /home/spi/installQt/arm-linux/bin/arm-linux-gcc /usr/bin/arm-linux-gcc
    sudo ln -s /home/spi/installQt/arm-linux/bin/arm-linux-g++ /usr/bin/arm-linux-g++
    sudo ln -s /home/spi/installQt/arm-linux/bin/arm-linux-strip /usr/bin/arm-linux-strip
    sudo ln -s /home/spi/installQt/arm-linux/bin/arm-linux-ar /usr/bin/arm-linux-ar

    then i configured tslib :

    ./configure --prefix=/home/spi/installQt/tslib-arm --host=arm-linux --enable-shared=yes --enable-static=yes
    'make" it and "make install" it with no error.

    After this i modify the qmake.conf file in the qt source (linux-arm-g++) by adding this :

    include(../../common/g++.conf)
    include(../../common/linux.conf)
    include(../../common/qws.conf)

    QMAKE_INCDIR += /home/spi/installQt/tslib-arm/include
    QMAKE_LIBDIR += /home/spi/installQt/tslib-arm/lib

    And then i configure the qt source like this :

    ./configure -embedded arm -little-endian -no-armfpa -qt-gfx-transformed -qt-gfx-linuxfb -nomake demos -nomake examples -no-svg -no-phonon -no-qt3support -lrt -no-feature-CURSOR -qt-mouse-tslib -xplatform qws/linux-arm-g++

    The configure generate no error/warning it seems.

    But when i want to "make" the qt source i have the error message.

    Thank you for your future answers !

    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