主题 : 困扰好多天的问题qtopia编译问题 复制链接 | 浏览器收藏 | 打印
sfc
级别: 新手上路
UID: 9347
精华: 0
发帖: 12
金钱: 105 两
威望: 48 点
综合积分: 24 分
注册时间: 2009-09-26
最后登录: 2011-06-06
楼主  发表于: 2009-10-13 21:03

 困扰好多天的问题qtopia编译问题

编译x86-qtopia,执行./build完成
继续执行./build-konq出现错误提示
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your installation!
查看config.log有如下提示
/usr/bin/ld: skipping incompatible /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib/libqte.so when searching for -lqte
/usr/bin/ld: cannot find -lqte
collect2: ld returned 1 exit status
把config文件中的参数改为-m32 -m64 -fPIC 都不成功, 这个qte库到底该怎样编译阿
级别: 新手上路
UID: 9637
精华: 0
发帖: 25
金钱: 190 两
威望: 77 点
综合积分: 50 分
注册时间: 2009-10-08
最后登录: 2012-10-10
1楼  发表于: 2009-10-13 22:01
友善的些-qtopia目录里提供了一个build-all,你执行那个应该就没问题了。可能是你的路径设置问题。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2009-10-14 13:19
file /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib/libqte.so的输出是什么?
"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."
sfc
级别: 新手上路
UID: 9347
精华: 0
发帖: 12
金钱: 105 两
威望: 48 点
综合积分: 24 分
注册时间: 2009-09-26
最后登录: 2011-06-06
3楼  发表于: 2009-10-14 23:34
多谢楼上两位热心,不好意思,白天不在线  
回版主,结果如下
[root@localhost ~]# file /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib/libqte.so
/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib/libqte.so: symbolic link to `libqte.so.2.3.12'
[root@localhost ~]#
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
4楼  发表于: 2009-10-14 23:45
抱歉,我想我应该问file /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib/libqte.so.2.3.12的输出是什么
"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."
sfc
级别: 新手上路
UID: 9347
精华: 0
发帖: 12
金钱: 105 两
威望: 48 点
综合积分: 24 分
注册时间: 2009-09-26
最后登录: 2011-06-06
5楼  发表于: 2009-10-15 18:08
难得这么好的热心版主,下面是输出结果:
[root@localhost ~]# file /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib/libqte.so.2.3.12
/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib/libqte.so.2.3.12: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
这是原因么?我的处理器是amd 3000+ 应该是x86_64的,系统也是x86的,不过相关的其他软件包都同时按装了i386版的
sfc
级别: 新手上路
UID: 9347
精华: 0
发帖: 12
金钱: 105 两
威望: 48 点
综合积分: 24 分
注册时间: 2009-09-26
最后登录: 2011-06-06
6楼  发表于: 2009-10-16 23:00
楼上版主,请问有结论么?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
7楼  发表于: 2009-10-17 21:06
如果/usr/bin一定要找x86_64的libqte.so的话,那就是这个原因了
"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."
sfc
级别: 新手上路
UID: 9347
精华: 0
发帖: 12
金钱: 105 两
威望: 48 点
综合积分: 24 分
注册时间: 2009-09-26
最后登录: 2011-06-06
8楼  发表于: 2009-10-17 22:14
呃,我改了参数编译x86_64的libqte.so,但是出现了其他错误,请问怎样能使/usr/bin找i386的libqte.so?