Bugs item #1758052, was opened at 2007-07-21 14:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1758052&group_id=51305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: JC Francois (jeancf)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxCURL: "multiple definition" error with static library

Initial Comment:
Hi,

when trying to link my application with a static build of my libraries (wxMSW, 
wxSqlite3, wxCURL) using Code::Blocks + mingw I get the following error:

c:\dev\wxMSW-2.8.4\lib\gcc_lib/libwxmsw28ud.a(monolib_log.o): In function 
`Z10wxLogDebugPKwz':C:/dev/wxMSW-2.8.4/build/msw/../../src/common/log.cpp:237: 
multiple definition of `wxLogDebug(wchar_t const*, ...)'
C:\dev\wxCURL-SVN\lib\gcc_lib/libwxcode_msw28u_wxcurl.a(wxcurl_lib_base.o):base.cpp:(.text$_Z10wxLogDebugPKwz[wxLogDebug(wchar_t
 const*, ...)]+0x0): first defined here
collect2: ld returned 1 exit status


When doing the same thing using DLLs I get no error. What can it be?

Thanks for your help,

/~jc

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1758052&group_id=51305

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to