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

RE: [reSIProcate] Multiply defined symbols


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


-----Original Message-----
From: Christian_Gavin@xxxxxxxxxxxx [mailto:Christian_Gavin@xxxxxxxxxxxx] 
Sent: Tuesday, July 12, 2005 11:17 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] Multiply defined symbols


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