This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

mysql.mod and eggdrop1.6.17

Discussion of Eggdrop's code and module programming in C.
Post Reply
p
paindoo
Voice
Posts: 3
Joined: Fri Apr 07, 2006 4:58 pm

mysql.mod and eggdrop1.6.17

Post by paindoo »

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,
p
paindoo
Voice
Posts: 3
Joined: Fri Apr 07, 2006 4:58 pm

Post by paindoo »

so i've narrowed it down to ssl patch.

it seems when i don't apply the ssl patch, the module compiles fine. with ssl patch applied, i get the above error.

anyone has a workaround to get this work with ssl patch + mysql.mod.

Thanks,
Post Reply