Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: New Problem with DLL/MinGW: msg#00095

db.mysql.c++

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>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation