• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : qtopia编译依然有问题……烦请各位帮帮我! 复制链接 | 浏览器收藏 | 打印
Linux@ARM
级别: 新手上路
UID: 2478
精华: 0
发帖: 48
金钱: 410 两
威望: 354 点
综合积分: 96 分
注册时间: 2008-11-19
最后登录: 2018-02-08
楼主  发表于: 2009-07-01 10:28

 qtopia编译依然有问题……烦请各位帮帮我!

管理提醒: 本帖被 arm9home 从 Linux技术交流专区 移动到本区(2009-09-10)
编译到最后的是主要的信息:
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... configure: error: not found. Check your installation and look into config.log
make: *** 没有指明目标并且找不到 makefile。 停止。
arm-linux-strip: 'konq-embed/src/konqueror': No such file
opt/Qtopia/lib/fonts/
opt/Qtopia/lib/fonts/helvetica_120_50.qpf
opt/Qtopia/lib/fonts/songti_160_50.qpf
opt/Qtopia/lib/fonts/fontdir
opt/Qtopia/lib/fonts/helvetica_120_50_t5.qpf
cp: 无法 stat “konq/konq-embed/src/konqueror”: 没有那个文件或目录
opt/
opt/kde/
opt/kde/share/
……
opt/Qtopia/lib/libavcodec.so.2.2
opt/Qtopia/lib/libqpe.so
opt/Qtopia/lib/libqmstroke.so
opt/Qtopia/lib/libqmstroke.so.2
opt/Qtopia/lib/libmediaplayer.so.2
opt/Qtopia/lib/libqtopia.so.1
opt/Qtopia/lib/libgsm.so.1.0
opt/Qtopia/lib/libmediaplayer.so.2.2.0
opt/Qtopia/lib/libamr.so.1.0.0
就到这里停止。

我从编译的结果里面还找到如下信息:
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.a when searching for -lm
欢迎访问Linux@ARM博客:
http://l0p0c.cublog.cn
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-07-01 11:39
checking for libz... configure: error: not found. Check your installation and look into config.log
make: *** 没有指明目标并且找不到 makefile。 停止。
arm-linux-strip: 'konq-embed/src/konqueror': No such file

这说明你的arm-linux-ld在它的搜索路径上(看"arm-linux-gcc -print-search-dirs"的输出)找不到arm的libz.so或者libz.a。

/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libm.so when searching for -lm

这说明/usr/X11R6/lib/libm.so或libm.a不是for PC x86的。/usr/X11R6/lib下应该放的是PC用的X11库,也就是x86的,你不要在里面自己放arm的东西。像libm这种glibc的东西交叉编译工具链里应该就已经包含了,并且包含在交叉编译器的默认搜索路径里。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
Linux@ARM
级别: 新手上路
UID: 2478
精华: 0
发帖: 48
金钱: 410 两
威望: 354 点
综合积分: 96 分
注册时间: 2008-11-19
最后登录: 2018-02-08
2楼  发表于: 2009-07-01 12:49
太难 了
欢迎访问Linux@ARM博客:
http://l0p0c.cublog.cn
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2009-07-01 12:59
引用第2楼l0p0c于2009-07-01 12:49发表的  :
太难 了

如果这点都算难的话,还是回去玩游戏看电影吧
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
Linux@ARM
级别: 新手上路
UID: 2478
精华: 0
发帖: 48
金钱: 410 两
威望: 354 点
综合积分: 96 分
注册时间: 2008-11-19
最后登录: 2018-02-08
4楼  发表于: 2009-07-01 13:30
现在skipping的问题解决了。
就是您说的这个问题

“这说明你的arm-linux-ld在它的搜索路径上(看"arm-linux-gcc -print-search-dirs"的输出)找不到arm的libz.so或者libz.a。”
应该如何处理?
欢迎访问Linux@ARM博客:
http://l0p0c.cublog.cn
Linux@ARM
级别: 新手上路
UID: 2478
精华: 0
发帖: 48
金钱: 410 两
威望: 354 点
综合积分: 96 分
注册时间: 2008-11-19
最后登录: 2018-02-08
5楼  发表于: 2009-07-01 13:53
版主,您就再指点俺一下
欢迎访问Linux@ARM博客:
http://l0p0c.cublog.cn
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
6楼  发表于: 2009-07-01 15:13
这说明你的arm-linux-ld在它的搜索路径上(看"arm-linux-gcc -print-search-dirs"的输出)找不到arm的libz.so或者libz.a

把这句话的意思取反,就是你要做的事情
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
Linux@ARM
级别: 新手上路
UID: 2478
精华: 0
发帖: 48
金钱: 410 两
威望: 354 点
综合积分: 96 分
注册时间: 2008-11-19
最后登录: 2018-02-08
7楼  发表于: 2009-07-01 15:57
我不知道怎么操作。
版主可否抽出宝贵时间给我指点下……
在下不胜感激!
欢迎访问Linux@ARM博客:
http://l0p0c.cublog.cn
Linux@ARM
级别: 新手上路
UID: 2478
精华: 0
发帖: 48
金钱: 410 两
威望: 354 点
综合积分: 96 分
注册时间: 2008-11-19
最后登录: 2018-02-08
8楼  发表于: 2009-07-01 16:00
我这个已经弄了快2周了!
实在没有招了……
欢迎访问Linux@ARM博客:
http://l0p0c.cublog.cn
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
9楼  发表于: 2009-07-01 16:24
引用第7楼l0p0c于2009-07-01 15:57发表的  :
我不知道怎么操作。
版主可否抽出宝贵时间给我指点下……
在下不胜感激!

抱歉,每个人的具体情况都不一样,我没法给出适合你的操作指令,我只能告诉你需要做什么事情。至于怎么做,那是你需要去搞清楚的。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go