< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] Multiply defined symbols


Christian,

Please see the following link

http://list.sipfoundry.org/archive/resiprocate-devel/msg02740.html

Any problems, let me know.

kaiduan
--- Christian_Gavin@xxxxxxxxxxxx wrote:

> 
> Hi,
> 
> I am using the following code generation option
> under Visual Studio .NET
> 2003 (and the 0.9 release of resiprocate):
> 
> ares        Multithreaded debug (/MTd)
> resiprocate Multithreaded debug (/MTd)
> dum         Multithreaded debug (/MTd)
> 
> My project consists of a dll using resiprocate. This
> dll uses MFC as
> statically linked and the same Multithreaded debug
> code generation option
> (/MTd).
> 
> I am getting these errors when linking my dll with
> resiprocate:
> 
> Linking...
> nafxcwd.lib(afxmem.obj) : error LNK2005: "void *
> __cdecl operator
> new(unsigned int)" (??2@YAPAXI@Z) already defined in
> dum.lib(InviteSession.obj)
> nafxcwd.lib(afxmem.obj) : error LNK2005: "void
> __cdecl operator delete(void
> *,int,char const *,int)" (??3@YAXPAXHPBDH@Z) already
> defined in
> dum.lib(DialogUsageManager.obj)
> nafxcwd.lib(afxmem.obj) : warning LNK4006: "void *
> __cdecl operator
> new(unsigned int)" (??2@YAPAXI@Z) already defined in
> dum.lib(InviteSession.obj); second definition
> ignored
> nafxcwd.lib(afxmem.obj) : warning LNK4006: "void
> __cdecl operator
> delete(void *,int,char const *,int)"
> (??3@YAXPAXHPBDH@Z) already defined in
> dum.lib(DialogUsageManager.obj); second definition
> ignored
> 
> Has anyone seen these before I spend hours
> investigating <shrug> ? I tried
> playing around with changing the threading model and
> it didn't fix it (it
> even added more errors).
> 
> Thanks!
> CG
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
>
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com