• 4788阅读
  • 2回复

请教:交叉编译 qiopia时make出现的错误,希望指教一下! [复制链接]

上一主题 下一主题
离线duhongxu
 
只看楼主 倒序阅读 楼主  发表于: 2008-04-15
— 本帖被 XChinux 执行加亮操作(2008-04-15) —
错误如下:
[root@localhost work]# ls
path.sh  qt-2.3.7  qtopia-1.7.0  qt-x11  tmake-1.11  tslib

[root@localhost work]# vim path.sh
[root@localhost work]# source ./path.sh

[root@localhost work]# cd $QPEDIR/src

[root@localhost src]# /configure -xplatform linux-arm-g++

bash: /configure: 没有那个文件或目录

[root@localhost src]# ls

3rdparty      configs    configure.pl  libraries  Makefile.linux  qt      settings
applications  configure  games       

Makefile  plugins        server  tools

[root@localhost src]# ./configure -xplatform linux-arm-g++
ln: ‘./categoryeditbase_p.h’:文件已存在
ln:

‘./passwordbase_p.h’:文件已存在
ln: ‘./categoryeditbase_p.h’:文件已存在
ln: ‘./passwordbase_p.h’:文件已存在
Makefiles will be regenerated.
.................................................................................

QPE is now configured for building. Just run "make".
To reconfigure, run make clean and configure.


[root@localhost src]# make

make -C libraries/qtopia
make[1]: Entering directory `/home/work/qtopia-1.7.0/src/libraries/qtopia'

arm-linux-g++  -c -I/home/work/qtopia-1.7.0//include -I/home/work/qt-2.3.7//include -pipe -DQWS -fno-exceptions -fno-rtti -O2

-Wall -W -DNO_DEBUG -fPIC -DQTOPIA_APP_INTERFACE -DQTOPIA_WIN32PROCESS_SUPPORT -I.moc/linux-arm-g++/ -I/home/work/qtopia-

1.7.0//include -o .obj/linux-arm-g++//qpeapplication.o qpeapplication.cpp

make[1]: arm-linux-g++: Command not found

make[1]: *** [.obj/linux-arm-g++//qpeapplication.o] Error 127

make[1]: Leaving directory `/home/work/qtopia-1.7.0/src/libraries/qtopia'
make: *** [libraries/qtopia] Error 2

[root@localhost src]#

好像缺少头文件?指点下怎么解决,谢谢了,急等!
离线owenbbkp

只看该作者 1楼 发表于: 2008-04-15
错误不是 “arm-linux-g++: Command not found” 吗?
是不是连交叉编译工具链都没弄好呢? 试试输入arm-linux-g++会得到什么?
离线duhongxu
只看该作者 2楼 发表于: 2008-04-16
谢谢,解决了老问题,但又出现了新问题,可能没uuid.h,要编译e2fsprogs这个文件吧??
快速回复
限100 字节
 
上一个 下一个