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

[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