List:MySQL++« Previous MessageNext Message »
From:Patrick McMichael Date:August 29 2005 4:06pm
Subject:more mingw build problems
View as plain text  
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


Thread
more mingw build problemsPatrick McMichael29 Aug
  • Re: more mingw build problemscwic29 Aug
  • Re: more mingw build problemsWarren Young29 Aug
Re: more mingw build problemsPatrick McMichael29 Aug
  • Re: more mingw build problemsWarren Young29 Aug
    • RE: more mingw build problemsPatrick McMichael29 Aug
      • Re: more mingw build problemsWarren Young29 Aug