主题 : ubunt10.04下编译x86-qtopia出错 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 18127
精华: 0
发帖: 14
金钱: 70 两
威望: 14 点
综合积分: 28 分
注册时间: 2010-04-06
最后登录: 2016-09-06
楼主  发表于: 2010-07-05 17:39

 ubunt10.04下编译x86-qtopia出错

编译器是友善之臂给的gcc-4.3.2
错误好像出在这
kernel/qt_x11.h:83:34: error: X11/extensions/shape.h: 没有那个文件或目录
In file included from kernel/qpsprinter.cpp:75:
kernel/qimage.h: In member function ‘int QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
kernel/qimage.h:58: warning: suggest parentheses around ‘&&’ within ‘||’
make[1]: *** [tmp/release-shared-linux-g++/kernel/qpsprinter.o] 错误 1
make[1]:正在离开目录 `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/src'

感觉像系统少什么库?
有没朋友帮忙看看 谢谢了
附件: build.rar (120 K) 下载次数:9
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-07-05 19:11
"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."
级别: 新手上路
UID: 18127
精华: 0
发帖: 14
金钱: 70 两
威望: 14 点
综合积分: 28 分
注册时间: 2010-04-06
最后登录: 2016-09-06
2楼  发表于: 2010-07-06 15:17
非常感谢总版主回复
但我现在又遇到问题,不像是缺少库文件
opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/plugins finddialog.ui -o finddialog.h
Session management error: None of the authentication protocols specified are supported
/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/bin/uic -L /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/plugins mainwindow.ui -o mainwindow.h
Session management error: None of the authentication protocols specified are supported
/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/bin/uic -L /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/plugins topicchooser.ui -o topicchooser.h
Session management error: None of the authentication protocols specified are supported
/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/bin/uic -L /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/plugins helpdialog.ui -o helpdialog.h
Session management error: None of the authentication protocols specified are supported
附件: build.rar (124 K) 下载次数:5
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-07-06 15:47

 回 2楼(科长大叔) 的帖子

Google "Session management error: None of the authentication protocols specified are supported"
"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."
级别: 新手上路
UID: 18127
精华: 0
发帖: 14
金钱: 70 两
威望: 14 点
综合积分: 28 分
注册时间: 2010-04-06
最后登录: 2016-09-06
4楼  发表于: 2010-09-13 10:29
问题已经解决,对于存在同样问题的朋友可以看看一下链接:
http://www.qtcn.org/bbs/read.php?tid=6987