g++ -c -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/local/include -I. -o main.o main.cpp
In file included from ../../../sql/drivers/mysql/qsql_mysql.h:52,
from main.cpp:44:
/usr/local/include/mysql.h:70:27: error: mysql_version.h: No such file or directory
/usr/local/include/mysql.h:71:23: error: mysql_com.h: No such file or directory
/usr/local/include/mysql.h:72:24: error: mysql_time.h: No such file or directory
/usr/local/include/mysql.h:74:70: error: my_list.h: No such file or directory
/usr/local/include/mysql.h:132:21: error: typelib.h: No such file or directory
/usr/local/include/mysql.h:147:22: error: my_alloc.h: No such file or directory
In file included from ../../../sql/drivers/mysql/qsql_mysql.h:52,
from main.cpp:44:
/usr/local/include/mysql.h:115: error: use of enum ‘enum_field_types’ without previous declaration
/usr/local/include/mysql.h:153: error: ‘MEM_ROOT’ does not name a type
/usr/local/include/mysql.h:260: error: ‘NET’ does not name a type
/usr/local/include/mysql.h:266: error: ‘MEM_ROOT’ does not name a type
/usr/local/include/mysql.h:285: error: ‘SCRAMBLE_LENGTH’ was not declared in this scope
/usr/local/include/mysql.h:302: error: expected ‘;’ before ‘*’ token
/usr/local/include/mysql.h:326: error: ‘MEM_ROOT’ does not name a type
/usr/local/include/mysql.h:350: error: ‘NET’ does not name a type
/usr/local/include/mysql.h:518: error: use of enum ‘mysql_enum_shutdown_level’ without previous declaration
/usr/local/include/mysql.h:525: error: use of enum ‘enum_mysql_set_option’ without previous declaration
/usr/local/include/mysql.h:672: error: ‘NET’ has not been declared
/usr/local/include/mysql.h:683: error: use of enum ‘enum_field_types’ without previous declaration
/usr/local/include/mysql.h:695: error: ‘MEM_ROOT’ does not name a type
/usr/local/include/mysql.h:696: error: ‘LIST’ does not name a type
/usr/local/include/mysql.h:724: error: ‘MYSQL_ERRMSG_SIZE’ was not declared in this scope
/usr/local/include/mysql.h:725: error: ‘SQLSTATE_LENGTH’ was not declared in this scope
/usr/local/include/mysql.h:767: error: use of enum ‘enum_server_command’ without previous declaration
make: *** [main.o] Error 1
Bookmarks