Issue information

Issue ID
#1006
Status
Invalid
Severity
None
Started
Hercules Elf Bot
Feb 20, 2008 3:16
Last Post
Hercules Elf Bot
Apr 18, 2012 15:53
Confirmation
N/A

Hercules Elf Bot - Feb 20, 2008 3:16

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

QUOTE
./configure
make clean
make sql


QUOTE
debian:/opt/211/stable# make sql
make[1]: Entering directory `/opt/211/stable/src/common'
mkdir obj_all
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/core.o core.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/socket.o socket.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/timer.o timer.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/db.o db.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/plugins.o plugins.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/lock.o lock.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/nullpo.o nullpo.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/malloc.o malloc.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/showmsg.o showmsg.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/strlib.o strlib.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/utils.o utils.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/grfio.o grfio.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/mapindex.o mapindex.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/ers.o ers.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -L/usr/lib -I../common -I/usr/include -c -o obj_all/md5calc.o md5calc.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -DMINICORE -L/usr/lib -I../common -I/usr/include -c -o obj_all/minicore.o core.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -DMINICORE -L/usr/lib -I../common -I/usr/include -c -o obj_all/minisocket.o socket.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -DMINICORE -L/usr/lib -I../common -I/usr/include -c -o obj_all/minimalloc.o malloc.c
mkdir obj_sql
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -I/usr/include/mysql -I../common -I/usr/include -c -o obj_sql/sql.o sql.c
sql.c: In function `Sql_SetEncoding':
sql.c:148: warning: implicit declaration of function `mysql_set_character_set'
make[1]: Leaving directory `/opt/211/stable/src/common'
make[1]: Entering directory `/opt/211/stable/src/login_sql'
mkdir obj_sql
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-switch -I/usr/include/mysql -I../common -I/usr/include -c -o obj_sql/login.o login.c
gcc -L/usr/lib -o ../../login-server_sql obj_sql/login.o ../common/obj_all/core.o ../common/obj_all/socket.o ../common/obj_all/timer.o ../common/obj_all/db.o ../common/obj_all/plugins.o ../common/obj_all/lock.o ../common/obj_all/malloc.o ../common/obj_all/showmsg.o ../common/obj_all/utils.o ../common/obj_all/strlib.o ../common/obj_all/grfio.o ../common/obj_all/mapindex.o ../common/obj_all/ers.o ../common/obj_all/md5calc.o ../common/obj_sql/sql.o -lrt -lm -lz -ldl -L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm
../common/obj_sql/sql.o: In function `Sql_SetEncoding':
/opt/211/stable/src/common/sql.c:148: undefined reference to `mysql_set_character_set'
collect2: ld returned 1 exit status
make[1]: *** [login-server_sql] Error 1
make[1]: Leaving directory `/opt/211/stable/src/login_sql'
make: *** [login_sql] Error 2


I don't really get it, last one I successfully compiled was in the 11000 range.

This post has been edited by Hyunkell: Feb 19 2008, 07:18 PM

Hercules Elf Bot - Jan 3, 2012 18:05

Originally posted by [b]Gepard[/b]

Updating status to: Invalid