[reSIProcate] Re: error LNK2005

Noiile noiile at hotmail.com
Tue Oct 11 00:25:35 CDT 2005


Alan Stokes, Hello 

Because some libraries(nafxcwd.lib??) you used is conflict with dum.
you can set option /FORCE:MULTIPLE in your project setting.

Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties. 
Click the Linker folder.
Click the Command Line property page.
Type the option /FORCE:MULTIPLE into the Additional Options box.

Noiile, noiile at hotmail.com
2005-10-11 
----- Receiving the following content ----- 
Receiver: Alan Stokes 
Receiver: resiprocate-devel 
Time: 2005-10-10, 16:24:11
Subject: [reSIProcate] Re: error LNK2005


I had similar problems when I tried to build on VC 7.1, which didn't go away on a rebuild all. The workaround I found was to remove the LEAK_CHECK preprocessor definition in the DUM project settings. I suspect that defining it is generating some sort of clash on new/delete, although I never managed to work out exactly what the problem was.

- Alan
 


---------- Forwarded message ----------
From: "Scott Godin" < slgodin at icescape.com>
To: "???" <jiajunying at sict.ac.cn>, "resiprocate-devel" <resiprocate-devel at list.sipfoundry.org >
Date: Sat, 8 Oct 2005 14:15:14 -0400
Subject: RE: [reSIProcate] error LNK2005

If you've made sure all of the C-runtime library settings are the same in all or your projects - try a "re-build all".  VS.NET doesn't seem to be able to correctly detect what needs to be re-built if you change c-runtime library settings.



From: resiprocate-devel-bounces at list.sipfoundry.org on behalf of 贾军营
Sent: Sat 10/8/2005 7:49 AM
To: resiprocate-devel
Subject: [reSIProcate] error LNK2005 


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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20051011/cdec54ba/attachment.htm>


More information about the resiprocate-devel mailing list