Issue information

Issue ID
#98
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Sep 22, 2007 16:19
Last Post
Hercules Elf Bot
Sep 22, 2007 16:19
Confirmation
N/A

Hercules Elf Bot - Sep 22, 2007 16:19

Originally posted by [b]Pinky[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=98

Well, i tried compiling my svn but i only keep getting this error, i already told someone else to try compiling it as well and he had the same error, so i can't be just me.

QUOTE
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib -mcpu=i486 -fno-strength-reduce -I../common -I/usr/local/include -c -o obj_sql/sql.o sql.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
sql.c: In function ‘SqlStmt_NextRow’:
sql.c:744: error: ‘MYSQL_DATA_TRUNCATED’ undeclared (first use in this function)
sql.c:744: error: (Each undeclared identifier is reported only once
sql.c:744: error: for each function it appears in.)
sql.c:759: error: ‘MYSQL_BIND’ has no member named ‘error’
sql.c:761: error: ‘MYSQL_BIND’ has no member named ‘error’
make[1]: *** [obj_sql/sql.o] Error 1
make[1]: Leaving directory `/home/twilight/Trunk2/trunk/src/common'
make: *** [common_sql] Error 2


Thats the thing.