its my first time trying to compile the emule for myself. After reading some tutorials and some help topics i still have some errors left:
I am using MS Visual Studio Enterprise and the source code from 0.44d
Here is the error output:
Ressourcen werden kompiliert...
Verknüpfen...
libcpmt.lib(xmutex.obj) : error LNK2005: "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) bereits in id3lib.lib(tag_file.obj) definiert
libcpmt.lib(xmutex.obj) : error LNK2005: "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) bereits in id3lib.lib(tag_file.obj) definiert
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) bereits in id3lib.lib(utils.obj) definiert
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) bereits in id3lib.lib(utils.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: ___crtExitProcess bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __cinit bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: _exit bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __exit bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __cexit bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __c_exit bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __C_Exit_Done bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __C_Termination_Done bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __exitflag bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __wpgmptr bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __pgmptr bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: ___winitenv bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __wenviron bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: ___initenv bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __environ bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: ___wargv bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: ___argv bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: ___argc bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __winminor bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __winmajor bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __winver bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __osver bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __osplatform bereits in libcmt.lib(crt0dat.obj) definiert
LIBC.lib(crt0dat.obj) : error LNK2005: __umaskval bereits in libcmt.lib(crt0dat.obj) definiert
LINK : warning LNK4098: Standardbibliothek 'LIBC' steht in Konflikt mit anderen Bibliotheken; /NODEFAULT:Bibliothek verwenden
Release/emule.exe : fatal error LNK1169: Ein oder mehrere mehrfach definierte Symbole gefunden
Someone have a clue?
EDIT: Hmmmm, perhaps i have used the wrong runtime library. I compiled without /MT or /MTd
MfG
Njorge
This post has been edited by njorge2k: 30 December 2004 - 01:35 PM










Sign In
Register
