Re: [OpenSIPStack] Linking errors
Brought to you by:
joegenbaclor
From: <jo...@op...> - 2008-11-05 15:10:07
|
Try linking to the C++ runtime dynamically. From the looks of it, you are trying to use Multi-threaded static linking. Try using Multi-threaded DLL instead in your code generation. If you still encounter problems after, please send your linker command line. You can also compare your linker command line to the OpenSBC linker command line and see what you did differently. Joegen OpenSIPStack Forum wrote: > Hi there, > > > I am using the OpenSipStack library in my VCProject. I complied the library in release configuration. But as I start compilation of my project in release configuration it gives me following linking errors: > > > 1>libcmtd.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRT.lib(MSVCR80.dll) > > > 1>libcmtd.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRT.lib(MSVCR80.dll) > > > 1>libcmtd.lib(crt0dat.obj) : error LNK2005: __amsg_exit already defined in MSVCRT.lib(MSVCR80.dll) > > > 1>libcmtd.lib(crt0dat.obj) : error LNK2005: __initterm_e already defined in MSVCRT.lib(MSVCR80.dll) > > > 1>libcmtd.lib(winxfltr.obj) : error LNK2005: ___CppXcptFilter already defined in MSVCRT.lib(MSVCR80.dll) > > > 1>libcmtd.lib(dbgheap.obj) : error LNK2005: _malloc already defined in MSVCRT.lib(MSVCR80.dll) > > > 1>libcmtd.lib(dbgheap.obj) : error LNK2005: _calloc already defined in MSVCRT.lib(MSVCR80.dll) > > > 1>libcmtd.lib(dbgheap.obj) : error LNK2005: _realloc already defined in MSVCRT.lib(MSVCR80.dll) > > > 1>libcmtd.lib(dbgheap.obj) : error LNK2005: _free already defined in MSVCRT.lib(MSVCR80.dll) > > > Through this is working fine if I do compliation in debug configuration of both library and project. > > > Can anybody have some clues on this? > > > Thanks in advance. > > > Regards, > > > Jaydeep > > > > ------------------------------------------------------------------------- > 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 > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |