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.19-ssl-rootie.patch make errors

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


Joined: 29 Apr 2008
Posts: 3

PostPosted: Mon Aug 03, 2009 4:42 am    Post subject: eggdrop-1.6.19-ssl-rootie.patch make errors Reply with quote

I started out by downloading eggdrop1.6.19+ctcpfix.tar.gz. I ./configure, make config, make, make install. No issues. Now I go to apply the patch.

I get
Quote:
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- src/patch.h 2008-04-19 06:21:20.000000000 +0200
|+++ src/patch.h 2008-04-19 11:29:55.000000000 +0200
--------------------------
Patching file src/patch.h using Plan A...
Hunk #1 failed at 32.
1 out of 1 hunks failed--saving rejects to src/patch.h.rej


patch.h.rej reads as follows
Quote:
***************
*** 32,42 ****
*/
#ifndef _EGG_PATCH_H
#define _EGG_PATCH_H
- /*
- *
- *
- */
- /* PATCH GOES HERE */
/*
*
*
--- 32,40 ----
*/
#ifndef _EGG_PATCH_H
#define _EGG_PATCH_H
+ #ifdef EGG_SSL_EXT
+ patch("SSL");
+ #endif
/*
*
*


So I hand edited that in with pico. I goto 'make' and I get
Quote:
This may take a while. Go get some runts.

gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botcmd.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botmsg.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botnet.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c chanprog.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c cmds.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c dcc.c
In file included from dcc.c:36:
md5/md5.h:8:23: ../config.h: No such file or directory
*** Error code 1

So I assume they mean /home/user/config.h So I edit the md5.h direcly to that instead of ..config.h

Which appears to work at first then

Quote:
This may take a while. Go get some runts.

gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c dcc.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c dccutil.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c dns.c
dns.c: In function `display_dcc_dnswait':
dns.c:67: warning: long int format, time_t arg (arg 3)
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c flags.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c language.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c match.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H '-DCCFLAGS="gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H "' '-DLDFLAGS="gcc -pipe"' '-DSTRIPFLAGS="touch"' -c ./main.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c mem.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c misc.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c misc_file.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c modules.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c net.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c rfc1459.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c tcl.c
tcl.c: In function `readtclprog':
tcl.c:746: warning: assignment discards qualifiers from pointer target type
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c tcldcc.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c tclhash.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c tclmisc.c
tclmisc.c: In function `tcl_unixtime':
tclmisc.c:386: warning: long int format, time_t arg (arg 4)
tclmisc.c:386: warning: long int format, time_t arg (arg 4)
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c tcluser.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c userent.c
userent.c: In function `del_entry_type':
userent.c:1141: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c userrec.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c users.c
gcc -pipe -g -O2 -Wall -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c md5c.c
md5c.c:28: error: redefinition of typedef 'MD5_u32plus'
md5.h:16: error: previous declaration of 'MD5_u32plus' was here
md5c.c:35: error: conflicting types for 'MD5_CTX'
md5.h:23: error: previous declaration of 'MD5_CTX' was here
md5c.c:192: error: conflicting types for 'MD5_Init'
md5.h:25: error: previous declaration of 'MD5_Init' was here
md5c.c:192: error: conflicting types for 'MD5_Init'
md5.h:25: error: previous declaration of 'MD5_Init' was here
md5c.c:203: error: conflicting types for 'MD5_Update'
md5.h:26: error: previous declaration of 'MD5_Update' was here
md5c.c:203: error: conflicting types for 'MD5_Update'
md5.h:26: error: previous declaration of 'MD5_Update' was here
md5c.c:237: error: conflicting types for 'MD5_Final'
md5.h:27: error: previous declaration of 'MD5_Final' was here
md5c.c:237: error: conflicting types for 'MD5_Final'
md5.h:27: error: previous declaration of 'MD5_Final' was here
*** Error code 1

Stop in /usr/home/mrstatic/eggdrop1.6.19/src/md5.
*** Error code 1


Any help would be appreciated.
Back to top
View user's profile Send private message
ttraxx
Voice


Joined: 10 Aug 2009
Posts: 1

PostPosted: Mon Aug 10, 2009 8:16 am    Post subject: Reply with quote

Got exact the same error here.

Hunk #1 failed at 32.
1 out of 1 hunks failed--saving rejects to src/patch.h.rej

Any solution to get around this ?
Back to top
View user's profile Send private message
thommey
Halfop


Joined: 01 Apr 2008
Posts: 73

PostPosted: Mon Aug 17, 2009 1:32 pm    Post subject: Reply with quote

It's not really important. You can ignore the patch.h rejection error.

Patch.h is only responsible for generating the version number as in:
eggdrop1.6.19+ssl+ipv6

Nothing else. You can add the tag missing manually if you want to, the file is trivial to understand. But it's not required.
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