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...

more mingw build problems: msg#00123

db.mysql.c++

Subject: more mingw build problems

Hello All,

Trying to get this thing to build (as a static library) with the
latest version of code in the subversion trunk. When I run "makemake mingw"
from the root directory, I get the following errors:



C:\Eclipse_Workspace\MySQL++>makemake mingw

g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c coldata.cpp

In file included from const_string.h:32,

from coldata.h:37,

from coldata.cpp:27:

defs.h:34:19: mysql.h: No such file or directory

In file included from const_string.h:32,

from coldata.h:37,

from coldata.cpp:27:

defs.h:66: error: `MYSQL_FIELD' does not name a type

In file included from exceptions.h:34,

from coldata.h:40,

from coldata.cpp:27:

connection.h:142: error: `my_bool' has not been declared

connection.h:144: error: ISO C++ forbids declaration of `compress' with no
type

connection.h:159: error: `my_bool' has not been declared

connection.h:160: error: ISO C++ forbids declaration of `compress' with no
type

connection.h:355: error: `st_mysql_options' does not name a type

connection.h:422: error: `my_ulonglong' does not name a type

connection.h:433: error: `my_ulonglong' does not name a type

connection.h:483: error: expected `;' before '(' token

connection.h:540: error: `MYSQL' does not name a type

connection.h: In member function `void mysqlpp::Connection::close()':

connection.h:167: error: `mysql_' undeclared (first use this function)

connection.h:167: error: (Each undeclared identifier is reported only once
for each function it appe

ars in.)

connection.h:167: error: `mysql_close' undeclared (first use this function)

connection.h: In member function `const char* mysqlpp::Connection::error()':

connection.h:224: error: `mysql_' undeclared (first use this function)

connection.h:224: error: `mysql_error' undeclared (first use this function)

connection.h: In member function `int mysqlpp::Connection::errnum()':

connection.h:231: error: `mysql_' undeclared (first use this function)

connection.h:231: error: `mysql_errno' undeclared (first use this function)



.. and so on and so forth for quite some time with some similar errors in
type_info.h



any ideas?



I am attempting to build this on Windows XP with MinGW g++ version 3.4.2.



Thanks,



-Patrick

<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