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 

Eggdrop 1.6.20 fails

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
tk0
Voice


Joined: 01 Nov 2009
Posts: 8

PostPosted: Thu Feb 17, 2011 4:00 pm    Post subject: Eggdrop 1.6.20 fails Reply with quote

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:
$ 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!"
Back to top
View user's profile Send private message
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Fri Feb 18, 2011 5:08 am    Post subject: Reply with quote

Applying the patch? What patch? Buggy patch? Which is not even for 1.6.20? Whoever guesses first gets a cookie?

Worst description ever.
Back to top
View user's profile Send private message Visit poster's website
tk0
Voice


Joined: 01 Nov 2009
Posts: 8

PostPosted: Fri Feb 18, 2011 4:38 pm    Post subject: Reply with quote

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:
~/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!"
Back to top
View user's profile Send private message
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Fri Feb 18, 2011 5:12 pm    Post subject: Reply with quote

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?

Quote:
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.
Back to top
View user's profile Send private message Visit poster's website
tk0
Voice


Joined: 01 Nov 2009
Posts: 8

PostPosted: Sat Feb 19, 2011 1:23 am    Post subject: Reply with quote

thank you Very Happy 1.8 worked like a charm!
_________________
"Wake up bitch! You're my new best friend!"
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sat Feb 19, 2011 5:53 am    Post subject: Reply with quote

Damn, I got around too late to win that cookie. Crying or Very sad Maybe next time. Very Happy
_________________
Once the game is over, the king and the pawn go back in the same box.
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 -> Eggdrop Help 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