|
|
Choosing A Webhost: |
RE: New Problem with DLL/MinGW: msg#00096db.mysql.c++
You could try using --out-implib=libmysqlpp.a instead of --out-implib=mysqlpp.a (I never know in a *nix type system whether or not to include the "lib" in front or not) Could you verify that a (any) "*.a" file is being generated? -Patrick -----Original Message----- From: Death Gauge [mailto:clay_hg@xxxxxxxxxxx] Sent: Sunday, November 20, 2005 11:07 AM To: p.s.mcmichael@xxxxxxxxxxxx; plusplus@xxxxxxxxxxxxxxx Subject: RE: New Problem with DLL/MinGW I did as you told me and I seem to get the mysqlpp.dll to compile but I can't seem to get mysqlpp.a to compile at all. I get the following error after adding the linker you recommend g++ -shared -o mysqlpp.dll --out-implib=mysqlpp.a debug/coldata.o debug/connect ion.o debug/datetime.o debug/field_names.o debug/field_types.o debug/fields.o de bug/manip.o debug/myset.o debug/qparms.o debug/query.o debug/result.o debug/row. o debug/sql_string.o debug/string_util.o debug/type_info.o debug/vallist.o -Lc: \mysql\lib\gcc -lmysqlclient del /q "..\examples\debug\"*.exe Could Not Find C:\mysql++\examples\debug\*.exe make[1]: *** No rule to make target `mysqlpp.a', needed by `all'. Stop. make[1]: Leaving directory `C:/mysql++/lib' make: *** [all] Error 2 --Death Gauge "How do you gauge your death?!" ----Original Message Follows---- From: "Patrick McMichael" <p.s.mcmichael@xxxxxxxxxxxx> To: "'MySQL++ Mailing List'" <plusplus@xxxxxxxxxxxxxxx> Subject: RE: New Problem with DLL/MinGW Date: Sat, 19 Nov 2005 21:50:19 -0500 Death, This error means it's not generating the import library for the mysqlpp library (which is used in programs that use the DLL to let them know what's in the DLL, I think). You should be able to add the following flag to your linker flags and it will build the import library for you as it builds the dll. --out-implib=mysqlpp.a Please let us know if you get it working in MinGW with a DLL, we've all tried and given up. -Patrick -----Original Message----- From: Death Gauge [mailto:clay_hg@xxxxxxxxxxx] Sent: Friday, November 18, 2005 12:06 AM To: plusplus@xxxxxxxxxxxxxxx Subject: New Problem with DLL/MinGW Well I seem to have compiled the DLL fine but then this pops up at the end of the compilation. del /q "..\examples\debug\"*.exe Could Not Find C:\mysql++\examples\debug\*.exe make[1]: *** No rule to make target `mysqlpp.a', needed by `all'. Stop. make[1]: Leaving directory `C:/mysql++/lib' make: *** [all] Error 2 Any ideas of what this means or how to fix it? --Death Gauge "How do you gauge your death?!" _________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=p.s.mcmichael@xxxxxxxxxxxx -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=clay_hg@xxxxxxxxxxx _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: New Problem with DLL/MinGW, Death Gauge |
|---|---|
| Next by Date: | Re: New Problem with DLL/MinGW, Ovidiu Bivolaru |
| Previous by Thread: | RE: New Problem with DLL/MinGW, Death Gauge |
| Next by Thread: | Re: New Problem with DLL/MinGW, Ovidiu Bivolaru |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |