当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 编译amule2.2.3在make步骤出错,求助!
帖子发表于 : 2009-02-10 12:07 
头像

注册: 2008-12-21 15:27
帖子: 5349
地址: TARDIS
送出感谢: 1
接收感谢: 10
第一次尝试自己编译,没学过编程,所以也不太懂,好不容易把./configure时候遇到的依赖关系解决了,后来make出error了,如下:
代码:
fox@fox-laptop:~/aMule-2.2.3$ make
Compiling BarShader.cpp
In file included from /usr/include/wx-2.8/wx/dc.h:22,
                 from BarShader.cpp:26:
/usr/include/wx-2.8/wx/cursor.h: In constructor ‘wxBusyCursorSuspender::wxBusyCursorSuspender()’:
/usr/include/wx-2.8/wx/cursor.h:65: error: ‘wxIsBusy’ was not declared in this scope
/usr/include/wx-2.8/wx/cursor.h:67: error: ‘wxBusyCursor’ has not been declared
/usr/include/wx-2.8/wx/cursor.h:67: error: ‘wxSetCursor’ was not declared in this scope
/usr/include/wx-2.8/wx/cursor.h: In destructor ‘wxBusyCursorSuspender::~wxBusyCursorSuspender()’:
/usr/include/wx-2.8/wx/cursor.h:72: error: ‘wxIsBusy’ was not declared in this scope
/usr/include/wx-2.8/wx/cursor.h:74: error: ‘wxBusyCursor’ has not been declared
/usr/include/wx-2.8/wx/cursor.h:74: error: ‘wxSetCursor’ was not declared in this scope
In file included from BarShader.cpp:26:
/usr/include/wx-2.8/wx/dc.h: At global scope:
/usr/include/wx-2.8/wx/dc.h:835: error: field ‘m_pen’ has incomplete type
/usr/include/wx-2.8/wx/dc.h:836: error: field ‘m_brush’ has incomplete type
/usr/include/wx-2.8/wx/dc.h:837: error: field ‘m_backgroundBrush’ has incomplete type
/usr/include/wx-2.8/wx/dc.h:838: error: field ‘m_textForegroundColour’ has incomplete type
/usr/include/wx-2.8/wx/dc.h:839: error: field ‘m_textBackgroundColour’ has incomplete type
/usr/include/wx-2.8/wx/dc.h:840: error: field ‘m_font’ has incomplete type
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCBase::wxDCBase()’:
/usr/include/wx-2.8/wx/dc.h:121: error: class ‘wxDCBase’ does not have any field named ‘m_pen’
/usr/include/wx-2.8/wx/dc.h:122: error: class ‘wxDCBase’ does not have any field named ‘m_brush’
/usr/include/wx-2.8/wx/dc.h:123: error: class ‘wxDCBase’ does not have any field named ‘m_backgroundBrush’
/usr/include/wx-2.8/wx/dc.h:124: error: class ‘wxDCBase’ does not have any field named ‘m_textForegroundColour’
/usr/include/wx-2.8/wx/dc.h:125: error: class ‘wxDCBase’ does not have any field named ‘m_textBackgroundColour’
/usr/include/wx-2.8/wx/dc.h:126: error: class ‘wxDCBase’ does not have any field named ‘m_font’
/usr/include/wx-2.8/wx/dc.h: In member function ‘wxBitmap wxDCBase::GetAsBitmap(const wxRect*) const’:
/usr/include/wx-2.8/wx/dc.h:318: error: return type ‘struct wxBitmap’ is incomplete
/usr/include/wx-2.8/wx/dc.h:319: error: invalid use of incomplete type ‘struct wxBitmap’
/usr/include/wx-2.8/wx/gdicmn.h:30: error: forward declaration of ‘struct wxBitmap’
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxBrush& wxDCBase::GetBackground() const’:
/usr/include/wx-2.8/wx/dc.h:528: error: ‘m_backgroundBrush’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxBrush& wxDCBase::GetBrush() const’:
/usr/include/wx-2.8/wx/dc.h:529: error: ‘m_brush’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxFont& wxDCBase::GetFont() const’:
/usr/include/wx-2.8/wx/dc.h:530: error: ‘m_font’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxPen& wxDCBase::GetPen() const’:
/usr/include/wx-2.8/wx/dc.h:531: error: ‘m_pen’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxColour& wxDCBase::GetTextForeground() const’:
/usr/include/wx-2.8/wx/dc.h:533: error: ‘m_textForegroundColour’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual const wxColour& wxDCBase::GetTextBackground() const’:
/usr/include/wx-2.8/wx/dc.h:534: error: ‘m_textBackgroundColour’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual void wxDCBase::SetTextForeground(const wxColour&)’:
/usr/include/wx-2.8/wx/dc.h:536: error: ‘m_textForegroundColour’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual void wxDCBase::SetTextBackground(const wxColour&)’:
/usr/include/wx-2.8/wx/dc.h:538: error: ‘m_textBackgroundColour’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h: In member function ‘virtual wxBitmap wxDCBase::DoGetAsBitmap(const wxRect*) const’:
/usr/include/wx-2.8/wx/dc.h:734: error: return type ‘struct wxBitmap’ is incomplete
/usr/include/wx-2.8/wx/dc.h: At global scope:
/usr/include/wx-2.8/wx/dc.h:915: error: field ‘m_colFgOld’ has incomplete type
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCTextColourChanger::wxDCTextColourChanger(wxDC&)’:
/usr/include/wx-2.8/wx/dc.h:892: error: class ‘wxDCTextColourChanger’ does not have any field named ‘m_colFgOld’
/usr/include/wx-2.8/wx/dc.h: In destructor ‘wxDCTextColourChanger::~wxDCTextColourChanger()’:
/usr/include/wx-2.8/wx/dc.h:901: error: ‘m_colFgOld’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h:902: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In member function ‘void wxDCTextColourChanger::Set(const wxColour&)’:
/usr/include/wx-2.8/wx/dc.h:907: error: ‘m_colFgOld’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h:908: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:909: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: At global scope:
/usr/include/wx-2.8/wx/dc.h:942: error: field ‘m_penOld’ has incomplete type
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCPenChanger::wxDCPenChanger(wxDC&, const wxPen&)’:
/usr/include/wx-2.8/wx/dc.h:928: error: class ‘wxDCPenChanger’ does not have any field named ‘m_penOld’
/usr/include/wx-2.8/wx/dc.h:928: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:930: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In destructor ‘wxDCPenChanger::~wxDCPenChanger()’:
/usr/include/wx-2.8/wx/dc.h:935: error: ‘m_penOld’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h:936: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: At global scope:
/usr/include/wx-2.8/wx/dc.h:969: error: field ‘m_brushOld’ has incomplete type
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCBrushChanger::wxDCBrushChanger(wxDC&, const wxBrush&)’:
/usr/include/wx-2.8/wx/dc.h:955: error: class ‘wxDCBrushChanger’ does not have any field named ‘m_brushOld’
/usr/include/wx-2.8/wx/dc.h:955: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:957: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In destructor ‘wxDCBrushChanger::~wxDCBrushChanger()’:
/usr/include/wx-2.8/wx/dc.h:962: error: ‘m_brushOld’ was not declared in this scope
/usr/include/wx-2.8/wx/dc.h:963: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCClipper::wxDCClipper(wxDC&, const wxRegion&)’:
/usr/include/wx-2.8/wx/dc.h:983: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCClipper::wxDCClipper(wxDC&, const wxRect&)’:
/usr/include/wx-2.8/wx/dc.h:985: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In constructor ‘wxDCClipper::wxDCClipper(wxDC&, wxCoord, wxCoord, wxCoord, wxCoord)’:
/usr/include/wx-2.8/wx/dc.h:987: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h: In destructor ‘wxDCClipper::~wxDCClipper()’:
/usr/include/wx-2.8/wx/dc.h:989: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp: In member function ‘void CBarShader::Draw(wxDC*, int, int, bool)’:
BarShader.cpp:208: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp: In member function ‘void CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)’:
BarShader.cpp:233: error: variable ‘wxBrush brush’ has initializer but incomplete type
BarShader.cpp:233: error: ‘WxColourFromCr’ was not declared in this scope
BarShader.cpp:234: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:235: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:248: error: variable ‘wxPen pen’ has initializer but incomplete type
BarShader.cpp:248: error: invalid use of incomplete type ‘struct wxColour’
/usr/include/wx-2.8/wx/colour.h:19: error: forward declaration of ‘struct wxColour’
BarShader.cpp:249: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:252: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:255: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:259: error: invalid use of incomplete type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
make[3]: *** [libmuleappgui_a-BarShader.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


_________________


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 编译amule2.2.3在make步骤出错,求助!
帖子发表于 : 2009-02-10 13:29 
头像

注册: 2008-09-18 23:40
帖子: 2870
地址: Mars
系统: Ubuntu 15.04 x64
送出感谢: 1
接收感谢: 2
大哥在http://www.getdeb.net下载,好不好…… :em05


_________________
转移各位校内,百毒朋友,把目标转向twitter和facebook,别总看局域网的内容
其实从那么多的ubuntu发行版和fedora的各个发行版中,我们不难看出,linux的进步是惊人的,从长久的发展规律和更加深远的意义来看,linux桌面版与微软的距离在缩小,这是值得庆幸的……
ubuntu是半年还去偷情一次的初恋。fedora是一生挚爱的正室。debian是和正室同等地位的妾侍。rh/cent是用来偷窥的正室大姐姐。suse是一夜夫妻百二蚊。gentoo是有内涵的才女。arch是久闻其名不敢接触的怪叔叔。其余发行版,我是帝皇它们是屁民,无福宠幸。


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 编译amule2.2.3在make步骤出错,求助!
帖子发表于 : 2009-02-10 15:10 
头像

注册: 2008-12-21 15:27
帖子: 5349
地址: TARDIS
送出感谢: 1
接收感谢: 10
果然是……
装是装上了,不过我还是想学学编译……
还有铁通好像封电驴了,服务器一个都连不上 :em36


_________________


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译