[Interest] 转发: [Qt-embedded-interest] A Problem when I cross compile the qt-4.8
sxjyx2004
sxjyx2004 at 163.com
Mon Apr 9 07:13:09 CEST 2012
sxjyx2004
发件人: sxjyx2004
发送时间: 2012-04-09 13:00
收件人: Qt-embedded-interest
主题: [Qt-embedded-interest] A Problem when I cross compile the qt-4.8
Hi everybody,
I have download the latest qt-4.8 version,and wanted to cross compile if for my ARM board, I have input following:
./configure -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -prefix /usr/local/Trolltech/QtEmbedded-4.8.0-arm -opensource -confirm-license -release -shared -v
but the output is following:
Determining system architecture... (Linux:3.0.0-12-generic:i686)
32-bit Intel 80x86 (i386)
'arm' is supported
'i386' is supported
System architecture: 'arm'
Host architecture: 'i386'
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
Precompiled-headers support disabled.
/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/config.tests/unix/fvisibility.test: 64: arm-none-linux-gnueabi-g++: not found
Symbol visibility control disabled.
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.
You have already accepted the terms of the license.
Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -g -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -Igenerators/integrity -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/include -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/include/QtCore -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/src/corelib/global -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/src/corelib/xml -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/mkspecs/qws/linux-x86-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED project.cpp
^Cmake: *** Deleting file `project.o'
make: *** [project.o] Interrupt
It is very strange ,I had input the "-xplatform qws/linux-arm-gnueabi-g++ ",but it seems like that it use the "mkspecs/qws/linux-x86-g++ " and "g++" , who has met this similar problems?
And please give me a little help to fix it ,Thank you!
sxjyx2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120409/fe863bee/attachment.html>
More information about the Interest
mailing list