LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 867|回复: 2

为什么make Amule 时老出错

[复制链接]
发表于 2005-1-7 08:21:46 | 显示全部楼层 |阅读模式
root@Ford:~/aMule-2.0.0rc7# make
make  all-recursive
make[1]: Entering directory `/root/aMule-2.0.0rc7'
Making all in m4
make[2]: Entering directory `/root/aMule-2.0.0rc7/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-2.0.0rc7/m4'
Making all in intl
make[2]: Entering directory `/root/aMule-2.0.0rc7/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-2.0.0rc7/intl'
Making all in po
make[2]: Entering directory `/root/aMule-2.0.0rc7/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-2.0.0rc7/po'
Making all in docs
make[2]: Entering directory `/root/aMule-2.0.0rc7/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-2.0.0rc7/docs'
Making all in src
make[2]: Entering directory `/root/aMule-2.0.0rc7/src'
make  all-recursive
make[3]: Entering directory `/root/aMule-2.0.0rc7/src'
Making all in utils
make[4]: Entering directory `/root/aMule-2.0.0rc7/src/utils'
Making all in xas
make[5]: Entering directory `/root/aMule-2.0.0rc7/src/utils/xas'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/root/aMule-2.0.0rc7/src/utils/xas'
Making all in cas
make[5]: Entering directory `/root/aMule-2.0.0rc7/src/utils/cas'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/root/aMule-2.0.0rc7/src/utils/cas'
Making all in wxCas
make[5]: Entering directory `/root/aMule-2.0.0rc7/src/utils/wxCas'
Making all in src
make[6]: Entering directory `/root/aMule-2.0.0rc7/src/utils/wxCas/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../..     -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT wxcas-onlinesig.o -MD -MP -MF ".deps/wxcas-onlinesig.Tpo" \
  -c -o wxcas-onlinesig.o `test -f 'onlinesig.cpp' || echo './'`onlinesig.cpp; \
then mv -f ".deps/wxcas-onlinesig.Tpo" ".deps/wxcas-onlinesig.Po"; \
else rm -f ".deps/wxcas-onlinesig.Tpo"; exit 1; \
fi
onlinesig.cpp:35:23: wx/wxprec.h: No such file or directory
onlinesig.cpp:43:20: wx/wx.h: No such file or directory
In file included from onlinesig.cpp:46:
onlinesig.h:38:23: wx/wxprec.h: No such file or directory
onlinesig.h:46:20: wx/wx.h: No such file or directory
onlinesig.h:49:25: wx/filename.h: No such file or directory
onlinesig.h:50:25: wx/datetime.h: No such file or directory
In file included from onlinesig.cpp:46:
onlinesig.h:57: error: 'wxDateTime' is used as a type, but is not defined as a type.
onlinesig.h:62: error: 'wxDateTime' is used as a type, but is not defined as a type.
onlinesig.h:67: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:68: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:69: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:70: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:71: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:72: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:73: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:74: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:75: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:76: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:77: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:78: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:79: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:80: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.h:83: error: 'wxFileName' is used as a type, but is not defined as a type.
onlinesig.h:85: error: parse error before `&' token
onlinesig.h:91: error: parse error before `&' token
onlinesig.h:98: error: parse error before `&' token
onlinesig.h:107: error: parse error before `)' token
onlinesig.h:110: error: parse error before `)' token
onlinesig.h:113: error: parse error before `)' token
onlinesig.h:116: error: parse error before `)' token
onlinesig.h:119: error: parse error before `)' token
onlinesig.h:122: error: parse error before `)' token
onlinesig.h:125: error: parse error before `)' token
onlinesig.h:128: error: parse error before `)' token
onlinesig.h:131: error: parse error before `)' token
onlinesig.h:134: error: parse error before `)' token
onlinesig.h:137: error: parse error before `)' token
onlinesig.h:140: error: parse error before `)' token
onlinesig.h:143: error: parse error before `)' token
onlinesig.h:146: error: parse error before `)' token
onlinesig.h:149: error: parse error before `)' token
onlinesig.h:152: error: parse error before `)' token
onlinesig.h:155: error: parse error before `)' token
onlinesig.h:158: error: parse error before `)' token
onlinesig.h:161: error: parse error before `)' token
onlinesig.h:164: error: parse error before `)' token
onlinesig.h:170: error: parse error before `)' token
onlinesig.h:182: error: parse error before `)' token
In file included from onlinesig.cpp:47:
wxcascte.h:38:23: wx/wxprec.h: No such file or directory
wxcascte.h:46:20: wx/wx.h: No such file or directory
In file included from onlinesig.cpp:47:
wxcascte.h:53: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:53: error: parse error before `;' token
wxcascte.h:56: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:56: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:56: error: parse error before `;' token
wxcascte.h:59: error: ISO C++ forbids declaration of `wxUint32' with no type
wxcascte.h:59: error: parse error before `;' token
wxcascte.h:62: error: ISO C++ forbids declaration of `wxUint32' with no type
wxcascte.h:62: error: declaration of `const int WxCasCte::wxUint32'
wxcascte.h:59: error: conflicts with previous declaration `const int WxCasCte::wxUint32'
wxcascte.h:62: error: parse error before `;' token
wxcascte.h:65: error: ISO C++ forbids declaration of `wxUint32' with no type
wxcascte.h:65: error: declaration of `const int WxCasCte::wxUint32'
wxcascte.h:59: error: conflicts with previous declaration `const int WxCasCte::wxUint32'
wxcascte.h:65: error: parse error before `;' token
wxcascte.h:68: error: ISO C++ forbids declaration of `wxUint32' with no type
wxcascte.h:68: error: declaration of `const int WxCasCte::wxUint32'
wxcascte.h:59: error: conflicts with previous declaration `const int WxCasCte::wxUint32'
wxcascte.h:68: error: parse error before `;' token
wxcascte.h:73: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:73: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:73: error: parse error before `;' token
wxcascte.h:76: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:76: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:76: error: parse error before `;' token
wxcascte.h:79: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:79: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:79: error: parse error before `;' token
wxcascte.h:82: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:82: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:82: error: parse error before `;' token
wxcascte.h:85: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:85: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:85: error: parse error before `;' token
wxcascte.h:88: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:88: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:88: error: parse error before `;' token
wxcascte.h:91: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:91: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:91: error: parse error before `;' token
wxcascte.h:94: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:94: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:94: error: parse error before `;' token
wxcascte.h:97: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:97: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:97: error: parse error before `;' token
wxcascte.h:100: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:100: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:100: error: parse error before `;' token
wxcascte.h:103: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:103: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:103: error: parse error before `;' token
wxcascte.h:106: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:106: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:106: error: parse error before `;' token
wxcascte.h:109: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:109: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:109: error: parse error before `;' token
wxcascte.h:114: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:114: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:114: error: parse error before `;' token
wxcascte.h:117: error: ISO C++ forbids declaration of `wxUint32' with no type
wxcascte.h:117: error: declaration of `const int WxCasCte::wxUint32'
wxcascte.h:59: error: conflicts with previous declaration `const int WxCasCte::wxUint32'
wxcascte.h:117: error: parse error before `;' token
wxcascte.h:123: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:123: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:123: error: parse error before `;' token
wxcascte.h:126: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:126: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:126: error: parse error before `;' token
wxcascte.h:132: error: ISO C++ forbids declaration of `wxUint32' with no type
wxcascte.h:132: error: declaration of `const int WxCasCte::wxUint32'
wxcascte.h:59: error: conflicts with previous declaration `const int WxCasCte::wxUint32'
wxcascte.h:132: error: parse error before `;' token
wxcascte.h:135: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:135: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:135: error: parse error before `;' token
wxcascte.h:138: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:138: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:138: error: parse error before `;' token
wxcascte.h:141: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:141: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:141: error: parse error before `;' token
wxcascte.h:144: error: ISO C++ forbids declaration of `wxString' with no type
wxcascte.h:144: error: declaration of `const int WxCasCte::wxString'
wxcascte.h:53: error: conflicts with previous declaration `const int WxCasCte::wxString'
wxcascte.h:144: error: parse error before `;' token
onlinesig.cpp:49:24: wx/txtstrm.h: No such file or directory
onlinesig.cpp:50:25: wx/wfstream.h: No such file or directory
onlinesig.cpp:53: error: parse error before `&' token
onlinesig.cpp:59: error: ISO C++ forbids declaration of `m_sessionMaxDL' with no type
onlinesig.cpp:59: error: `int OnLineSig::m_sessionMaxDL' is not a static member of `class OnLineSig'
onlinesig.cpp:59: warning: converting to `int' from `double'
onlinesig.cpp:60: error: ISO C++ forbids declaration of `m_sessionMaxDLDate' with no type
onlinesig.cpp:60: error: `int OnLineSig::m_sessionMaxDLDate' is not a static member of `class OnLineSig'
onlinesig.cpp:60: error: `wxDateTime' was not declared in this scope
onlinesig.cpp:60: error: parse error before `::' token
onlinesig.cpp:62: error: ISO C++ forbids declaration of `m_absoluteMaxDL' with no type
onlinesig.cpp:62: error: `int OnLineSig::m_absoluteMaxDL' is not a static member of `class OnLineSig'
onlinesig.cpp:62: error: `absoluteMaxDL' was not declared in this scope
onlinesig.cpp:63: error: ISO C++ forbids declaration of `m_absoluteMaxDlDate' with no type
onlinesig.cpp:63: error: `int OnLineSig::m_absoluteMaxDlDate' is not a static member of `class OnLineSig'
onlinesig.cpp:63: error: `absoluteMaxDlDate' was not declared in this scope
onlinesig.cpp:65: error: ISO C++ forbids declaration of `m_isSessionMaxDlReseted' with no type
onlinesig.cpp:65: error: `int OnLineSig::m_isSessionMaxDlReseted' is not a static member of `class OnLineSig'
onlinesig.cpp:66: error: ISO C++ forbids declaration of `m_isAbsoluteMaxDlReseted' with no type
onlinesig.cpp:66: error: `int OnLineSig::m_isAbsoluteMaxDlReseted' is not a static member of `class OnLineSig'
onlinesig.cpp:68: error: ISO C++ forbids declaration of `Refresh' with no type
onlinesig.cpp:69: error: parse error before `}' token
onlinesig.cpp:77: error: parse error before `&' token
onlinesig.cpp: In member function `void OnLineSig::SetAmuleSig(...)':
onlinesig.cpp:79: error: `m_amulesig' undeclared (first use this function)
onlinesig.cpp:79: error: (Each undeclared identifier is reported only once for each function it appears in.)
onlinesig.cpp:79: error: `file' undeclared (first use this function)
onlinesig.cpp: In member function `void OnLineSig::Refresh()':
onlinesig.cpp:86: error: `wxFileInputStream' undeclared (first use this function)
onlinesig.cpp:86: error: parse error before `(' token
onlinesig.cpp:88: error: `wxTextInputStream' undeclared (first use this function)
onlinesig.cpp:89: error: `text' undeclared (first use this function)
onlinesig.cpp:89: error: `wxT' undeclared (first use this function)
onlinesig.cpp:92: error: `m_serverName' undeclared (first use this function)
onlinesig.cpp:93: error: `m_serverIP' undeclared (first use this function)
onlinesig.cpp:94: error: `m_serverPort' undeclared (first use this function)
onlinesig.cpp:95: error: `m_connexionID' undeclared (first use this function)
onlinesig.cpp:96: error: `m_DLRate' undeclared (first use this function)
onlinesig.cpp:97: error: `m_ULRate' undeclared (first use this function)
onlinesig.cpp:98: error: `m_queue' undeclared (first use this function)
onlinesig.cpp:99: error: `m_sharedFiles' undeclared (first use this function)
onlinesig.cpp:100: error: `m_user' undeclared (first use this function)
onlinesig.cpp:101: error: `m_totalDL' undeclared (first use this function)
onlinesig.cpp:102: error: `m_totalUL' undeclared (first use this function)
onlinesig.cpp:103: error: `m_version' undeclared (first use this function)
onlinesig.cpp:104: error: `m_sessionDL' undeclared (first use this function)
onlinesig.cpp:105: error: `m_sessionUL' undeclared (first use this function)
onlinesig.cpp:113: error: `m_sessionMaxDLDate' undeclared (first use this function)
onlinesig.cpp:113: error: `wxDateTime' undeclared (first use this function)
onlinesig.cpp:113: error: parse error before `::' token
onlinesig.cpp:123: error: `m_absoluteMaxDlDate' undeclared (first use this function)
onlinesig.cpp:123: error: parse error before `::' token
onlinesig.cpp: At global scope:
onlinesig.cpp:141: error: syntax error before `::' token
onlinesig.cpp:146: error: syntax error before `::' token
onlinesig.cpp:151: error: syntax error before `::' token
onlinesig.cpp:156: error: syntax error before `::' token
onlinesig.cpp:161: error: syntax error before `::' token
onlinesig.cpp:166: error: syntax error before `::' token
onlinesig.cpp:171: error: syntax error before `::' token
onlinesig.cpp:176: error: syntax error before `::' token
onlinesig.cpp:181: error: syntax error before `::' token
onlinesig.cpp:186: error: syntax error before `::' token
onlinesig.cpp:192: error: syntax error before `::' token
onlinesig.cpp:197: error: syntax error before `::' token
onlinesig.cpp:202: error: syntax error before `::' token
onlinesig.cpp:207: error: syntax error before `::' token
onlinesig.cpp:212: error: syntax error before `::' token
onlinesig.cpp:215: error: `unsigned int OnLineSig::days' is not a static member of `class OnLineSig'
onlinesig.cpp:215: error: `seconds' was not declared in this scope
onlinesig.cpp:216: error: `unsigned int OnLineSig::hours' is not a static member of `class OnLineSig'
onlinesig.cpp:216: error: `seconds' was not declared in this scope
onlinesig.cpp:217: error: `unsigned int OnLineSig::minutes' is not a static member of `class OnLineSig'
onlinesig.cpp:217: error: `seconds' was not declared in this scope
onlinesig.cpp:219: error: parse error before `if'
onlinesig.cpp:230: error: syntax error before `::' token
onlinesig.cpp:235: error: syntax error before `::' token
onlinesig.cpp:240: error: syntax error before `::' token
onlinesig.cpp:245: error: syntax error before `::' token
onlinesig.cpp:250: error: syntax error before `::' token
onlinesig.cpp:264: error: syntax error before `::' token
onlinesig.cpp: In member function `void OnLineSig::ResetSessionMaxDL()':
onlinesig.cpp:272: error: parse error before `::' token
onlinesig.cpp: At global scope:
onlinesig.cpp:286: error: syntax error before `::' token
onlinesig.cpp: In member function `void OnLineSig::ResetAbsoluteMaxDL()':
onlinesig.cpp:294: error: parse error before `::' token
onlinesig.cpp: At global scope:
onlinesig.cpp:304: error: syntax error before `::' token
onlinesig.cpp:309: error: 'wxString' is used as a type, but is not defined as a type.
onlinesig.cpp:311: error: syntax error before `.' token
onlinesig.cpp:314: error: `int OnLineSig::i' is not a static member of `class OnLineSig'
onlinesig.cpp:315: error: parse error before `while'
onlinesig.cpp:317: error: syntax error before `++' token
make[6]: *** [wxcas-onlinesig.o] Error 1
make[6]: Leaving directory `/root/aMule-2.0.0rc7/src/utils/wxCas/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/aMule-2.0.0rc7/src/utils/wxCas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/aMule-2.0.0rc7/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/aMule-2.0.0rc7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/aMule-2.0.0rc7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-2.0.0rc7'
make: *** [all] Error 2
root@Ford:~/aMule-2.0.0rc7#
发表于 2005-1-7 08:48:53 | 显示全部楼层
肯定是少装了什么库文件,请看aMule的帮助文档
发表于 2005-1-7 12:12:35 | 显示全部楼层
缺少什么的头文件。去查看onlinesig.cpp 在相应的行看看对应的目录里
有没有这些头文件,没有的话去google找找吧。
onlinesig.cpp:35:23: wx/wxprec.h: No such file or directory
onlinesig.cpp:43:20: wx/wx.h: No such file or directory
In file included from onlinesig.cpp:46:
onlinesig.h:38:23: wx/wxprec.h: No such file or directory
onlinesig.h:46:20: wx/wx.h: No such file or directory
onlinesig.h:49:25: wx/filename.h: No such file or directory
onlinesig.h:50:25: wx/datetime.h: No such file or directory
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表