[reSIProcate] Win32 linking errors

Prasad Mahendra prasad.mahendra at sipphone.com
Mon Feb 21 15:37:17 CST 2005


Hello, I am trying to get resiprocate stack -- latest head revision from svn -- into an app in win32 but I get a bunch of linking errors (see below). If I exlcude these libs in Visual studio then I get even more unstatisfied link errors for resiprocate.lib.

can someone please help?



libcpmtd.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit at std@@QAE at H@Z) already defined in dum.lib(InviteSession.obj)

libcpmtd.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit at std@@QAE at XZ) already defined in dum.lib(InviteSession.obj)

libcpmtd.lib(xmutex.obj) : error LNK2005: "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock at _Mutex@std@@QAEXXZ) already defined in dum.lib(InviteSessionHandler.obj)

libcpmtd.lib(xmutex.obj) : error LNK2005: "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock at _Mutex@std@@QAEXXZ) already defined in dum.lib(InviteSessionHandler.obj)

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock at _Mutex@std@@QAEXXZ) already defined in dum.lib(InviteSessionHandler.obj)

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock at _Mutex@std@@QAEXXZ) already defined in dum.lib(InviteSessionHandler.obj)

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall std::locale::facet::_Register(void)" (?_Register at facet@locale at std@@QAEXXZ) already defined in libcpmtd.lib(locale0.obj)

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall std::locale::facet::_Incref(void)" (?_Incref at facet@locale at std@@QAEXXZ) already defined in SipphoneX.obj

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)" (?_Getcat@?$ctype at D@std@@SAIPAPBVfacet at locale@2@@Z) already defined in libcpmtd.lib(cout.obj)

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const " (?_Getfacet at locale@std@@QBEPBVfacet at 12@I at Z) already defined in libcpmtd.lib(locale0.obj)

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit at std@@QAE at XZ) already defined in dum.lib(InviteSession.obj)

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit at std@@QAE at H@Z) already defined in dum.lib(InviteSession.obj)

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ) already defined in Sipphone.obj

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at ABV01@@Z) already defined in SipphoneX.obj

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at PBD@Z) already defined in SipphoneX.obj

msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(unsigned int,char)" (??0?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at ID@Z) already defined in libcpmtd.lib(cout.obj)

msvcprt.lib(MSVCP71.dll) : error LNK2005: "bool __cdecl std::uncaught_exception(void)" (?uncaught_exception at std@@YA_NXZ) already defined in libcpmtd.lib(uncaught.obj)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050221/dee4a460/attachment.htm>


More information about the resiprocate-devel mailing list