博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助
  dorainm.cublog.cn

关于作者
dorainm
dorainm@gmail.com

我的梦想是当一名地主家的少爷,家有良田千顷,终日不学无术,没事领着一帮狗和奴才去调戏一下良家少女……

格物、致知、正心、诚意、修身、齐家、治国、平天下

电影的长度取决于观众的那泡尿能憋多久
|| << >> ||
我的分类


编译 aMule 的补丁
    编译 aMule-2.1.3 的时候,出现错误

/usr/local/include/wx-2.8/wx/gdicmn.h:486: warning: declaration of ‘x’ shadows a
member of 'this'
MuleGifCtrl.cpp: In member function ‘bool MuleGifCtrl::LoadData(const char*, int
):
MuleGifCtrl.cpp:69: error: no matching function for call to ‘wxGIFDecoder::wxGIF
Decoder(wxMemoryInputStream*, int)
/usr/local/include/wx-2.8/wx/gifdecod.h:111: note: candidates are: wxGIFDecoder:
:wxGIFDecoder(const wxGIFDecoder&)
/usr/local/include/wx-2.8/wx/gifdecod.h:88: note: wxGIFDecoder::
wxGIFDecoder()
MuleGifCtrl.cpp:70: error: ‘class wxGIFDecoder’ has no member named ‘ReadGIF’
MuleGifCtrl.cpp:76: error: ‘class wxGIFDecoder’ has no member named ‘GoFirstFram
e’
MuleGifCtrl.cpp:78: error: no matching function for call to ‘wxGIFDecoder::Conve
rtToImage(wxImage*)
/usr/local/include/wx-2.8/wx/gifdecod.h:103: note: candidates are: virtual bool
wxGIFDecoder::ConvertToImage(size_t, wxImage*) const
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::Start():
MuleGifCtrl.cpp:89: error: ‘class wxGIFDecoder’ has no member named ‘GoLastFrame

MuleGifCtrl.cpp: In member function ‘virtual wxSize MuleGifCtrl::GetBestSize():
MuleGifCtrl.cpp:105: error: ‘class wxGIFDecoder’ has no member named ‘GetLogical
ScreenWidth’
MuleGifCtrl.cpp:105: error: ‘class wxGIFDecoder’ has no member named ‘GetLogical
ScreenHeight’
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::OnTimer(wxTimerEvent&):
MuleGifCtrl.cpp:113: error: ‘class wxGIFDecoder’ has no member named ‘GoNextFram
e’
MuleGifCtrl.cpp:116: error: no matching function for call to ‘wxGIFDecoder::Conv
ertToImage(wxImage*)
/usr/local/include/wx-2.8/wx/gifdecod.h:103: note: candidates are: virtual bool
wxGIFDecoder::ConvertToImage(size_t, wxImage*) const
MuleGifCtrl.cpp:122: error: no matching function for call to ‘wxGIFDecoder::GetD elay()
/usr/local/include/wx-2.8/wx/gifdecod.h:80: note: candidates are: virtual long i nt wxGIFDecoder::GetDelay(size_t) const
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::OnPaint(wxPaintEvent&):
MuleGifCtrl.cpp:132: error: ‘class wxGIFDecoder’ has no member named ‘GetLogical ScreenWidth’
MuleGifCtrl.cpp:133: error: ‘class wxGIFDecoder’ has no member named ‘GetLogical ScreenHeight’
MuleGifCtrl.cpp:137: error: ‘class wxGIFDecoder’ has no member named ‘GetLeft’
MuleGifCtrl.cpp:137: error: ‘class wxGIFDecoder’ has no member named ‘GetTop’
make[2]: *** [libmuleappgui_a-MuleGifCtrl.o] Error 1
make[2]: Leaving directory `/home/ale/Internet/p2p/aMule-2.1.3/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/ale/Internet/p2p/aMule-2.1.3/src'

make: *** [install-recursive] Error 1



    google了一下,在 中找到 http://www.linuxquestions.org/questions/showthread.php?t=507725
    是函数名为意大利语?

    官方说打下面两个补丁就可以了,果然可以了

文件:amuleadunanza3.11b1.patch.gz
大小:80KB
下载:下载

文件:aMule-wx.patch.tar.gz
大小:1KB
下载:下载

 TAG 编译 aMule 补丁
发表于: 2007-08-19,修改于: 2007-08-20 07:21,已浏览846次,有评论1条 推荐 投诉


网友评论
网友: dorainm 时间:2007-08-20 10:18:38 IP地址:222.172.195.★
$ tar xzvf aMule-wx.patch.tar.gz

in aMule's source directory
$ patch -Np1 -i where/aMule-wx.patch
$ zcat where/amuleadunanza3.11b1.patch.gz | patch -Np1 -i

 发表评论