• 8748阅读
  • 5回复

QTOPIA 4.2.1配置编译出错!help [复制链接]

上一主题 下一主题
离线hongjiujing
 

只看楼主 正序阅读 楼主  发表于: 2007-08-06
QTOPIA 4.2.1配置编译出错!help
— 本帖被 XChinux 执行加亮操作(2009-01-06) —
参照这个贴子移植(http://www.qtcn.org/bbs/read.php?tid=8170
This is the Qtopia Open Source Edition.

You are licensed to use this software under the terms of the GPL.
Please see the file LICENSE.GPL for the licensing terms.

Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept this license agreement? yes

Qtopia is using the following locations:
Qt SOURCE tree = /mnt/nfs/qtopia4/qtopiatslibinstall/qtopiacore/qt
Qt BUILD tree = /mnt/nfs/qtopia4/qtopiatslibinstall/qtopiacore/host
Qtopia Core SOURCE tree = /mnt/nfs/qtopia4/qtopiatslibinstall/qtopiacore/qt
Qtopia Core BUILD tree = /mnt/nfs/qtopia4/qtopiatslibinstall/qtopiacore/target
Qtopia SOURCE tree = /mnt/nfs/qtopia4/qtopiatslibinstall
Qtopia BUILD tree = /mnt/nfs/qtopia4/qtopiatslibinstall

Checking the compiler (host): Checking the compiler (target): OK
Testing for helix: MISSING
Helix is disabled. Please read the documentation for instructions on how to enable Helix.

*******************************************************************************
Configuring Qt (host)
configure -platform linux-g++ -prefix
/mnt/nfs/qtopia4/qtopiatslibinstall/qtopiacore/host -no-stl -no-exceptions
-no-qdbus -D QTOPIA_NO_ICONV_OPEN_ERRORS -confirm-license -no-sql-db2
-no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql
-no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -qt-sql-sqlite -fast -debug -qt-gif
-silent -no-qdbus -no-separate-debug-info
*******************************************************************************

Setting up the include directory for Qt (host). Please wait...
Cleaning your Qt (host) build tree. Please wait...

This is the Qt/X11 Open Source Edition.

Preparing build tree...
You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).


Creating qmake. Please wait...

The system byte order could not be detected!
Turn on verbose messaging (-v) to see the final report.
You can use the -little-endian or -big-endian switch to
/mnt/nfs/qtopia4/qtopiatslibinstall/qtopiacore/qt/configure to continue.
[root@localhost qtopiatslibinstall]#

HELP?

我用的机器是虚拟机redhat linux 9.0,GCC4。1.1 ARM-LINUX-GCC 3.4.1。

在./confgiure ......后,开始有一个check compiler(host)出现过cannot run binaries,我修改过源代码把那个语句注释掉才得以通过(机子已经装了GCC4,检查GCC4确老报错,我才注释掉那个检查)谁知道还是出现了新的问题。请问是不是编译器的问题,还是redhat linux 9的平台造成的。
离线lanmanck

只看该作者 5楼 发表于: 2009-08-01
checking the compiler(host) : OK (GCC 4)
checking the compiler(target) : OK (GCC 4)
这是为啥,貌似编译arm 的gcc变成主机的gcc4了。但我明明配置了-xplatform阿
精彩博客:labisart.com
离线lanmanck

只看该作者 4楼 发表于: 2009-08-01
晕,我也有这个问题啊
精彩博客:labisart.com
离线qiang1985
只看该作者 3楼 发表于: 2009-07-10
请问楼主:你的问题解决了吗?我也遇到了这个问题!很急阿!
离线huishouliu
只看该作者 2楼 发表于: 2008-12-31
环境变量出现问题了,你env看下是不是你的交叉编译器路径,再看下env出来的变量里是不是有什么CC= 或CXX=这类的东西,有就删掉吧
MSN/Email :huishouliu@126.com
离线shiroki

只看该作者 1楼 发表于: 2007-08-07
我感觉是gcc4的问题, 这个编译器是你自己编译的么, 如果你知道确切的bigendian还是littleendian的设定,可以在configure的时候给qtopiacore传入该参数, 见qtopiacore里的configure --help
--
shiro is White
ki is tree
http://www.cuteqt.com
论坛 http://www.cuteqt.com/bbs
博客 http://www.cuteqt.com/blog
博客镜像: http://sites.cuteqt.com/cuteqt
Linux/Qt/嵌入式讨论群 http://qun.qq.com/air/5699823
快速回复
限100 字节
 
上一个 下一个