[reSIProcate] error LNK2005
贾军营
jiajunying at sict.ac.cn
Sat Oct 8 06:49:36 CDT 2005
resiprocate-devel,您好!
hello everyone,i want develop a windows application(SIP Client)that resiprocate is the sip stack with vc7, when i build the there are some errors:
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in dum.lib(ServerInviteSession.obj)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z) already defined in dum.lib(DialogUsageManager.obj)
I use the same runtime library (mtd), I attempted to change the link order of nafxcwd.lib and dum.lib ,nafxcwd.lib before dum.lib ,but after i did that ,there are some new errors:
dum.lib(DialogUsageManager.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(DialogUsageManager.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(AppDialogSetFactory.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(AppDialogSetFactory.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z)already defined in nafxcwd.lib(afxmem.obj)
dum.lib(RedirectManager.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(RedirectManager.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z) already defined innafxcwd.lib(afxmem.obj)
dum.lib(Dialog.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(Dialog.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(DumTimeout.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(DumTimeout.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(DialogSet.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(DialogSet.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(AppDialogSet.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(AppDialogSet.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(DestroyUsage.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(DestroyUsage.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(InviteSession.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(ClientInviteSession.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(ServerInviteSession.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(KeepAliveTimeout.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z) already defined in nafxcwd.lib(afxmem.obj)
dum.lib(KeepAliveTimeout.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3 at YAXPAXHPBDH@Z) already defined in nafxcwd.lib(afxmem.obj)
Can you help me?
Thanks
jiajunying at sict.ac.cn
2005-10-08
More information about the resiprocate-devel
mailing list