Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6897879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:13:30+00:00 2026-05-27T07:13:30+00:00

I am trying to compile Qt embedded for ARM. I have followed the instructions

  • 0

I am trying to compile Qt embedded for ARM. I have followed the instructions both here and here. I am using latest Angstrom toolchain and qt-embedded-linux-opensource-src-4.5.3 and I am using Ubuntu 10.10 x86.

Here steps I past:

  • Configured qws/linux-arm-g++/qmake.conf file for my toolchain. Here it’s content:

    #
    # qmake configuration for building with arm-linux-g++
    #
    
    include(../../common/g++.conf)
    include(../../common/linux.conf)
    include(../../common/qws.conf)
    
    # modifications to g++.conf
    QMAKE_CC                = arm-angstrom-linux-gnueabi-gcc
    QMAKE_CXX               = arm-angstrom-linux-gnueabi-g++
    QMAKE_LINK              = arm-angstrom-linux-gnueabi-g++
    QMAKE_LINK_SHLIB        = arm-angstrom-linux-gnueabi-g++
    
    # modifications to linux.conf
    QMAKE_AR                = arm-angstrom-linux-gnueabi-ar cqs
    QMAKE_OBJCOPY           = arm-angstrom-linux-gnueabi-objcopy
    QMAKE_STRIP             = arm-angstrom-linux-gnueabi-strip
    
    load(qt_config)
    
  • Set my toolchain path:

    export PATH=/home/olcay/angstrom/arm/bin:$PATH
    
  • Configured qt with:

    ./configure -arch arm -little-endian -xplatform qws/linux-arm-g++
    
  • Run make.

While running make I am getting this error:

make[1]: Entering directory `/home/olcay/qt-embedded/src/corelib'
arm-angstrom-linux-gnueabi-g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -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.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/qatomic_arm.o arch/arm/qatomic_arm.cpp
/home/olcay/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++: 1: ELF: not found
/home/olcay/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++: 2: Syntax error: word unexpected (expecting ")")
make[1]: *** [.obj/release-shared-emb-arm/qatomic_arm.o] Error 2
make[1]: Leaving directory `/home/olcay/qt-embedded/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2

I have also noticed that while config there is a warning and same error line in make:

    The system floating point format could not be detected.
    This may cause data to be generated in a wrong format
    Turn on verbose messaging (-v) to see the final report.
    /home/olcay/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++: 1: ELF: not found
    /home/olcay/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++: 2: Syntax error: word unexpected (expecting ")")

And changing configure line as @Luca Carlon described does not solve the problem.

Please help me!
Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:13:30+00:00Added an answer on May 27, 2026 at 7:13 am

    I have noticed that I have downloaded my Angstrom tool-chain for 64 bit host platform but I am using 32 bit host. After downloading correct tool-chain I have managed to compile Qt. And I found that an “ELF not found” error occurs when you try to run an application which is not build for your architecture.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While trying to compile a 64 bit linux kernel using gcc, I see the
I am currently trying to compile and build QT for Embedded Linux on an
I'm getting the following errors while trying to compile an ARM embedded C program
I'm trying to cross-compile the OpenCV library for using it on an embedded system
When trying to compile this code: #include <iostream> #include <vector> using namespace std; class
I am trying to build a controller using Luaj + java. I have the
I'm developing an embedded application using GCC/G++ compiled for arm-eabi. Due to resource constraints,
I was tying to add WPF code-behind embedded in the XAML and compile using
I am trying to create a minimalistic Linux for an embedded device. That means
On my Linux x86_64 host, I am trying to cross-compile some additional Python modules

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.