|
-
March 19th, 2009, 05:42 PM
#1
MySql...
For some reason I'm getting a lot of compiling errors that make it seem like it's not including the file: mysql.h ..
I don't understand why it's giving me these errors because it doesn't seem like it should be.. The errors are like this:
Code:
..\obj\Debug\src\database.o(.text+0xd27)||In function `ZN8Database7ConnectENS_6EngineESsSsSsSs':|
C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|73|undefined reference to `mysql_init@4'|
..\obj\Debug\src\database.o(.text+0xd3f):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|75|undefined reference to `mysql_error@4'|
..\obj\Debug\src\database.o(.text+0xdd4):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|77|undefined reference to `mysql_real_connect@32'|
..\obj\Debug\src\database.o(.text+0xded):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|79|undefined reference to `mysql_error@4'|
..\obj\Debug\src\database.o(.text+0xe40):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|81|undefined reference to `mysql_select_db@8'|
..\obj\Debug\src\database.o(.text+0xe58):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|83|undefined reference to `mysql_error@4'|
..\obj\Debug\src\database.o(.text+0x113f)||In function `ZN8Database5QueryEPKcz':|
C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|125|undefined reference to `mysql_real_escape_string@16'|
..\obj\Debug\src\database.o(.text+0x124e):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|158|undefined reference to `mysql_real_query@12'|
..\obj\Debug\src\database.o(.text+0x1262):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|160|undefined reference to `mysql_error@4'|
..\obj\Debug\src\database.o(.text+0x12ca):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|163|undefined reference to `mysql_field_count@4'|
..\obj\Debug\src\database.o(.text+0x12dd):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|165|undefined reference to `mysql_store_result@4'|
..\obj\Debug\src\database.o(.text+0x1300):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|169|undefined reference to `mysql_affected_rows@4'|
..\obj\Debug\src\database.o(.text+0x133a):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|174|undefined reference to `mysql_error@4'|
..\obj\Debug\src\database.o(.text+0x13a0):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|178|undefined reference to `mysql_fetch_fields@4'|
..\obj\Debug\src\database.o(.text+0x13b1):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|180|undefined reference to `mysql_fetch_row@4'|
..\obj\Debug\src\database.o(.text+0x1a98):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|180|undefined reference to `mysql_fetch_row@4'|
..\obj\Debug\src\database.o(.text+0x1ab8):C:\Users\Alex\Desktop\eoserv-trunk-r74\trunk\src\database.cpp|213|undefined reference to `mysql_free_result@4'|
||=== Build finished: 17 errors, 0 warnings ===|
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|