Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error when building Qt everywhere 4.7.2 for ARM on Ubuntu 11.04
Forum Updated to NodeBB v4.3 + New Features

Error when building Qt everywhere 4.7.2 for ARM on Ubuntu 11.04

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.7k 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.
  • N Offline
    N Offline
    nddvn2008
    wrote on last edited by
    #1

    Hi everybody.
    I faced errors when trying to build qt-everywhere-opensource-src-4.7.2 on Ubuntu 11.04. please help me solve it.

    ./configure —prefix=/opt/qte —prefix=/opt/qte -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -release -opensource -shared -fast -no-largefile -qt-sql-sqlite -no-mmx -no-sse -no-sse2 -no-3dnow -qt-zlib -no-libtiff -qt-libpng -no-libmng -qt-libjpeg -no-openssl -silent -no-nis -confirm-license -depths 16,18,24 -optimized-qmake -no-xcursor -qt-freetype -little-endian -host-little-endian -no-qt3support -no-qvfb -no-phonon -no-cups -no-glib -no-xfixes -no-xrandr -no-xrender -no-xkb -no-sm -no-xinerama -no-xshape -no-xfixes -no-separate-debug-info -nomake examples -nomake tools -nomake docs -no-gfx-qvfb -no-mouse-qvfb -qt-kbd-qvfb -qt-kbd-tty -qt-mouse-tslib

    when I use “make” command, the fault appears:

    arm-none-linux-gnueabi-g++: cannot specify -o with -c or -S with multiple files
    make1: *** [.pch/release-shared-emb-arm/corelib.gch/c++] Error 1
    make1: Leaving directory `/home/jack/qt-everywhere-opensource-src-4.7.2/src/corelib’
    make: *** [sub-corelib-make_default-ordered] Error 2

    – I’ve configured the qws/linux-arm-gnueabi-g++/qmake.conf :

    include(../../common/g++.conf)
    include(../../common/linux.conf)
    include(../../common/qws.conf)
    QMAKE_CC = /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc
    QMAKE_CXX = /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-g++
    QMAKE_LINK = /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-g++
    QMAKE_LINK_SHLIB = /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-g++
    QMAKE_AR = /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-ar cqs
    QMAKE_OBJCOPY = /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-objcopy
    QMAKE_STRIP = /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-strip
    QMAKE_INCDIR += /opt/tslib/include
    QMAKE_LIBDIR += /opt/tslib/lib
    Load(qt_config)

    I need your help. Thanks a lot.

    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