C:\Qt\4.3.4\src\plugins\sqldrivers\mysql>qmake "INCLUDE+=C:\MySQL\include" "LIBS
+=C:\MySQL\lib\opt\libmysql.a" mysql.pro
C:\Qt\4.3.4\src\plugins\sqldrivers\mysql>mingw32-make
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/Qt/4.3.4/src/plugins/sqldrivers/mysql'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -Wl,-s -mthreads -Wl -shared -Wl,--out-implib,c:\Qt\4.3.4\plugins\sqldrivers\
libqsqlmysql4.a -o ..\..\..\..\plugins\sqldrivers\qsqlmysql4.dll tmp/obj/release
_shared/main.o tmp/obj/release_shared/qsql_mysql.o tmp/obj/release_shared/moc_qs
ql_mysql.o -L"c:\Qt\4.3.4\lib" -L"c:\Qt\4.3.4\lib" tmp\obj\release_shared\qsqlm
ysql_resource_res.o C:\MySQL\lib\opt\libmysql.a -lQtSql4 -lQtCore4
Creating library file: c:\Qt\4.3.4\plugins\sqldrivers\libqsqlmysql4.a
tmp/obj/release_shared/qsql_mysql.o(.text+0x4c):qsql_mysql.cpp: undefined refere
nce to `mysql_character_set_name@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x184):qsql_mysql.cpp: undefined refer
ence to `mysql_error@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x19a):qsql_mysql.cpp: undefined refer
ence to `mysql_errno@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x6d7):qsql_mysql.cpp: undefined refer
ence to `mysql_stmt_error@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x6eb):qsql_mysql.cpp: undefined refer
ence to `mysql_stmt_errno@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0xa25):qsql_mysql.cpp: undefined refer
ence to `mysql_stmt_data_seek@12'
tmp/obj/release_shared/qsql_mysql.o(.text+0xa39):qsql_mysql.cpp: undefined refer
ence to `mysql_stmt_fetch@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0xb13):qsql_mysql.cpp: undefined refer
ence to `mysql_data_seek@12'
tmp/obj/release_shared/qsql_mysql.o(.text+0xb2a):qsql_mysql.cpp: undefined refer
ence to `mysql_fetch_row@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0xc8f):qsql_mysql.cpp: undefined refer
ence to `mysql_stmt_fetch@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0xcd7):qsql_mysql.cpp: undefined refer
ence to `mysql_fetch_row@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0xd3f):qsql_mysql.cpp: undefined refer
ence to `mysql_num_rows@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0xd7a):qsql_mysql.cpp: undefined refer
ence to `mysql_stmt_num_rows@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x1088):qsql_mysql.cpp: undefined refe
rence to `mysql_fetch_lengths@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x179c):qsql_mysql.cpp: undefined refe
rence to `mysql_stmt_num_rows@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x17b7):qsql_mysql.cpp: undefined refe
rence to `mysql_num_rows@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x17fe):qsql_mysql.cpp: undefined refe
rence to `mysql_insert_id@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x183d):qsql_mysql.cpp: undefined refe
rence to `mysql_stmt_insert_id@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x191e):qsql_mysql.cpp: undefined refe
rence to `mysql_errno@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x1936):qsql_mysql.cpp: undefined refe
rence to `mysql_field_seek@8'
tmp/obj/release_shared/qsql_mysql.o(.text+0x1944):qsql_mysql.cpp: undefined refe
rence to `mysql_fetch_field@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x19b4):qsql_mysql.cpp: undefined refe
rence to `mysql_field_seek@8'
tmp/obj/release_shared/qsql_mysql.o(.text+0x21f9):qsql_mysql.cpp: undefined refe
rence to `mysql_close@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x2b8c):qsql_mysql.cpp: undefined refe
rence to `mysql_list_fields@12'
tmp/obj/release_shared/qsql_mysql.o(.text+0x2bd5):qsql_mysql.cpp: undefined refe
rence to `mysql_fetch_field@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x2c3c):qsql_mysql.cpp: undefined refe
rence to `mysql_free_result@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x2db4):qsql_mysql.cpp: undefined refe
rence to `mysql_query@8'
tmp/obj/release_shared/qsql_mysql.o(.text+0x2f74):qsql_mysql.cpp: undefined refe
rence to `mysql_query@8'
tmp/obj/release_shared/qsql_mysql.o(.text+0x3134):qsql_mysql.cpp: undefined refe
rence to `mysql_query@8'
tmp/obj/release_shared/qsql_mysql.o(.text+0x37b0):qsql_mysql.cpp: undefined refe
rence to `mysql_real_escape_string@16'
tmp/obj/release_shared/qsql_mysql.o(.text+0x41fc):qsql_mysql.cpp: undefined refe
rence to `mysql_init@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x431c):qsql_mysql.cpp: undefined refe
rence to `mysql_real_connect@32'
tmp/obj/release_shared/qsql_mysql.o(.text+0x43d9):qsql_mysql.cpp: undefined refe
rence to `mysql_select_db@8'
tmp/obj/release_shared/qsql_mysql.o(.text+0x443b):qsql_mysql.cpp: undefined refe
rence to `mysql_set_character_set@8'
tmp/obj/release_shared/qsql_mysql.o(.text+0x4478):qsql_mysql.cpp: undefined refe
rence to `mysql_get_client_version@0'
tmp/obj/release_shared/qsql_mysql.o(.text+0x4492):qsql_mysql.cpp: undefined refe
rence to `mysql_get_server_version@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x494c):qsql_mysql.cpp: undefined refe
rence to `mysql_close@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x5170):qsql_mysql.cpp: undefined refe
rence to `mysql_list_tables@8'
tmp/obj/release_shared/qsql_mysql.o(.text+0x51a3):qsql_mysql.cpp: undefined refe
rence to `mysql_data_seek@12'
tmp/obj/release_shared/qsql_mysql.o(.text+0x51b1):qsql_mysql.cpp: undefined refe
rence to `mysql_fetch_row@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x5235):qsql_mysql.cpp: undefined refe
rence to `mysql_free_result@4'
.
.
.
.
tmp/obj/release_shared/qsql_mysql.o(.text+0x6de5):qsql_mysql.cpp: undefined refe
rence to `mysql_stmt_affected_rows@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x6e2d):qsql_mysql.cpp: undefined refe
rence to `mysql_stmt_bind_result@8'
tmp/obj/release_shared/qsql_mysql.o(.text+0x6e70):qsql_mysql.cpp: undefined refe
rence to `mysql_stmt_attr_set@12'
tmp/obj/release_shared/qsql_mysql.o(.text+0x6e92):qsql_mysql.cpp: undefined refe
rence to `mysql_stmt_store_result@4'
tmp/obj/release_shared/qsql_mysql.o(.text+0x6edd):qsql_mysql.cpp: undefined refe
rence to `mysql_stmt_bind_result@8'
tmp/obj/release_shared/qsql_mysql.o(.text+0x738a):qsql_mysql.cpp: undefined refe
rence to `mysql_stmt_bind_param@8'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [..\..\..\..\plugins\sqldrivers\qsqlmysql4.dll] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/4.3.4/src/plugins/sqldrivers/mysql'
mingw32-make: *** [release] Error 2
C:\Qt\4.3.4\src\plugins\sqldrivers\mysql>
Bookmarks