egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mysql.mod and eggdrop1.6.17

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
paindoo
Voice


Joined: 07 Apr 2006
Posts: 3

PostPosted: Fri Apr 07, 2006 5:14 pm    Post subject: mysql.mod and eggdrop1.6.17 Reply with quote

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,
Back to top
View user's profile Send private message
paindoo
Voice


Joined: 07 Apr 2006
Posts: 3

PostPosted: Fri Apr 07, 2006 5:46 pm    Post subject: Reply with quote

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,
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber