Compiling Qt for ARM ,Error 127



  • Hi,

    I'm trying to build Qt for Arm.

    I built tslib for it succesfully using CodeSourcery.Then for building Qt I used CodeSourcery toolchain,Angstrom Toolchain and also Angstrom-qte Toolchain all gives same error.I thought it is not about toolchain it could be about configuration.My qmake.conf is just like this;
    -----------------------------------QMAKE------------------------------------------
    @#

    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-none-linux-gcc
    QMAKE_CXX = arm-none-linux-g++
    QMAKE_LINK = arm-none-linux-g++
    QMAKE_LINK_SHLIB = arm-none-linux-g++

    modifications to linux.conf

    QMAKE_AR = arm-none-linux-ar cqs
    QMAKE_OBJCOPY = arm-none-linux-objcopy
    QMAKE_STRIP = arm-none-linux-strip
    QMAKE_INCDIR= /home/atlas1-ubuntu/test/include #for tslib.h
    QMAKE_LIBDIR= /home/atlas1-ubuntu/test/lib #for libts.so

    load(qt_config)@


    Also my configuration is,

    @./configure -opensource -static -no-qt3support -no-xmlpatterns -no-multimedia -no-phonon -no-phonon-backend -no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -qt-mouse-tslib -DQT_QWS_CLIENTBLIT -xplatform qws/linux-arm-g++ -embedded arm -confirm-license @


    Error i get

    @/bin/sh: o: command not found
    make: [/home/atlas1-ubuntu/Demo/qt-everywhere-opensource-src-4.6.0/bin/qmake] Error 127 (ignored)
    /home/atlas1-ubuntu/Demo/qt-everywhere-opensource-src-4.6.0/config.tests/unix/compile.test: line 69: /home/atlas1-ubuntu/Demo/qt-everywhere-opensource-src-4.6.0/bin/qmake: No such file or directory
    The tslib functionality test failed!
    You might need to modify the include and library search paths by editing
    QMAKE_INCDIR and QMAKE_LIBDIR in
    /home/atlas1-ubuntu/Demo/qt-everywhere-opensource-src-4.6.0/mkspecs/qws/linux-arm-g++.
    @

    Thanks,
    BA


Log in to reply
 

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