Cross compile embedded linux on a Mac



  • Hi to all, i'm tryng to create a development environment for the asus ea800 on mac osx.
    I successfully compile a toolchain for arm-unknown-linux-gnueabi- but i can't compile qt for arm on mac.
    i used this mkspec http://freeenote.org/downloads/devkit/ea800_qt_config.tar.gz but when i configure i get:
    @./configure -opensource -confirm-license -prefix /usr/local/Trolltech/QtEmbedded-4.6.2-arm -no-qt3support -no-multimedia -embedded arm -little-endian -xplatform qws/linux-EA800-g++
    No license exists to enable Qt for Embedded Linux. Disabling.
    No license exists to enable Qt for Embedded Linux. Disabling.

    You have not explicitly asked to use pkg-config and are cross-compiling.
    pkg-config will not be used to automatically query cflag/lib parameters for
    dependencies

    arm-unknown-linux-gnueabi-g++: Carbon: No such file or directory
    cc1plus: error: unrecognized command line option "-framework"
    /Volumes/eeenotedisk/qt-everywhere-opensource-src-4.6.2/config.tests/mac/dwarf2.test: line 22: ./xcodeversion: No such file or directory
    rm: xcodeversion: No such file or directory

    This is the Qt for Mac OS X Open Source Edition.

    You are licensed to use this software under the terms of
    the Lesser GNU General Public License (LGPL) versions 2.1.
    You are also licensed to use this software under the terms of
    the GNU General Public License (GPL) versions 3.

    You have already accepted the terms of the license.

    Creating qmake. Please wait...@
    "[look here for output]":http://pastebin.com/TfzFGEQd
    @
    Basic XLib functionality test failed!
    You might need to modify the include and library search paths by editing
    QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /Volumes/eeenotedisk/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-EA800-g++.
    @

    like the configure compile the mac framework. What can i do?



  • same error for me in linux.....

    Basic XLib functionality test failed!
     You might need to modify the include and library search paths by editing
    QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/qmax/Desktop/QT_Latest/qt-x11-opensource-src-4.5.3/mkspecs/qws/linux-arm-g++.
    

    I tried the following
    Try 1:

    sudo apt-get build-dep qt4-qmake (installed)
    

    Ref:http://www.qtforum.org/article/27401/debian-xlib-test-failed-after-configure.html

    Try 2:

    sudo apt-get build-dep  libxext-dev
    

    Ref:http://www.qtforum.org/article/27886/installing-qt4-problem-basic-xlib-functionality-test-failed.html

    Try 3:

    sudo apt-get install libx11-dev libxau-dev libxaw7-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev
    sudo apt-get install libxext-dev libxfixes-dev libxfont-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmuu-dev
    sudo apt-get install libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxvmc-dev
    sudo apt-get install libglib2.0-dev
    sudo apt-get install libssl-dev
    sudo apt-get install libgtk2.0-dev
    sudo apt-get install libcups2-dev
    sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
    sudo apt-get install libgstreamer0.10-dev
    

    Ref:http://qt-project.org/wiki/Compile_Qt_4.7_on_Ubuntu_10.10

    Try 4:

    sudo apt-get install ^libxcb.* libx11-xcb-dev libglu1-mesa-dev libxrender-dev -y
    

    Ref:http://qt-project.org/forums/viewthread/15858

    But nothing works…still same error…..


Log in to reply
 

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