Building Project: mysql (Debug) Performing main compilation... Precompiling headers Compiling source to object files g++ -MMD "/home/boris/c_prog/mysql/mysql/main.cpp" -g -O0 -DDEBUG -DMONODEVELOP -I"/usr/include/mysql++" -I"/home/boris/c_prog/mysql/mysql/.prec/Debug" -c -o "/home/boris/c_prog/mysql/mysql/main.o" In file included from /usr/include/mysql++/connection.h:38, from /usr/include/mysql++/mysql++.h:56, from /home/boris/c_prog/mysql/mysql/main.cpp:1: /usr/include/mysql++/common.h:124:28: warning: mysql_version.h: No such file or directory /usr/include/mysql++/common.h:182:20: warning: mysql.h: No such file or directory In file included from /usr/include/mysql++/sql_buffer.h:32, from /usr/include/mysql++/stadapter.h:35, from /usr/include/mysql++/qparms.h:35, from /usr/include/mysql++/query.h:34, from /usr/include/mysql++/mysql++.h:58, from /home/boris/c_prog/mysql/mysql/main.cpp:1: /usr/include/mysql++/type_info.h:83: error: expected ‘,’ or ‘...’ before ‘bt’ /usr/include/mysql++/type_info.h:84: error: ISO C++ forbids declaration of ‘enum_field_types’ with no type /usr/include/mysql++/type_info.h:98: error: ‘enum_field_types’ does not name a type /usr/include/mysql++/type_info.h: In constructor ‘mysqlpp::mysql_ti_sql_type_info::mysql_ti_sql_type_info()’: /usr/include/mysql++/type_info.h:71: error: class ‘mysqlpp::mysql_ti_sql_type_info’ does not have any field named ‘base_type_’ /usr/include/mysql++/type_info.h:75: error: ‘FIELD_TYPE_NULL’ was not declared in this scope /usr/include/mysql++/type_info.h: In constructor ‘mysqlpp::mysql_ti_sql_type_info::mysql_ti_sql_type_info(const char*, const std::type_info&, int)’: /usr/include/mysql++/type_info.h:87: error: class ‘mysqlpp::mysql_ti_sql_type_info’ does not have any field named ‘base_type_’ /usr/include/mysql++/type_info.h:87: error: ‘bt’ was not declared in this scope /usr/include/mysql++/type_info.h:88: error: ‘flags’ was not declared in this scope /usr/include/mysql++/type_info.h: At global scope: /usr/include/mysql++/type_info.h:168: error: expected `)' before ‘t’ /usr/include/mysql++/type_info.h:270: error: ‘enum_field_types’ does not name a type /usr/include/mysql++/type_info.h:304: error: ‘enum_field_types’ has not been declared /usr/include/mysql++/type_info.h: In member function ‘const mysqlpp::mysql_type_info mysqlpp::mysql_type_info::base_type() const’: /usr/include/mysql++/type_info.h:230: error: ‘const class mysqlpp::mysql_ti_sql_type_info’ has no member named ‘base_type_’ In file included from /usr/include/mysql++/stadapter.h:35, from /usr/include/mysql++/qparms.h:35, from /usr/include/mysql++/query.h:34, from /usr/include/mysql++/mysql++.h:58, from /home/boris/c_prog/mysql/mysql/main.cpp:1: /usr/include/mysql++/sql_buffer.h: At global scope: /usr/include/mysql++/sql_buffer.h:71: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ /usr/include/mysql++/sql_buffer.h:76: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ /usr/include/mysql++/sql_buffer.h: In member function ‘bool mysqlpp::SQLBuffer::is_string()’: /usr/include/mysql++/sql_buffer.h:95: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ In file included from /usr/include/mysql++/result.h:35, from /usr/include/mysql++/query.h:36, from /usr/include/mysql++/mysql++.h:58, from /home/boris/c_prog/mysql/mysql/main.cpp:1: /usr/include/mysql++/field.h: At global scope: /usr/include/mysql++/field.h:58: error: expected ‘,’ or ‘...’ before ‘*’ token /usr/include/mysql++/field.h:58: error: ISO C++ forbids declaration of ‘MYSQL_FIELD’ with no type /usr/include/mysql++/field.h: In constructor ‘mysqlpp::Field::Field(int)’: /usr/include/mysql++/field.h:59: error: ‘pf’ was not declared in this scope /usr/include/mysql++/field.h:64: error: ‘UNSIGNED_FLAG’ was not declared in this scope /usr/include/mysql++/field.h:65: error: ‘NOT_NULL_FLAG’ was not declared in this scope /usr/include/mysql++/field.h: In member function ‘bool mysqlpp::Field::auto_increment() const’: /usr/include/mysql++/field.h:85: error: ‘AUTO_INCREMENT_FLAG’ was not declared in this scope /usr/include/mysql++/field.h: In member function ‘bool mysqlpp::Field::binary_type() const’: /usr/include/mysql++/field.h:88: error: ‘BINARY_FLAG’ was not declared in this scope /usr/include/mysql++/field.h: In member function ‘bool mysqlpp::Field::blob_type() const’: /usr/include/mysql++/field.h:91: error: ‘BLOB_FLAG’ was not declared in this scope /usr/include/mysql++/field.h: In member function ‘bool mysqlpp::Field::enumeration() const’: /usr/include/mysql++/field.h:97: error: ‘ENUM_FLAG’ was not declared in this scope /usr/include/mysql++/field.h: In member function ‘bool mysqlpp::Field::multiple_key() const’: /usr/include/mysql++/field.h:110: error: ‘MULTIPLE_KEY_FLAG’ was not declared in this scope /usr/include/mysql++/field.h: In member function ‘bool mysqlpp::Field::primary_key() const’: /usr/include/mysql++/field.h:121: error: ‘PRI_KEY_FLAG’ was not declared in this scope /usr/include/mysql++/field.h: In member function ‘bool mysqlpp::Field::set_type() const’: /usr/include/mysql++/field.h:124: error: ‘SET_FLAG’ was not declared in this scope /usr/include/mysql++/field.h: In member function ‘bool mysqlpp::Field::timestamp() const’: /usr/include/mysql++/field.h:130: error: ‘TIMESTAMP_FLAG’ was not declared in this scope /usr/include/mysql++/field.h: In member function ‘bool mysqlpp::Field::unique_key() const’: /usr/include/mysql++/field.h:136: error: ‘UNIQUE_KEY_FLAG’ was not declared in this scope /usr/include/mysql++/field.h: In member function ‘bool mysqlpp::Field::zerofill() const’: /usr/include/mysql++/field.h:139: error: ‘ZEROFILL_FLAG’ was not declared in this scope In file included from /usr/include/mysql++/row.h:33, from /usr/include/mysql++/result.h:40, from /usr/include/mysql++/query.h:36, from /usr/include/mysql++/mysql++.h:58, from /home/boris/c_prog/mysql/mysql/main.cpp:1: /usr/include/mysql++/mystring.h: At global scope: /usr/include/mysql++/mystring.h:197: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ /usr/include/mysql++/mystring.h:211: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ /usr/include/mysql++/mystring.h:226: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ /usr/include/mysql++/mystring.h:243: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ /usr/include/mysql++/mystring.h:256: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ /usr/include/mysql++/mystring.h:270: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ /usr/include/mysql++/mystring.h: In member function ‘mysqlpp::mysql_type_info mysqlpp::String::type() const’: /usr/include/mysql++/mystring.h:450: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ /usr/include/mysql++/mystring.h: In member function ‘mysqlpp::String& mysqlpp::String::operator=(const std::string&)’: /usr/include/mysql++/mystring.h:458: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ /usr/include/mysql++/mystring.h: In member function ‘mysqlpp::String& mysqlpp::String::operator=(const char*)’: /usr/include/mysql++/mystring.h:471: error: ‘string_type’ is not a member of ‘mysqlpp::mysql_type_info’ In file included from /usr/include/mysql++/result.h:40, from /usr/include/mysql++/query.h:36, from /usr/include/mysql++/mysql++.h:58, from /home/boris/c_prog/mysql/mysql/main.cpp:1: /usr/include/mysql++/row.h: At global scope: /usr/include/mysql++/row.h:137: error: expected `)' before ‘row’ In file included from /usr/include/mysql++/query.h:36, from /usr/include/mysql++/mysql++.h:58, from /home/boris/c_prog/mysql/mysql/main.cpp:1: /usr/include/mysql++/result.h:168: error: expected `)' before ‘*’ token /usr/include/mysql++/result.h:231: error: expected `)' before ‘*’ token /usr/include/mysql++/result.h:281: error: ‘MYSQL_RES’ was not declared in this scope /usr/include/mysql++/result.h:281: error: template argument 1 is invalid /usr/include/mysql++/result.h:308: error: expected `)' before ‘*’ token /usr/include/mysql++/result.h:354: error: ‘MYSQL_ROW’ does not name a type /usr/include/mysql++/result.h:385: error: expected type-specifier before ‘MYSQL_RES’ /usr/include/mysql++/result.h:401: error: ‘MYSQL_RES’ was not declared in this scope /usr/include/mysql++/result.h:401: error: template argument 1 is invalid /usr/include/mysql++/result.h:401: error: template argument 2 is invalid In file included from /usr/include/mysql++/mysql++.h:58, from /home/boris/c_prog/mysql/mysql/main.cpp:1: /usr/include/mysql++/query.h: In member function ‘void mysqlpp::Query::storein_sequence(Sequence&, const mysqlpp::SQLTypeAdapter&)’: /usr/include/mysql++/query.h:750: error: ‘MYSQL_ROW’ was not declared in this scope /usr/include/mysql++/query.h:750: error: expected `;' before ‘d’ /usr/include/mysql++/query.h:751: error: ‘d’ was not declared in this scope /usr/include/mysql++/query.h:753: error: ‘d’ was not declared in this scope /usr/include/mysql++/query.h: In member function ‘void mysqlpp::Query::storein_set(Set&, const mysqlpp::SQLTypeAdapter&)’: /usr/include/mysql++/query.h:808: error: ‘MYSQL_ROW’ was not declared in this scope /usr/include/mysql++/query.h:808: error: expected `;' before ‘d’ /usr/include/mysql++/query.h:809: error: ‘d’ was not declared in this scope /usr/include/mysql++/query.h:811: error: ‘d’ was not declared in this scope /home/boris/c_prog/mysql/mysql/main.cpp: In function ‘int main()’: /home/boris/c_prog/mysql/mysql/main.cpp:7: error: ‘Connection’ was not declared in this scope /home/boris/c_prog/mysql/mysql/main.cpp:7: error: expected `;' before ‘conn’ /home/boris/c_prog/mysql/mysql/main.cpp:8: error: ‘conn’ was not declared in this scope Build complete -- 63 errors, 0 warnings ---------------------- Done ---------------------- Build: 63 errors, 0 warnings