• 4822阅读
  • 2回复

qt/e交叉编译出错以及qtopia 编译出错。。贴详细出错信息~ [复制链接]

上一主题 下一主题
离线kevinlynx
 

只看楼主 倒序阅读 楼主  发表于: 2006-07-15
software info:

qt/x11 2.3.2 , qt/e 2.3.10 , tmake 1.13 , qtopia 2.1.1


gcc version is : gcc version 3.2.2


install qt/e for arm:


1. 解压 qt-embedded-2.3.10  

  工作目录为: /qt/qt-2.3.10

2. export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++

export QTDIR=/qt/qt-2.3.10

export PATH=$QTDIR/bin:$PATH

export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

./configure -xplatform linux-arm-g++ -no-xft -no-qvfb -depths 4,8,16,32



error info:

/bin/sh: line 1: arm-linux-g++: command not found

make[2]: *** [allmoc.cpp] Error 127

make[2]: Leaving directory `/qt/qt-2.3.10/src'

make[1]: *** [sub-src] Error 2

make[1]: Leaving directory `/qt/qt-2.3.10'

make: *** [init] Error 2


install qtopia :


[root@localhost qt-2.3.10]# cd $QPEDIR

[root@localhost qtopia-free-2.1.1]# export QTDIR=/qt/qt-2.3.10-x86

[root@localhost qtopia-free-2.1.1]# cd $QTDIR

[root@localhost qt-2.3.10-x86]# cd $QPEDIR

[root@localhost qtopia-free-2.1.1]# export PATH=$QPEDIR/bin:$PATH

[root@localhost qtopia-free-2.1.1]# ./configure


error info :

make[4]: *** [../../../include/qtopia/private/passwordbase_p.h] Error 127

make[4]: Leaving directory `/qt/qtopia-free-2.1.1/src/libraries/qtopia'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/qt/qtopia-free-2.1.1/src/libraries/qtopia'

make[2]: *** [sub-libraries-qtopia] Error 2

make[2]: Leaving directory `/qt/qtopia-free-2.1.1/src'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/qt/qtopia-free-2.1.1/src'

make: *** [all] Error 2

高手帮忙下~~
[ 此贴被XChinux在2006-07-15 23:28重新编辑 ]
离线akiramoon
只看该作者 1楼 发表于: 2006-12-21
呵呵,你安装交叉编译工具没有啊,没有,从网上下载,装一个,有,就把路径加入PATH
如PATH=工具路径:$PATH
离线fairyredfox

只看该作者 2楼 发表于: 2007-01-03
还有,tmake的路径也要加到PATH中吧!
快速回复
限100 字节
 
上一个 下一个