請教emule編譯問題,高手支招!!急!重金求教!
我閲讀了2004.10.10的《如何在 Visual C++.NET 2003 下编译eMule》並按照上面的步驟走了一遍,編譯是通過了,但是連接出了問題。連接有18個重定義。具體錯誤記錄如下,希望高人指點。重金感謝。
淏婓蝈诿...
libcpmt.lib(xmutex.obj) : error LNK2005: "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) 已經在 id3lib.lib(tag_file.obj) 中定義
libcpmt.lib(xmutex.obj) : error LNK2005: "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) 已經在 id3lib.lib(tag_file.obj) 中定義
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) 已經在 id3lib.lib(utils.obj) 中定義
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) 已經在 id3lib.lib(utils.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _strncpy 已經在 libcmt.lib(strncpy.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _longjmp 已經在 libcmt.lib(longjmp.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _fprintf 已經在 libcmt.lib(fprintf.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _abort 已經在 libcmt.lib(abort.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _sprintf 已經在 libcmt.lib(sprintf.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _fread 已經在 libcmt.lib(fread.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _gmtime 已經在 libcmt.lib(gmtime.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _fwrite 已經在 libcmt.lib(fwrite.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _fflush 已經在 libcmt.lib(fflush.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _malloc 已經在 libcmt.lib(malloc.obj) 中定義
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _free 已經在 libcmt.lib(free.obj) 中定義
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) 已經在 libcmt.lib(typinfo.obj) 中定義
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) 已經在 libcmt.lib(typinfo.obj) 中定義
LINK : warning LNK4098: 苏踱※LIBC§迵坻踱腔妏蚚喳芼˙妏蚚 /NODEFAULTLIB:library
LINK : warning LNK4098: 苏踱※MSVCRT§迵坻踱腔妏蚚喳芼˙妏蚚 /NODEFAULTLIB:library
Release/emule.exe : fatal error LNK1169: 梑善珨跺幺嗣跺嗣笭隅砱腔睫疡
汜伧祩怅湔婓※file://d:\emule\eMule0.44b-Sources\srchybrid\Release\BuildLog.htm§笢
emule - 18 渣昫ㄛ2 剂豢
---------------------- 俇伧 ---------------------
汜伧: 0 眒伧髡, 1 眒囮啖, 0 眒泐彻