![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
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 (AT) gats-inc (DOT) com To: "'MySQL++ Mailing List'" <plusplus (AT) lists (DOT) mysql.com 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 (AT) hotmail (DOT) com] Sent: Friday, November 18, 2005 12:06 AM To: plusplus (AT) lists (DOT) mysql.com 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?unsu...-inc (DOT) com -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...mail (DOT) com __________________________________________________ _______________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/o...ave/direct/01/ |
#6
| |||
| |||
|
|
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 (AT) gats-inc (DOT) com To: "'MySQL++ Mailing List'" <plusplus (AT) lists (DOT) mysql.com 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 (AT) hotmail (DOT) com] Sent: Friday, November 18, 2005 12:06 AM To: plusplus (AT) lists (DOT) mysql.com 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?unsu...-inc (DOT) com -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...mail (DOT) com __________________________________________________ _______________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/o...ave/direct/01/ |
#7
| |||
| |||
|
|
I did as you told me and I seem to get the mysqlpp.dll to compile but I=20 can't seem to get mysqlpp.a to compile at all. I get the following error= =20 after adding the linker you recommend g++ -shared -o mysqlpp.dll --out-implib=3Dmysqlpp.a debug/coldata.o=20 debug/connect ion.o debug/datetime.o debug/field_names.o debug/field_types.o=20 debug/fields.o de bug/manip.o debug/myset.o debug/qparms.o debug/query.o debug/result.o=20 debug/row. o debug/sql_string.o debug/string_util.o debug/type_info.o debug/vallist.o= =20 -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 (AT) gats-inc (DOT) com To: "'MySQL++ Mailing List'" <plusplus (AT) lists (DOT) mysql.com 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=20 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=3Dmysqlpp.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 (AT) hotmail (DOT) com] Sent: Friday, November 18, 2005 12:06 AM To: plusplus (AT) lists (DOT) mysql.com 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.a...d=3DRetirement -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...-inc (DOT) com -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...mail (DOT) com __________________________________________________ _______________ Don't just search. Find. Check out the new MSN Search!=20 http://search.msn.click-url.com/go/o...ave/direct/01/ |
#8
| |||
| |||
|
|
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 (AT) gats-inc (DOT) com To: "'MySQL++ Mailing List'" <plusplus (AT) lists (DOT) mysql.com 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 (AT) hotmail (DOT) com] Sent: Friday, November 18, 2005 12:06 AM To: plusplus (AT) lists (DOT) mysql.com 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?unsu...-inc (DOT) com -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...mail (DOT) com __________________________________________________ _______________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/o...ave/direct/01/ |
#9
| |||
| |||
|
|
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=3Dmysqlpp.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 (AT) gats-inc (DOT) com To: "'MySQL++ Mailing List'" <plusplus (AT) lists (DOT) mysql.com 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=3Dmysqlpp.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 (AT) hotmail (DOT) com] Sent: Friday, November 18, 2005 12:06 AM To: plusplus (AT) lists (DOT) mysql.com 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.a...d=3DRetirement -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...-inc (DOT) com -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...tmail (DOT) c= om __________________________________________________ _______________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/o...ave/direct/01/ |
#10
| |||
| |||
|
|
Well there might be some way to generate the .a from the DLL, but I don't know it - you're already way beyond the farthest I ever got anyway. Good luck, and make sure to let us know once you get it working. -Patrick -----Original Message----- From: Death Gauge [mailto:clay_hg (AT) hotmail (DOT) com] Sent: Monday, November 21, 2005 8:31 AM To: p.s.mcmichael (AT) gats-inc (DOT) com; plusplus (AT) lists (DOT) mysql.com Subject: RE: New Problem with DLL/MinGW Nope it just makes the DLL but not the '*.a' file that it is supposed to be making. I'm not giving up until I solve this problem and making MinGW version work with DLL again. --Death Gauge "How do you gauge your death?!" ----Original Message Follows---- From: "Patrick McMichael" <p.s.mcmichael (AT) gats-inc (DOT) com To: <plusplus (AT) lists (DOT) mysql.com Subject: RE: New Problem with DLL/MinGW Date: Sun, 20 Nov 2005 23:57:10 -0500 Is it building any .a? -----Original Message----- From: Death Gauge [mailto:clay_hg (AT) hotmail (DOT) com] Sent: Sunday, November 20, 2005 8:44 PM To: plusplus (AT) lists (DOT) mysql.com Subject: Re: New Problem with DLL/MinGW Oddly none of those ideas seem to work .--Death Gauge "How do you gauge your death?!" ----Original Message Follows---- From: Ovidiu Bivolaru <ovidiu (AT) targujiu (DOT) rdsnet.ro Reply-To: ovidiu (AT) targujiu (DOT) rdsnet.ro CC: plusplus (AT) lists (DOT) mysql.com Subject: Re: New Problem with DLL/MinGW Date: Sun, 20 Nov 2005 22:16:52 +0200 Actually, it is simple to override this . In mysq++/lib/Makefile, at line 139 there is a rule which is targeting "examples" directory: $(RM) $(EX_BIN_DIR)*$(EXE). Is this correct ? Comment out this line (put # at begging of this line). Regards, Ovidiu Death Gauge wrote: 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 (AT) gats-inc (DOT) com To: "'MySQL++ Mailing List'" <plusplus (AT) lists (DOT) mysql.com 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 (AT) hotmail (DOT) com] Sent: Friday, November 18, 2005 12:06 AM To: plusplus (AT) lists (DOT) mysql.com 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?unsu...-inc (DOT) com -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...mail (DOT) com __________________________________________________ _______________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/o...ave/direct/01/ -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...mail (DOT) com __________________________________________________ _______________ 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?unsu...-inc (DOT) com -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...mail (DOT) com __________________________________________________ _______________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/g...ave/direct/01/ |

![]() |
| Thread Tools | |
| Display Modes | |
| |