got it compiled but with errors which makes it un-usefully ... when i try to use any binded mysql command in tcl my bot crashes with only that
•6:41PM• * NoF (aimar@xxx) Quit (Remote host closed the connection)
Nothin @ party line with bot ;/
Here is error code:
Code: Select all
make[2]: Entering directory`/home/aimar/eggdrop1.6.16/src/mod/mysql.mod'
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H `mysql_config --cflags` -DMAKING_MODS -c .././mysql.mod/mysql.c
/bin/sh: line 1: mysql_config: command not found
In file included from ../mysql.mod/mysql_mod.h:32,
from ../mysql.mod/mysql.c:24:
../../../src/mod/module.h:190:1: warning: "list_delete" redefined
In file included from ../mysql.mod/mysql.c:24:
../mysql.mod/mysql_mod.h:31:1: warning: this is the location of the previous definition
../mysql.mod/mysql.c: In function `tcl_mysql_connect':
../mysql.mod/mysql.c:171: warning: passing arg 2 of `Tcl_AppendToObj' discards qualifiers from pointer target type
../mysql.mod/mysql.c: In function `tcl_mysql_query':
../mysql.mod/mysql.c:212: warning: passing arg 2 of `Tcl_AppendToObj' discards qualifiers from pointer target type
mv mysql.o ../
gcc -pipe -shared -nostartfiles -o ../../../mysql.so ../mysql.o -L/usr/lib -ltcl -lm -ldl -lnsl `mysql_config --libs`
/bin/sh: line 1: mysql_config: command not found
touch ../../../mysql.so
make[2]: Leaving directory`/home/aimar/eggdrop1.6.16/src/mod/mysql.mod'
Any idea? plz help me asap it's really urgent