Error when building Qt everywhere 4.7.2 for ARM on Ubuntu 11.04

  • 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 :

    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

    I need your help. Thanks a lot.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.