主机环境:Ubuntu10.04
按tyny6410开发文档,已经解压安装编译工具、qt到相应路径,并设置了环境变量
运行./build-all
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
This is the Qt for Embedded Linux 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.
Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of either license?
Creating qmake. Please wait...
c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/opt/FriendlyARM/mini6410/linux/arm-qte-4.7.0/qt-everywhere-opensource-src-4.7.0/include -I/opt/FriendlyARM/mini6410/linux/arm-qte-4.7.0/qt-everywhere-opensource-src-4.7.0/include/QtCore -I/opt/FriendlyARM/mini6410/linux/arm-qte-4.7.0/qt-everywhere-opensource-src-4.7.0/src/corelib/global -I/opt/FriendlyARM/mini6410/linux/arm-qte-4.7.0/qt-everywhere-opensource-src-4.7.0/src/corelib/xml -I/opt/FriendlyARM/mini6410/linux/arm-qte-4.7.0/qt-everywhere-opensource-src-4.7.0/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/ti-sdk-AM3715-evm/linux-devkit/arm-none-linux-gnueabi/usr/share/qtopia/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
make: c: Command not found
make: [project.o] Error 127 (ignored)
接下去一大堆问题都是下面这个:
make: c: Command not found
然后是一大堆的
/bin/sh: o: command not found
make: [/opt/FriendlyARM/mini6410/linux/arm-qte-4.7.0/qt-everywhere-opensource-src-4.7.0/bin/qmake] Error 127 (ignored)
/opt/FriendlyARM/mini6410/linux/arm-qte-4.7.0/qt-everywhere-opensource-src-4.7.0/config.tests/unix/compile.test: line 71: /opt/FriendlyARM/mini6410/linux/arm-qte-4.7.0/qt-everywhere-opensource-src-4.7.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
/opt/FriendlyARM/mini6410/linux/arm-qte-4.7.0/qt-everywhere-opensource-src-4.7.0/mkspecs/qws/linux-arm-g++.
麻烦大家帮帮忙啦