[reSIProcate] Re: error LNK2005

Alan Stokes alan at alanstokes.org.uk
Mon Oct 10 03:24:11 CDT 2005


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 <http://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/20051010/a8605696/attachment.htm>


More information about the resiprocate-devel mailing list