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. Can't build Qt 4.8.5 for DM365 (ARM 9)

Can't build Qt 4.8.5 for DM365 (ARM 9)

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

    I'm trying to build Qt 4.8.5 using this qmake.conf:
    @#

    qmake configuration for building with arm-none-linux-gnueabi-g++

    include(../../common/linux.conf)
    include(../../common/gcc-base-unix.conf)
    include(../../common/g++-unix.conf)
    include(../../common/qws.conf)

    modifications to g++.conf

    QMAKE_CFLAGS_RELEASE = -03 -march=armv5te
    QMAKE_CXXFLAGS_RELEASE = -03 -march=armv5te
    QMAKE_CC = arm-none-linux-gnueabi-gcc
    QMAKE_CXX = arm-none-linux-gnueabi-g++
    QMAKE_LINK = arm-none-linux-gnueabi-g++
    QMAKE_LINK_SHLIB = arm-none-linux-gnueabi-g++

    modifications to linux.conf

    QMAKE_AR = arm-none-linux-gnueabi-ar cqs
    QMAKE_OBJCOPY = arm-none-linux-gnueabi-objcopy
    QMAKE_STRIP = arm-none-linux-gnueabi-strip

    load(qt_config)@

    And here are my configure script arguments:
    @./configure -v -embedded arm
    -prefix /opt/qt-4.8.5
    -platform /qws/linux-x86_64-g++
    -xplatform /qws/linux-dm365-g++
    -depths 16,24,32
    -no-mmx -no-3dnow -no-sse -no-sse2
    -no-cups -no-largefile -no-accessibility
    -no-gtkstyle
    -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc
    -no-qt3support
    -no-webkit
    -no-openssl
    -nomake demos
    -nomake examples
    -shared
    -release
    -no-largefile
    -no-phonon
    -no-svg
    -no-opengl
    -fast
    -little-endian -host-little-endian
    -nomake docs
    -opensource -confirm-license
    -nomake tools@

    When i try to execute configure script, I get errors like this:
    @/usr/bin/ld: project.o: Relocations in generic ELF (EM: 40)
    project.o: error adding symbols: File in wrong format
    collect2: error: ld returned 1 exit status
    @

    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