标题:交叉编译 qtopia PDA 2.2.0 出错!
作者:liguojin
日期:2007-11-08 21:18
内容:
这是我的configure参数:
./configure -qte "-embedded -xplatform arm-linux-g++ -qconfig qpe -no-qvfb -depths 16,24 -system-jpeg -system-libpng -system-zlib -tslib -gif -thread -no-xft -release -I/root/QT/include -L/root/QT/lib -lpng -lts -lz -luuid -ljpeg" -qpe '-xplatform arm-linux-g++ -edition pda -displaysize 240x320 -I/root/QT/include -L/root/QT/lib -prefix=/root/QT/qtopia-target/qtopia'
我用的是cross-2.95.3
make过了近两个小时才出错,前面的应该都正确,错误信息为:
***********************************
********* Build Qt/Embedded *******
***********************************
QTE_CFG="'-embedded' '-qconfig' 'qpe' '-no-qvfb' '-depths' '16,24' '-system-jpeg' '-system-libpng' '-system-
zlib' '-tslib' '-gif' '-thread' '-no-xft' '-I/root/QT/include' '-L/root/QT/lib' '-lpng' '-lts' '-lz' '-luuid
' '-ljpeg' -release -platform 'linux-g++' -xplatform 'arm-linux-g++'"
This is the Qt/Embedded Free Edition.
You are licensed to use this software under the terms of
the GNU General Public License (GPL).
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license?
No shared library support for platform/compiler arm-linux-g++-shared
Available platforms:
***********************************************************************
*
* ERROR: Building Qtopia has failed.
*
* Please search the make output for any error messages.
*
* Hint: If the configuration has changed since the last successfull
* build consider using make clean to ensure that all binaries
* are rebuilt using the new configuration.
*
* For more information about the build process please use ..
#1 [liguojin 11-09 16:13]
呵呵,这个问题是我参数修改错误!
但有出现了新的问题,好象论坛里有不少类似错误,但没有解决方案!
***********************************
********* Build Qtopia ************
***********************************
QPE_CFG=" '-edition' 'pda' '-displaysize' '240x320' '-I/root/QT/include' '-L/root/QT/lib' -no-qtopiadesktop -prefix '/root/QT/qtopia-target/qtopia' -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"
The following configuration values have been guessed or autodetected:
-arch arm
-fontfamilies helvetica fixed micro smallsmooth smoothtimes
-fontsizes all
-fontstyles 50 50i 75 75i
-languages en_US
WARNING: defaultbuttons-arm.conf does not exist.
Symlinking header files to include directory
Creating qmake...make[1]: Entering directory `/root/QT/qtopia-target/qtopia-free-2.2.0/qtopia/qmake'
....make[1]: *** 错误 1
make[1]: Leaving directory `/root/QT/qtopia-target/qtopia-free-2.2.0/qtopia/qmake'
Failed to make qmake
qtopia PDA 2.2.0 版本,希望有解决方法的大虾们帮帮!谢谢了!~
#2 [shiroki 12-12 14:03]
你进到/root/QT/qtopia-target/qtopia-free-2.2.0/qtopia/qmake 这个目录里make一下,看看具体的错误信息是什么