移植qtopia的问题
时间:2010-08-20
来源:互联网
今天学习移植qtopia,使用的qtopia2.2.0,交叉编译器为arm-linux-gcc/g++3.4.5-glibc-2.3.6版本,pc用的是4.4.4,开始对程序做了一些必要得修改 ,更正了编译错误,然后在连接的时候出问题了。
错误如下:
/usr/bin/ld: cannot find -lqt-mt
collect2: ld 返回 1
make[6]: *** [../../../bin/qdawggen] 错误 1
make[5]: *** [all] 错误 2
make[4]: *** [sub-tools-qdawggen] 错误 2
make[3]: *** [sub-src-components_pro] 错误 2
make[2]: *** [all] 错误 2
make[1]: *** [all] 错误 2
然后在重定向文件中查看详细信息,输出如下:
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQTOPIA_TARGET=\"qdawggen\" -DQTOPIA_TRTARGET=\"qdawggen\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/mkspecs/linux-g++ -I. -I/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/dqt/include -I../../../include -I/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/dqt/include -I.ui/release-shared/ -I.moc/release-shared/ -o .obj/release-shared/qmemoryfile_unix.o ../../libraries/qtopia/qmemoryfile_unix.cpp
test -d ../../../bin/ || mkdir -p ../../../bin/
g++ -o ../../../bin/qdawggen .obj/release-shared/main.o .obj/release-shared/qdawg.o .obj/release-shared/qmemoryfile.o .obj/release-shared/global.o .obj/release-shared/qmemoryfile_unix.o -L/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/dqt/lib -L/usr/X11R6/lib -L/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/lib -L/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qt2/lib -lqt-mt -lXext -lX11 -lm -lpthread
make[6]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src/tools/qdawggen'
make[5]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src/tools/qdawggen'
make[4]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src'
make[3]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src'
make[2]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src'
make[1]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia'
朋友们有遇到这种情况的或者知道的,请帮忙分析分析。
我用的 ./configure -qte '-embedded -no-xft -xplatform linux-arm-g++ -qconfig qpe -depths 16,32 -no-qvfb -system-jpeg -gif' -qpe '-xplatform linux-arm-g++ -edition pda -displaysize 320x240' -qt2 '-no-xft' -dqt '-no-xft'
配置。 谢谢大家啊,很急。
在我的qtopia/dqt/lib下没有生成libqt-mt.so这个库。
错误如下:
/usr/bin/ld: cannot find -lqt-mt
collect2: ld 返回 1
make[6]: *** [../../../bin/qdawggen] 错误 1
make[5]: *** [all] 错误 2
make[4]: *** [sub-tools-qdawggen] 错误 2
make[3]: *** [sub-src-components_pro] 错误 2
make[2]: *** [all] 错误 2
make[1]: *** [all] 错误 2
然后在重定向文件中查看详细信息,输出如下:
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQTOPIA_TARGET=\"qdawggen\" -DQTOPIA_TRTARGET=\"qdawggen\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/mkspecs/linux-g++ -I. -I/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/dqt/include -I../../../include -I/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/dqt/include -I.ui/release-shared/ -I.moc/release-shared/ -o .obj/release-shared/qmemoryfile_unix.o ../../libraries/qtopia/qmemoryfile_unix.cpp
test -d ../../../bin/ || mkdir -p ../../../bin/
g++ -o ../../../bin/qdawggen .obj/release-shared/main.o .obj/release-shared/qdawg.o .obj/release-shared/qmemoryfile.o .obj/release-shared/global.o .obj/release-shared/qmemoryfile_unix.o -L/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/dqt/lib -L/usr/X11R6/lib -L/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/lib -L/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qt2/lib -lqt-mt -lXext -lX11 -lm -lpthread
make[6]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src/tools/qdawggen'
make[5]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src/tools/qdawggen'
make[4]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src'
make[3]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src'
make[2]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia/src'
make[1]: Leaving directory `/home/sydnash/嵌入式相关工具/qtopia/qtopia-free-2.2.0/qtopia'
朋友们有遇到这种情况的或者知道的,请帮忙分析分析。
我用的 ./configure -qte '-embedded -no-xft -xplatform linux-arm-g++ -qconfig qpe -depths 16,32 -no-qvfb -system-jpeg -gif' -qpe '-xplatform linux-arm-g++ -edition pda -displaysize 320x240' -qt2 '-no-xft' -dqt '-no-xft'
配置。 谢谢大家啊,很急。
在我的qtopia/dqt/lib下没有生成libqt-mt.so这个库。
作者: sydnash 发布时间: 2010-08-20
有知道的朋友请不吝指教,谢谢,我很疑惑,不知道是不是我的configure有问题,请大家帮忙看看啊。
作者: sydnash 发布时间: 2010-08-20
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28