• 4027阅读
  • 1回复

交叉编译应用程序的问题!急急急!! [复制链接]

上一主题 下一主题
离线guoxiongmao
 
只看楼主 正序阅读 楼主  发表于: 2008-11-28
— 本帖被 XChinux 执行加亮操作(2008-11-30) —
各位大侠,小弟在交叉编译应用程序的时候出现如下问题,已经重装过两遍QTE了,还是没有效果,
还有网上说将-lqte变成-lqte-mt,就可以,可是小弟试了下,反应是cannot find -lqte-mt
[root@localhost hello]# tmake -o Makefile  hello.pro
[root@localhost hello]# make
arm-linux-gcc  -o hello hello.o  -L/root/arm-qtopia/qt/lib -lm -lqte
/usr/local/arm/3.3.2/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld:
cannot find -lqte
collect2: ld returned 1 exit status
make: *** [hello] Error 1
离线guoxiongmao
只看该作者 1楼 发表于: 2008-11-28
我的环境变量设置如下:
export QTDIR=$PWD/qt
export QPEDIR=$PWD/qtopia
export TMAKEDIR=$PWD/tmake
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++
export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH
快速回复
限100 字节
 
上一个 下一个