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.
General support and discussion of Eggdrop bots.
tk0
Voice
Posts: 8 Joined: Sun Nov 01, 2009 9:20 pm
Post
by tk0 » Thu Feb 17, 2011 4:00 pm
ive tried on several shells, and i get the same error after applying the patch but ofc when no patch is applied it complies fine..
Code: Select all
$ make
make[1]: Entering directory `/path/to/eggdrop1.6.20/src'
This may take a while. Go get some runts.
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c botcmd.c
botcmd.c: In function ‘bot_motd’:
botcmd.c:1024: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c botmsg.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c botnet.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c chanprog.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c cmds.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c dcc.c
In file included from dcc.c:36:
md5/md5.h:8:23: error: ../config.h: No such file or directory
dcc.c: In function ‘strip_telnet’:
dcc.c:130: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
dcc.c:131: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
dcc.c:137: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
dcc.c:138: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
dcc.c:143: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
make[1]: *** [dcc.o] Error 1
make[1]: Leaving directory `/path/to/src/eggdrop1.6.20/src'
make: *** [modegg] Error 2
"Wake up bitch! You're my new best friend!"
pseudo
Halfop
Posts: 88 Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:
Post
by pseudo » Fri Feb 18, 2011 5:08 am
Applying the patch? What patch? Buggy patch? Which is not even for 1.6.20? Whoever guesses first gets a cookie?
Worst description ever.
tk0
Voice
Posts: 8 Joined: Sun Nov 01, 2009 9:20 pm
Post
by tk0 » Fri Feb 18, 2011 4:38 pm
well by saying 1.6.20 , i thought I didnt need to be specific as to what patch. Since this looks to be for 1.6.20 >> eggdrop-1.6.20-ssl.zip << but if this not even for 1.6.20, need to correct :S
but ./configure, make config all go fine, even when applying >> eggdrop-1.6.20-ssl.zip << but its when i do make.
Code: Select all
~/src/eggdrop1.6.20$ patch -p0 < eggdrop-1.6.20-ssl.patch
patching file Makefile.in
patching file aclocal.m4
patching file config.h.in
patching file configure
patching file configure.ac
patching file src/Makefile.in
patching file src/dcc.c
patching file src/dccutil.c
patching file src/eggdrop.h
patching file src/main.c
patching file src/md5/md5.h
patching file src/md5/md5c.c
patching file src/mod/compress.mod/compress.c
patching file src/mod/irc.mod/chan.c
patching file src/mod/irc.mod/irc.c
patching file src/mod/irc.mod/irc.h
patching file src/mod/irc.mod/mode.c
patching file src/mod/module.h
patching file src/mod/server.mod/servmsg.c
patching file src/modules.c
patching file src/net.c
patching file src/net.h
patching file src/patch.h
patching file src/proto.h
patching file src/tcl.c
patching file src/tclhash.h
patching file src/tclmisc.c
but any for of help would be appreciated
"Wake up bitch! You're my new best friend!"
pseudo
Halfop
Posts: 88 Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:
Post
by pseudo » Fri Feb 18, 2011 5:12 pm
I kind of figured, hearing about bugs after patching, the ssl one is the usual suspect.
Did you read the warning in the description of this patch?
Adds SSL support to Eggdrop, allowing your bot to establish an SSL connection with IRC servers that support it. Note this patch does not have 64-bit or thread support. Also note this patch works for some but causes crashes for others—see this forum thread for more information.
The thread refered is this one:
http://forum.egghelp.org/viewtopic.php?t=17872
A search for ssl on the forums would also reveal:
http://forum.egghelp.org/viewtopic.php?t=18082
My suggestion is to try and use 1.8 - it's in development, but unlike the patch, it actually works and doesn't necessarily crash. And it's backwards compatible.
tk0
Voice
Posts: 8 Joined: Sun Nov 01, 2009 9:20 pm
Post
by tk0 » Sat Feb 19, 2011 1:23 am
thank you
1.8 worked like a charm!
"Wake up bitch! You're my new best friend!"
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Sat Feb 19, 2011 5:53 am
Damn, I got around too late to win that cookie.
Maybe next time.
Once the game is over, the king and the pawn go back in the same box.