Hello,
I know this has been covered before, but i couldn't find a solution to my problem, so here it is again
so i got a fresh copy of eggdrop1.6.117, untarred, patched it with ssl patch, so far so good, got 0.6 of mysql.mod, placed it src/mod dir of eggdrop, modified the mysql_mod.h dir to point to mysql.h file... configure, make config, make.. and it blows up..
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
In file included from ../mysql.mod/mysql_mod.h:32,
from .././mysql.mod/mysql.c:24:
../../../src/mod/module.h:190: warning: `list_delete' redefined
../mysql.mod/mysql_mod.h:31: warning: this is the location of the previous definition
In file included from ../mysql.mod/mysql_mod.h:34,
from .././mysql.mod/mysql.c:24:
/usr/local/include/mysql/mysql.h:130: syntax error before `int'
.././mysql.mod/mysql.c: In function `tcl_mysql_connectioninfo':
.././mysql.mod/mysql.c:306: syntax error before `*'
.././mysql.mod/mysql.c:308: `objs' undeclared (first use in this function)
.././mysql.mod/mysql.c:308: (Each undeclared identifier is reported only once
.././mysql.mod/mysql.c:308: for each function it appears in.)
.././mysql.mod/mysql.c:316: `count' undeclared (first use in this function)
gmake[2]: *** [../mysql.o] Error 1
i've tried make and gmake, both throw same error.
little info about os etc...
%uname -a
FreeBSD blah.blah 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386
%mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 19232 to server version: 4.0.18
Any help on the matter is appreciated.
Thanks,