5 Replies Last post: Aug 14, 2008 8:21 PM by Guest  
Guest

Aug 4, 2008 10:07 AM

[OpenSIPStack] Compilation Issues (conflict between Opensipstackd.lib and default MFC libraries!!)

Guest
1. Aug 4, 2008 10:07 AM in response to: Guest
Re: [OpenSIPStack] Compilation Issues (conflict between Opensipstackd.lib and default MFC libraries!!)
What version of visual studio are you using?

Koushik PSR wrote:
Hello Joegen,

I am afraid the previous mail of mine has been rejected at Opensipstack
forums and i dont know why, I just received Mail bounce notice from Yahoo...

check out my previous mail please!!

cheers,
Jay
========================================================================================================

Hello Joegen,

I hope i am not wrong this time around.. I have a genuine linker problems...
I will paste the relevant information below.. I think there is a conflict
between opensipstackd.lib and the default MFC Libraries like... nafxcwd.lib
msvcprtd.lib and libcmtd.lib, I think some of the project settings
parameters are wrong.... I have compared the same with OSSPhone project
settings and it seems to matching one on one... the only difference is that
my project is based on Single Document interface whereas I beleive OssPhone
is based on simple Dialog based project, am I right in understanding this?
if so tell me how can I make this work with SDI projects?

Here goes the Error output:


Build started: Project: VQubeExtreme, Configuration: Release Win32

Linking...
SipStack.obj : fatal error LNK1276: invalid directive 'Files/Microsoft'
found; does not start with '/'
Build log was saved at
"file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Release\BuildLog.htm"
VQubeExtreme - 1 error(s), 0 warning(s)

Build started: Project: VQubeExtreme, Configuration: Debug Win32

Linking...
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new[](unsigned int)" (??_U@YAPAXI@Z) already defined in
opensipstackd.lib(object.obj)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator
delete[](void *)" (??_V@YAXPAX@Z) already defined in
opensipstackd.lib(object.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall
std::basic_streambuf

::~basic_streambuf >(void)"
(??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall
std::basic_streambuf

::basic_streambuf >(void)"
(??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall
std::basic_ios >::~basic_ios std::char_traits >(void)" (??1?$basic_ios@DU?$char_traits@D@std@@@std@
@UAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_streambuf > * __thiscall
std::basic_ios >::rdbuf(void)const "
(?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_streambuf@DU
?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall
std::basic_ios >::basic_ios std::char_traits >(void)" (??0?$basic_ios@DU?$char_traits@D@std@@@std@
@IAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::flags(void)const " (?flags@ios_base@std@@QBEHXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_ios >::clear(int,bool)"
(?clear@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_ostream > & __thiscall
std::basic_ostream >::flush(void)"
(?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool __thiscall
std::ios_base::fail(void)const " (?fail@ios_base@std@@QBE_NXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::width(int)" (?width@ios_base@std@@QAEHH@Z) already defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_ios >::setstate(int,bool)"
(?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static bool __cdecl
std::char_traits::eq_int_type(int const &,int const &)" (?eq_int_type@
?$char_traits@D@std@@SA_NABH0@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static int __cdecl
std::char_traits::eof(void)" (?eof@?$char_traits@D@std@@SAHXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::basic_streambuf >::sputc(char)"
(?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char __thiscall
std::basic_ios >::fill(void)const "
(?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ) already defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::width(void)const " (?width@ios_base@std@@QBEHXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_ostream > * __thiscall
std::basic_ios >::tie(void)const " (?tie@
?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU
?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool __thiscall
std::ios_base::good(void)const " (?good@ios_base@std@@QBE_NXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_ostream >::_Osfx(void)"
(?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "bool __cdecl
std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ) already
defined in libcpmtd.lib(uncaught.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_streambuf >::_Lock(void)"
(?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_streambuf >::_Unlock(void)"
(?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::basic_streambuf >::sputn(char const
*,int)" (?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static unsigned int
__cdecl std::char_traits::length(char const *)" (?length@
?$char_traits@D@std@@SAIPBD@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::~basic_string std::char_traits,class std::allocator >(void)"
(??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::basic_string std::char_traits,class std::allocator >(class
std::basic_string,class
std::allocator > const &)" (??0?$basic_string@DU?$char_traits@D@std@
@V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "class
std::basic_ostream > & __cdecl
std::operator,class
std::allocator >(class std::basic_ostream std::char_traits > &,class std::basic_string std::char_traits,class std::allocator > const &)"
(??$?6DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_ostream@DU
?$char_traits@D@std@@@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std@
@V?$allocator@D@2@@0@@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const & __thiscall
std::basic_string,class
std::allocator >::operator[](unsigned int)const "
(??A?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEABDI@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const * __thiscall
std::basic_string,class
std::allocator >::c_str(void)const " (?c_str@?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_ostringstream,class
std::allocator >::`vbase destructor'(void)"
(??_D?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXXZ)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_ostringstream,class
std::allocator >::basic_ostringstream std::char_traits,class std::allocator >(int)"
(??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
@QAE@H@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::basic_string std::char_traits,class std::allocator >(char const *)"
(??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in
libcpmtd.lib(xlock.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in
libcpmtd.lib(xlock.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "void __cdecl
std::_Debug_message(unsigned short const *,unsigned short const *,unsigned
int)" (?_Debug_message@std@@YAXPBG0I@Z) already defined in
libcpmtd.lib(stdthrow.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_string,class
std::allocator >::_Myptr(void)" (?_Myptr@?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEPADXZ) already defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::_Container_base::_Orphan_all(void)const " (?_Orphan_all@
_Container_base@std@@QBEXXZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Container_base::~_Container_base(void)" (??1_Container_base@std
@@QAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Container_base::_Container_base(void)" (??0_Container_base@std@@QAE@XZ)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall
std::basic_streambuf >::setg(char *,char
*,char *)" (?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD00@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall
std::basic_streambuf >::pbump(int)"
(?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall
std::basic_streambuf >::setp(char *,char
*)" (?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD0@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf >::pbase(void)const
" (?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf >::eback(void)const
" (?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf >::gptr(void)const "
(?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf >::epptr(void)const
" (?epptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf >::pptr(void)const "
(?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf >::egptr(void)const
" (?egptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall
std::basic_ostream

::~basic_ostream >(void)"
(??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_ostream

::basic_ostream >(class
std::basic_streambuf > *,bool)"
(??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU
?$char_traits@D@std@@@1@_N@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall
std::basic_ios >::init(class
std::basic_streambuf > *,bool)" (?init@
?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU
?$char_traits@D@std@@@2@_N@Z) already defined in SipStack.obj
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __atoi64 already defined in
libcmtd.lib(atox.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isxdigit already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isdigit already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isspace already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __localtime64 already defined in
libcmtd.lib(loctim64.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __gmtime64 already defined in
libcmtd.lib(gmtime64.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __errno already defined in
libcmtd.lib(dosmap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __read already defined in
libcmtd.lib(read.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __write already defined in
libcmtd.lib(write.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _free already defined in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _calloc already defined in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _tolower already defined in
libcmtd.lib(tolower.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isupper already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _malloc already defined in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _islower already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtol already defined in
libcmtd.lib(strtol.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtoul already defined in
libcmtd.lib(strtol.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strncmp already defined in
libcmtd.lib(strncmp.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __invalid_parameter already
defined in libcmtd.lib(invarg.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __CrtDbgReportW already defined
in libcmtd.lib(dbgrptw.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: virtual __thiscall
std::exception::~exception(void)" (??1exception@std@@UAE@XZ) already defined
in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall
std::exception::exception(void)" (??0exception@std@@QAE@XZ) already defined
in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall
std::exception::exception(class std::exception const &)" (??0exception@std
@@QAE@ABV01@@Z) already defined in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall
std::exception::exception(char const * const &)" (??0exception@std
@@QAE@ABQBD@Z) already defined in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _realloc already defined in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isprint already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove already defined in
libcmtd.lib(memmove.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strchr already defined in
libcmtd.lib(strchr.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _sprintf already defined in
libcmtd.lib(sprintf.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __stricmp already defined in
libcmtd.lib(stricmp.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __beginthreadex already defined
in libcmtd.lib(threadex.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __close already defined in
libcmtd.lib(close.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strrchr already defined in
libcmtd.lib(strrchr.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atoi already defined in
libcmtd.lib(atox.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _getenv already defined in
libcmtd.lib(getenv.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __exit already defined in
libcmtd.lib(crt0dat.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _exit already defined in
libcmtd.lib(crt0dat.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalpha already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strspn already defined in
libcmtd.lib(strspn.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atol already defined in
libcmtd.lib(atox.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalnum already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove_s already defined in
libcmtd.lib(memmove_s.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __strnicmp already defined in
libcmtd.lib(strnicmp.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _printf already defined in
libcmtd.lib(printf.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: ___iob_func already defined in
libcmtd.lib(_file.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall
type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z)
already defined in libcmtd.lib(typinfo.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info &
__thiscall type_info::operator=(class type_info const &)" (??4type_info@
@AAEAAV0@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: char const * __thiscall
type_info::_name_internal_method(struct __type_info_node *)const "
(?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z) already
defined in libcmtd.lib(typinfo.obj)
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other
libs; use /NODEFAULTLIB:library
I:\PROJECTEXTREME\opensipstack\Debug\VQubeExtreme.exe : fatal error LNK1169:
one or more multiply defined symbols found
Build log was saved at
"file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Debug\BuildLog.htm"
VQubeExtreme - 102 error(s), 1 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

cheers,
Jay

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.5.12/1589 - Release Date: 8/3/2008 1:00 PM



This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
2. Aug 5, 2008 5:49 AM in response to: Guest
Re: [OpenSIPStack] Compilation Issues (conflict between Opensipstackd.lib and default MFC libraries!!)
Hi Joegen,

I am presently using Visual Studio 2005 Team Suite Edition and the
development language is VC++ 2005. Tell me if there is any compatibility
issues... if so, please let me know an alternate approach to this?

cheers,
jay

On Mon, Aug 4, 2008 at 7:37 PM, joegen@opensipstack.org wrote:

What version of visual studio are you using?

Koushik PSR wrote:
Hello Joegen,

I am afraid the previous mail of mine has been rejected at Opensipstack
forums and i dont know why, I just received Mail bounce notice from
Yahoo...


check out my previous mail please!!

cheers,
Jay
========================================================================================================

Hello Joegen,

I hope i am not wrong this time around.. I have a genuine linker
problems...
I will paste the relevant information below.. I think there is a conflict
between opensipstackd.lib and the default MFC Libraries like...
nafxcwd.lib
msvcprtd.lib and libcmtd.lib, I think some of the project settings
parameters are wrong.... I have compared the same with OSSPhone project
settings and it seems to matching one on one... the only difference is
that
my project is based on Single Document interface whereas I beleive
OssPhone
is based on simple Dialog based project, am I right in understanding
this?
if so tell me how can I make this work with SDI projects?

Here goes the Error output:

Build started: Project: VQubeExtreme, Configuration: Release Win32

Linking...
SipStack.obj : fatal error LNK1276: invalid directive 'Files/Microsoft'
found; does not start with '/'
Build log was saved at
"file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Release\BuildLog.htm"
VQubeExtreme - 1 error(s), 0 warning(s)

Build started: Project: VQubeExtreme, Configuration: Debug Win32

Linking...
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new[](unsigned int)" (??_U@YAPAXI@Z) already defined in
opensipstackd.lib(object.obj)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator
delete[](void *)" (??_V@YAXPAX@Z) already defined in
opensipstackd.lib(object.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall
std::basic_streambuf

::~basic_streambuf >(void)"
(??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall
std::basic_streambuf

::basic_streambuf >(void)"
(??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall
std::basic_ios
::~basic_ios > std::char_traits >(void)" (??1?$basic_ios@DU?$char_traits@D@std@
@@std@
@UAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_streambuf > * __thiscall
std::basic_ios >::rdbuf(void)const "
(?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@
@QBEPAV?$basic_streambuf@DU
?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall
std::basic_ios
::basic_ios > std::char_traits >(void)" (??0?$basic_ios@DU?$char_traits@D@std@
@@std@
@IAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::flags(void)const " (?flags@ios_base@std@@QBEHXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_ios >::clear(int,bool)"
(?clear@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_ostream > & __thiscall
std::basic_ostream >::flush(void)"
(?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool __thiscall
std::ios_base::fail(void)const " (?fail@ios_base@std@@QBE_NXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::width(int)" (?width@ios_base@std@@QAEHH@Z) already
defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_ios >::setstate(int,bool)"
(?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static bool __cdecl
std::char_traits::eq_int_type(int const &,int const &)"
(?eq_int_type@
?$char_traits@D@std@@SA_NABH0@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static int __cdecl
std::char_traits::eof(void)" (?eof@?$char_traits@D@std@@SAHXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::basic_streambuf >::sputc(char)"
(?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char __thiscall
std::basic_ios >::fill(void)const "
(?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ) already defined
in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::width(void)const " (?width@ios_base@std@@QBEHXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_ostream > * __thiscall
std::basic_ios >::tie(void)const "
(?tie@
?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU
?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool __thiscall
std::ios_base::good(void)const " (?good@ios_base@std@@QBE_NXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_ostream >::_Osfx(void)"
(?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "bool __cdecl
std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ) already
defined in libcpmtd.lib(uncaught.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_streambuf >::_Lock(void)"
(?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_streambuf >::_Unlock(void)"
(?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::basic_streambuf >::sputn(char
const
*,int)" (?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@
@QAEHPBDH@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static unsigned int
__cdecl std::char_traits::length(char const *)" (?length@
?$char_traits@D@std@@SAIPBD@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::~basic_string > std::char_traits,class std::allocator >(void)"
(??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::basic_string > std::char_traits,class std::allocator >(class
std::basic_string,class
std::allocator > const &)" (??0?$basic_string@DU?$char_traits@D
@std@
@V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "class
std::basic_ostream > & __cdecl
std::operator,class
std::allocator >(class std::basic_ostream > std::char_traits > &,class std::basic_string > std::char_traits,class std::allocator > const &)"
(??$?6DU?$char_traits@D@std@@V?$allocator@D@1@@std@
@YAAAV?$basic_ostream@DU
?$char_traits@D@std@@@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std@
@V?$allocator@D@2@@0@@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const &
__thiscall
std::basic_string,class
std::allocator >::operator[](unsigned int)const "
(??A?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
@QBEABDI@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const *
__thiscall
std::basic_string,class
std::allocator >::c_str(void)const " (?c_str@?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::basic_ostringstream,class
std::allocator >::`vbase destructor'(void)"
(??_D?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
@QAEXXZ)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_ostringstream,class
std::allocator >::basic_ostringstream > std::char_traits,class std::allocator >(int)"
(??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
@QAE@H@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::basic_string > std::char_traits,class std::allocator >(char const *)"
(??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD
@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined
in
libcpmtd.lib(xlock.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in
libcpmtd.lib(xlock.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "void __cdecl
std::_Debug_message(unsigned short const *,unsigned short const
*,unsigned
int)" (?_Debug_message@std@@YAXPBG0I@Z) already defined in
libcpmtd.lib(stdthrow.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_string,class
std::allocator >::_Myptr(void)" (?_Myptr@?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEPADXZ) already defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall
std::_Container_base::_Orphan_all(void)const " (?_Orphan_all@
_Container_base@std@@QBEXXZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Container_base::~_Container_base(void)" (??1_Container_base@std
@@QAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Container_base::_Container_base(void)" (??0_Container_base@std
@@QAE@XZ)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall
std::basic_streambuf >::setg(char
*,char
*,char *)" (?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@
@IAEXPAD00@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall
std::basic_streambuf >::pbump(int)"
(?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall
std::basic_streambuf >::setp(char
*,char
*)" (?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD0@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf
::pbase(void)const
" (?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf
::eback(void)const
" (?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf
::gptr(void)const "
(?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf
::epptr(void)const
" (?epptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf
::pptr(void)const "
(?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall
std::basic_streambuf
::egptr(void)const
" (?egptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall
std::basic_ostream

::~basic_ostream >(void)"
(??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined
in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_ostream

::basic_ostream >(class
std::basic_streambuf > *,bool)"
(??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV
?$basic_streambuf@DU
?$char_traits@D@std@@@1@_N@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall
std::basic_ios >::init(class
std::basic_streambuf > *,bool)"
(?init@
?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU
?$char_traits@D@std@@@2@_N@Z) already defined in SipStack.obj
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __atoi64 already defined in
libcmtd.lib(atox.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isxdigit already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isdigit already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isspace already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __localtime64 already defined
in
libcmtd.lib(loctim64.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __gmtime64 already defined in
libcmtd.lib(gmtime64.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __errno already defined in
libcmtd.lib(dosmap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __read already defined in
libcmtd.lib(read.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __write already defined in
libcmtd.lib(write.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _free already defined in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _calloc already defined in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _tolower already defined in
libcmtd.lib(tolower.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isupper already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _malloc already defined in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _islower already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtol already defined in
libcmtd.lib(strtol.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtoul already defined in
libcmtd.lib(strtol.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strncmp already defined in
libcmtd.lib(strncmp.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __invalid_parameter already
defined in libcmtd.lib(invarg.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __CrtDbgReportW already
defined
in libcmtd.lib(dbgrptw.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: virtual __thiscall
std::exception::~exception(void)" (??1exception@std@@UAE@XZ) already
defined
in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall
std::exception::exception(void)" (??0exception@std@@QAE@XZ) already
defined
in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall
std::exception::exception(class std::exception const &)"
(??0exception@std
@@QAE@ABV01@@Z) already defined in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall
std::exception::exception(char const * const &)" (??0exception@std
@@QAE@ABQBD@Z) already defined in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _realloc already defined in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isprint already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove already defined in
libcmtd.lib(memmove.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strchr already defined in
libcmtd.lib(strchr.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _sprintf already defined in
libcmtd.lib(sprintf.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __stricmp already defined in
libcmtd.lib(stricmp.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __beginthreadex already
defined
in libcmtd.lib(threadex.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __close already defined in
libcmtd.lib(close.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strrchr already defined in
libcmtd.lib(strrchr.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atoi already defined in
libcmtd.lib(atox.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _getenv already defined in
libcmtd.lib(getenv.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __exit already defined in
libcmtd.lib(crt0dat.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _exit already defined in
libcmtd.lib(crt0dat.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalpha already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strspn already defined in
libcmtd.lib(strspn.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atol already defined in
libcmtd.lib(atox.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalnum already defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove_s already defined in
libcmtd.lib(memmove_s.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __strnicmp already defined in
libcmtd.lib(strnicmp.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _printf already defined in
libcmtd.lib(printf.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: ___iob_func already defined in
libcmtd.lib(_file.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall
type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0
@@Z)
already defined in libcmtd.lib(typinfo.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info &
__thiscall type_info::operator=(class type_info const &)" (??4type_info@
@AAEAAV0@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: char const *
__thiscall
type_info::_name_internal_method(struct __type_info_node *)const "
(?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z)
already
defined in libcmtd.lib(typinfo.obj)
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other
libs; use /NODEFAULTLIB:library
I:\PROJECTEXTREME\opensipstack\Debug\VQubeExtreme.exe : fatal error
LNK1169:
one or more multiply defined symbols found
Build log was saved at
"file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Debug\BuildLog.htm"
VQubeExtreme - 102 error(s), 1 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped
==========

cheers,
Jay

This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.5.12/1589 - Release Date: 8/3/2008

1:00 PM


This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
3. Aug 13, 2008 5:29 AM in response to: Guest
Re: [OpenSIPStack] Compilation Issues (conflict between Opensipstackd.lib and default MFC libraries!!)
Are you statically linking OSS and/or mfc/atl ?

-----Original Message-----
From: opensipstack-devel-bounces@lists.sourceforge.net
opensipstack-devel-bounces@lists.sourceforge.net On Behalf Of
Koushik PSR
Sent: Tuesday, August 05, 2008 11:49
To: joegen@opensipstack.org; opensipstack-devel@lists.sourceforge.net
Subject: Re: OpenSIPStack Compilation Issues (conflict between
Opensipstackd.lib and default MFC libraries!!)

Hi Joegen,

I am presently using Visual Studio 2005 Team Suite Edition and the
development language is VC++ 2005. Tell me if there is any
compatibility
issues... if so, please let me know an alternate approach to this?

cheers,
jay

On Mon, Aug 4, 2008 at 7:37 PM, joegen@opensipstack.org joegen.baclor@gmail.com> wrote:

What version of visual studio are you using?

Koushik PSR wrote:
Hello Joegen,

I am afraid the previous mail of mine has been rejected at
Opensipstack
forums and i dont know why, I just received Mail bounce notice from
Yahoo...


check out my previous mail please!!

cheers,
Jay
=======================================================================
=================================

Hello Joegen,

I hope i am not wrong this time around.. I have a genuine linker
problems...
I will paste the relevant information below.. I think there is a
conflict
between opensipstackd.lib and the default MFC Libraries like...
nafxcwd.lib
msvcprtd.lib and libcmtd.lib, I think some of the project settings
parameters are wrong.... I have compared the same with OSSPhone
project
settings and it seems to matching one on one... the only difference
is
that
my project is based on Single Document interface whereas I beleive
OssPhone
is based on simple Dialog based project, am I right in
understanding
this?
if so tell me how can I make this work with SDI projects?

Here goes the Error output:

Build started: Project: VQubeExtreme, Configuration: Release
Win32
------
Linking...
SipStack.obj : fatal error LNK1276: invalid directive
'Files/Microsoft'
found; does not start with '/'
Build log was saved at
"file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Release\BuildLog.ht
m"
VQubeExtreme - 1 error(s), 0 warning(s)

Build started: Project: VQubeExtreme, Configuration: Debug
Win32
------
Linking...
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new[](unsigned int)" (??_U@YAPAXI@Z) already defined in
opensipstackd.lib(object.obj)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator
delete[](void *)" (??_V@YAXPAX@Z) already defined in
opensipstackd.lib(object.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual
__thiscall
std::basic_streambuf

::~basic_streambuf >(void)"
(??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall
std::basic_streambuf

::basic_streambuf >(void)"
(??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual
__thiscall
std::basic_ios
::~basic_ios > > std::char_traits >(void)"
(??1?$basic_ios@DU?$char_traits@D@std@
@@std@
@UAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_streambuf > *
__thiscall
std::basic_ios
::rdbuf(void)const "
(?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@
@QBEPAV?$basic_streambuf@DU
?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall
std::basic_ios
::basic_ios > > std::char_traits >(void)"
(??0?$basic_ios@DU?$char_traits@D@std@
@@std@
@IAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::flags(void)const " (?flags@ios_base@std@@QBEHXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_ios
::clear(int,bool)"
(?clear@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_ostream > &
__thiscall
std::basic_ostream
::flush(void)"
(?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool
__thiscall
std::ios_base::fail(void)const " (?fail@ios_base@std@@QBE_NXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::width(int)" (?width@ios_base@std@@QAEHH@Z) already
defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_ios
::setstate(int,bool)"
(?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static bool
__cdecl
std::char_traits::eq_int_type(int const &,int const &)"
(?eq_int_type@
?$char_traits@D@std@@SA_NABH0@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static int
__cdecl
std::char_traits::eof(void)"
(?eof@?$char_traits@D@std@@SAHXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::basic_streambuf
::sputc(char)"
(?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char
__thiscall
std::basic_ios
::fill(void)const "
(?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ) already
defined
in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::width(void)const " (?width@ios_base@std@@QBEHXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_ostream > *
__thiscall
std::basic_ios >::tie(void)const
"
(?tie@
?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU
?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool
__thiscall
std::ios_base::good(void)const " (?good@ios_base@std@@QBE_NXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_ostream
::_Osfx(void)"
(?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ)
already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "bool __cdecl
std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ)
already
defined in libcpmtd.lib(uncaught.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_streambuf
::_Lock(void)"
(?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_streambuf
::_Unlock(void)"
(?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::basic_streambuf
::sputn(char
const
*,int)" (?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@
@QAEHPBDH@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static
unsigned int
__cdecl std::char_traits::length(char const *)" (?length@
?$char_traits@D@std@@SAIPBD@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::~basic_string > > std::char_traits,class std::allocator >(void)"
(??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ
)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::basic_string > > std::char_traits,class std::allocator >(class
std::basic_string,class
std::allocator > const &)"
(??0?$basic_string@DU?$char_traits@D
@std@
@V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "class
std::basic_ostream > & __cdecl
std::operator,class
std::allocator >(class std::basic_ostream > > std::char_traits > &,class std::basic_string > > std::char_traits,class std::allocator > const &)"
(??$?6DU?$char_traits@D@std@@V?$allocator@D@1@@std@
@YAAAV?$basic_ostream@DU

?$char_traits@D@std@@@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std
@
@V?$allocator@D@2@@0@@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const &
__thiscall
std::basic_string,class
std::allocator >::operator[](unsigned int)const "
(??A?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
@QBEABDI@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const *
__thiscall
std::basic_string,class
std::allocator >::c_str(void)const "
(?c_str@?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already
defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_ostringstream,class
std::allocator >::`vbase destructor'(void)"
(??_D?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std
@
@QAEXXZ)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_ostringstream,class
std::allocator >::basic_ostringstream > > std::char_traits,class std::allocator >(int)"
(??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
@QAE@H@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::basic_string > > std::char_traits,class std::allocator >(char const *)"
(??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PB
D
@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already
defined
in
libcpmtd.lib(xlock.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already
defined in
libcpmtd.lib(xlock.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "void __cdecl
std::_Debug_message(unsigned short const *,unsigned short const
*,unsigned
int)" (?_Debug_message@std@@YAXPBG0I@Z) already defined in
libcpmtd.lib(stdthrow.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_string,class
std::allocator >::_Myptr(void)" (?_Myptr@?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEPADXZ) already
defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::_Container_base::_Orphan_all(void)const " (?_Orphan_all@
_Container_base@std@@QBEXXZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Container_base::~_Container_base(void)"
(??1_Container_base@std
@@QAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Container_base::_Container_base(void)"
(??0_Container_base@std
@@QAE@XZ)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void
__thiscall
std::basic_streambuf
::setg(char
*,char
*,char *)" (?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@
@IAEXPAD00@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void
__thiscall
std::basic_streambuf
::pbump(int)"
(?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void
__thiscall
std::basic_streambuf
::setp(char
*,char
*)"
(?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD0@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::pbase(void)const
" (?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::eback(void)const
" (?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::gptr(void)const "
(?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::epptr(void)const
" (?epptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::pptr(void)const "
(?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::egptr(void)const
" (?egptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual
__thiscall
std::basic_ostream

::~basic_ostream >(void)"
(??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UAE@XZ) already
defined
in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_ostream

::basic_ostream >(class
std::basic_streambuf > *,bool)"
(??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV
?$basic_streambuf@DU
?$char_traits@D@std@@@1@_N@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void
__thiscall
std::basic_ios >::init(class
std::basic_streambuf > *,bool)"
(?init@

?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU
?$char_traits@D@std@@@2@_N@Z) already defined in SipStack.obj
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __atoi64 already defined
in
libcmtd.lib(atox.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isxdigit already
defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isdigit already defined
in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isspace already defined
in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __localtime64 already
defined
in
libcmtd.lib(loctim64.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __gmtime64 already
defined in
libcmtd.lib(gmtime64.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __errno already defined
in
libcmtd.lib(dosmap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __read already defined
in
libcmtd.lib(read.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __write already defined
in
libcmtd.lib(write.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _free already defined in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _calloc already defined
in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _tolower already defined
in
libcmtd.lib(tolower.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isupper already defined
in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _malloc already defined
in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _islower already defined
in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtol already defined
in
libcmtd.lib(strtol.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtoul already defined
in
libcmtd.lib(strtol.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strncmp already defined
in
libcmtd.lib(strncmp.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __invalid_parameter
already
defined in libcmtd.lib(invarg.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __CrtDbgReportW already
defined
in libcmtd.lib(dbgrptw.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: virtual
__thiscall
std::exception::~exception(void)" (??1exception@std@@UAE@XZ)
already
defined
in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall
std::exception::exception(void)" (??0exception@std@@QAE@XZ) already
defined
in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall
std::exception::exception(class std::exception const &)"
(??0exception@std
@@QAE@ABV01@@Z) already defined in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall
std::exception::exception(char const * const &)" (??0exception@std
@@QAE@ABQBD@Z) already defined in libcmtd.lib(stdexcpt.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _realloc already defined
in
libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isprint already defined
in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove already defined
in
libcmtd.lib(memmove.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strchr already defined
in
libcmtd.lib(strchr.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _sprintf already defined
in
libcmtd.lib(sprintf.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __stricmp already
defined in
libcmtd.lib(stricmp.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __beginthreadex already
defined
in libcmtd.lib(threadex.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __close already defined
in
libcmtd.lib(close.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strrchr already defined
in
libcmtd.lib(strrchr.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atoi already defined in
libcmtd.lib(atox.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _getenv already defined
in
libcmtd.lib(getenv.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __exit already defined
in
libcmtd.lib(crt0dat.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _exit already defined in
libcmtd.lib(crt0dat.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalpha already defined
in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strspn already defined
in
libcmtd.lib(strspn.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atol already defined in
libcmtd.lib(atox.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalnum already defined
in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove_s already
defined in
libcmtd.lib(memmove_s.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __strnicmp already
defined in
libcmtd.lib(strnicmp.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _printf already defined
in
libcmtd.lib(printf.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: ___iob_func already
defined in
libcmtd.lib(_file.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall
type_info::type_info(class type_info const &)"
(??0type_info@@AAE@ABV0
@@Z)
already defined in libcmtd.lib(typinfo.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info
&
__thiscall type_info::operator=(class type_info const &)"
(??4type_info@
@AAEAAV0@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: char const *
__thiscall
type_info::_name_internal_method(struct __type_info_node *)const "
(?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z)
already
defined in libcmtd.lib(typinfo.obj)
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of
other
libs; use /NODEFAULTLIB:library
I:\PROJECTEXTREME\opensipstack\Debug\VQubeExtreme.exe : fatal error
LNK1169:
one or more multiply defined symbols found
Build log was saved at
"file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Debug\BuildLog.htm"
VQubeExtreme - 102 error(s), 1 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped
==========

cheers,
Jay
-------------------------------------------------------------------

This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great
prizes
Grand prize is a trip for two to an Open Source event anywhere in
the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.5.12/1589 - Release Date:

8/3/2008
1:00 PM

---------------------------------------------------------------------

----
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

--
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
4. Aug 14, 2008 8:29 AM in response to: Guest
Re: [OpenSIPStack] Compilation Issues (conflict between Opensipstackd.lib and default MFC libraries!!)
You are right on the button Thomas, I did link Mfc libraries statically...
anyway i resorted back to linking the libraries dynamically.. its working
perfectly now... but is there any way where i can link everything statically
and still make it work?

cheers,
jay

On Wed, Aug 13, 2008 at 2:51 PM, Thomas Raschbacher wrote:

Are you statically linking OSS and/or mfc/atl ?

-----Original Message-----
From: opensipstack-devel-bounces@lists.sourceforge.net
opensipstack-devel-bounces@lists.sourceforge.net On Behalf Of
Koushik PSR
Sent: Tuesday, August 05, 2008 11:49
To: joegen@opensipstack.org; opensipstack-devel@lists.sourceforge.net
Subject: Re: OpenSIPStack Compilation Issues (conflict between
Opensipstackd.lib and default MFC libraries!!)

Hi Joegen,

I am presently using Visual Studio 2005 Team Suite Edition and the
development language is VC++ 2005. Tell me if there is any
compatibility
issues... if so, please let me know an alternate approach to this?

cheers,
jay

On Mon, Aug 4, 2008 at 7:37 PM, joegen@opensipstack.org > joegen.baclor@gmail.com> wrote:

What version of visual studio are you using?

Koushik PSR wrote:
Hello Joegen,

I am afraid the previous mail of mine has been rejected at
Opensipstack
forums and i dont know why, I just received Mail bounce notice from
Yahoo...


check out my previous mail please!!

cheers,
Jay
=======================================================================
=================================

Hello Joegen,

I hope i am not wrong this time around.. I have a genuine linker
problems...
I will paste the relevant information below.. I think there is a
conflict
between opensipstackd.lib and the default MFC Libraries like...
nafxcwd.lib
msvcprtd.lib and libcmtd.lib, I think some of the project settings
parameters are wrong.... I have compared the same with OSSPhone
project
settings and it seems to matching one on one... the only difference
is
that
my project is based on Single Document interface whereas I beleive
OssPhone
is based on simple Dialog based project, am I right in
understanding
this?
if so tell me how can I make this work with SDI projects?

Here goes the Error output:

Build started: Project: VQubeExtreme, Configuration: Release
Win32
------
Linking...
SipStack.obj : fatal error LNK1276: invalid directive
'Files/Microsoft'
found; does not start with '/'
Build log was saved at
"file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Release\BuildLog.ht
m"
VQubeExtreme - 1 error(s), 0 warning(s)

Build started: Project: VQubeExtreme, Configuration: Debug
Win32
------
Linking...
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new[](unsigned int)" (??_U@YAPAXI@Z) already defined in
opensipstackd.lib(object.obj)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator
delete[](void *)" (??_V@YAXPAX@Z) already defined in
opensipstackd.lib(object.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual
__thiscall
std::basic_streambuf

::~basic_streambuf >(void)"
(??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall
std::basic_streambuf

::basic_streambuf >(void)"
(??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual
__thiscall
std::basic_ios
::~basic_ios > > > std::char_traits >(void)"
(??1?$basic_ios@DU?$char_traits@D@std@
@@std@
@UAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_streambuf > *
__thiscall
std::basic_ios
::rdbuf(void)const "
(?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@
@QBEPAV?$basic_streambuf@DU
?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall
std::basic_ios
::basic_ios > > > std::char_traits >(void)"
(??0?$basic_ios@DU?$char_traits@D@std@
@@std@
@IAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::flags(void)const " (?flags@ios_base@std@@QBEHXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_ios
::clear(int,bool)"
(?clear@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_ostream > &
__thiscall
std::basic_ostream
::flush(void)"
(?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool
__thiscall
std::ios_base::fail(void)const " (?fail@ios_base@std@@QBE_NXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::width(int)" (?width@ios_base@std@@QAEHH@Z) already
defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_ios
::setstate(int,bool)"
(?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static bool
__cdecl
std::char_traits::eq_int_type(int const &,int const &)"
(?eq_int_type@
?$char_traits@D@std@@SA_NABH0@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static int
__cdecl
std::char_traits::eof(void)"
(?eof@?$char_traits@D@std@@SAHXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::basic_streambuf
::sputc(char)"
(?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char
__thiscall
std::basic_ios
::fill(void)const "
(?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ) already
defined
in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::ios_base::width(void)const " (?width@ios_base@std@@QBEHXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class
std::basic_ostream > *
__thiscall
std::basic_ios >::tie(void)const
"
(?tie@
?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU
?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool
__thiscall
std::ios_base::good(void)const " (?good@ios_base@std@@QBE_NXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_ostream
::_Osfx(void)"
(?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ)
already
defined
in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "bool __cdecl
std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ)
already
defined in libcpmtd.lib(uncaught.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_streambuf
::_Lock(void)"
(?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_streambuf
::_Unlock(void)"
(?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall
std::basic_streambuf
::sputn(char
const
*,int)" (?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@
@QAEHPBDH@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static
unsigned int
__cdecl std::char_traits::length(char const *)" (?length@
?$char_traits@D@std@@SAIPBD@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::~basic_string > > > std::char_traits,class std::allocator >(void)"
(??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ
)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::basic_string > > > std::char_traits,class std::allocator >(class
std::basic_string,class
std::allocator > const &)"
(??0?$basic_string@DU?$char_traits@D
@std@
@V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "class
std::basic_ostream > & __cdecl
std::operator,class
std::allocator >(class std::basic_ostream > > > std::char_traits > &,class std::basic_string > > > std::char_traits,class std::allocator > const &)"
(??$?6DU?$char_traits@D@std@@V?$allocator@D@1@@std@
@YAAAV?$basic_ostream@DU

?$char_traits@D@std@@@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std
@
@V?$allocator@D@2@@0@@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const &
__thiscall
std::basic_string,class
std::allocator >::operator[](unsigned int)const "
(??A?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
@QBEABDI@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const *
__thiscall
std::basic_string,class
std::allocator >::c_str(void)const "
(?c_str@?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already
defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::basic_ostringstream,class
std::allocator >::`vbase destructor'(void)"
(??_D?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std
@
@QAEXXZ)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_ostringstream,class
std::allocator >::basic_ostringstream > > > std::char_traits,class std::allocator >(int)"
(??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
@QAE@H@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_string,class
std::allocator >::basic_string > > > std::char_traits,class std::allocator >(char const *)"
(??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PB
D
@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already
defined
in
libcpmtd.lib(xlock.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already
defined in
libcpmtd.lib(xlock.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "void __cdecl
std::_Debug_message(unsigned short const *,unsigned short const
*,unsigned
int)" (?_Debug_message@std@@YAXPBG0I@Z) already defined in
libcpmtd.lib(stdthrow.obj)
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_string,class
std::allocator >::_Myptr(void)" (?_Myptr@?$basic_string@DU
?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEPADXZ) already
defined in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void
__thiscall
std::_Container_base::_Orphan_all(void)const " (?_Orphan_all@
_Container_base@std@@QBEXXZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Container_base::~_Container_base(void)"
(??1_Container_base@std
@@QAE@XZ) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::_Container_base::_Container_base(void)"
(??0_Container_base@std
@@QAE@XZ)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void
__thiscall
std::basic_streambuf
::setg(char
*,char
*,char *)" (?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@
@IAEXPAD00@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void
__thiscall
std::basic_streambuf
::pbump(int)"
(?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void
__thiscall
std::basic_streambuf
::setp(char
*,char
*)"
(?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD0@Z)
already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::pbase(void)const
" (?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::eback(void)const
" (?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::gptr(void)const "
(?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::epptr(void)const
" (?epptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::pptr(void)const "
(?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char *
__thiscall
std::basic_streambuf
::egptr(void)const
" (?egptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ)
already
defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual
__thiscall
std::basic_ostream

::~basic_ostream >(void)"
(??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UAE@XZ) already
defined
in
SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall
std::basic_ostream

::basic_ostream >(class
std::basic_streambuf > *,bool)"
(??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV
?$basic_streambuf@DU
?$char_traits@D@std@@@1@_N@Z) already defined in SipStack.obj
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void
__thiscall
std::basic_ios >::init(class
std::basic_streambuf > *,bool)"
(?init@

?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU
?$char_traits@D@std@@@2@_N@Z) already defined in SipStack.obj
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __atoi64 already defined
in
libcmtd.lib(atox.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isxdigit already
defined in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isdigit already defined
in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isspace already defined
in
libcmtd.lib(_ctype.obj)
MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __localtime64 already
defined
in