1 message in com.mysql.lists.win32Please someone help: Linker Errors!| From | Sent On | Attachments |
|---|---|---|
| David Ayliffe | 08 Aug 2001 14:24 |
| Subject: | Please someone help: Linker Errors!![]() |
|---|---|
| From: | David Ayliffe (me...@ayliffe.com) |
| Date: | 08/08/2001 02:24:42 PM |
| List: | com.mysql.lists.win32 |
This is what I get when I compile my VC project using the MySQL++ for VC:
Linking... libcpmtd.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in mysql++.lib(sql_query.obj) libcpmtd.lib(xlock.obj) : warning LNK4006: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in mysql++.lib(sql_query.obj); second definition ignored Creating library Debug/Export.lib and object Debug/Export.exp Debug/Export.dll : fatal error LNK1169: one or more multiply defined symbols found Error executing link.exe.
Export.dll - 2 error(s), 12 warning(s)
OK so what I think is happening is that a function is being declared twice. I have browsed the internet google searches and all-sorts. They all point to the project settings tab (im using VC6) and excluding the libraries in question. I have tried this but when I try and compile it again it gives me like hundreds - ok 30 errors. Someone must of had this problem before. Please what can I do to get rid of it. (BTW: One site pointed to changing the run-time libraries from multi-threaded DLL to multi-threaded, this compiled but the calling program could not find the DLL)
Please Help, any advice?
Thanks lots David Ayliffe (ma...@ayliffe.com)
Running Windows 2000 Advanced Server (SP2) Also running Suse Linux 7.1 Professional kernel 2.4




