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

RE: [reSIProcate] Help building small MFC dialog based program to testDUM


You must make sure that all projects: ares, resiprocate, dum, and your
application use either the same method to link in the standard
libraries.  They must either all use static linking or all use shared
DLL linking.

-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
kaiduan xie
Sent: Tuesday, September 14, 2004 4:48 PM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] Help building small MFC dialog based program to
testDUM

Hi, all,

This is not really related to DUM, but I still need
you guys help.

I write a small MFC dialog based application to test
DUM, and got stuck while building it. (Actually it
worked well in yesterday, and I have not change
anything, :).  The error is:


MAUA error LNK2005: "void * __cdecl operator
new(unsigned int)" (??2@YAPAXI@Z) already defined in
libcpmtd.lib(newop.obj)

MAUA error LNK2005: "void __cdecl operator delete(void
*)" (??3@YAXPAX@Z) already defined in
LIBCMTD.lib(dbgdel.obj)

MAUA error LNK2005: "void * __cdecl operator
new[](unsigned int)" (??_U@YAPAXI@Z) already defined
in libcpmtd.lib(newaop.obj)

MAUA error LNK2005: "void __cdecl operator
delete[](void *)" (??_V@YAXPAX@Z) already defined in
LIBCMTD.lib(delete2.obj)

MAUA fatal error LNK1169: one or more multiply defined
symbols found

The property of the project are listed below:

Use of MFC: Use standard windows library
Run time library: Multi-threaded Debug (/MTd)

The Visual C++.NET version is Version 7.1.3088. If I
changed Use of MFC to "Use MFC in static library or
Use MFC in shared DLL", more errors came out. 

Many thanks in advance,

kaiduan




______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel