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.

Error during make..

General support and discussion of Eggdrop bots.
Post Reply
s
sheybklyn
Voice
Posts: 1
Joined: Wed Jan 26, 2011 11:59 pm

Error during make..

Post by sheybklyn »

Here is the error, sorry if its long, but I figured the make info would be helpful.
shey@sandbox:~/eggdrop1.6.20$ make
make[1]: Entering directory `/home/shey/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
dcc.c: In function ‘strip_telnet’:
dcc.c:126: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
dcc.c:127: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
dcc.c:133: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
dcc.c:134: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
dcc.c:139: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c dccutil.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c dns.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c flags.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c language.c
language.c: In function ‘read_lang’:
language.c:245: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c match.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H \
'-DCCFLAGS="gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H "' \
'-DLDFLAGS="gcc"' \
'-DSTRIPFLAGS="touch"' -c ./main.c
./main.c: In function ‘do_arg’:
./main.c:492: warning: format not a string literal and no format arguments
./main.c: In function ‘main’:
./main.c:1045: warning: format not a string literal and no format arguments
./main.c:1062: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
./main.c:1106: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result
./main.c:1107: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result
./main.c:1108: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result
./main.c: At top level:
./main.c:687: warning: ‘patch’ defined but not used
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c mem.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c misc.c
misc.c: In function ‘putlog’:
misc.c:604: warning: format not a string literal and no format arguments
misc.c: In function ‘scan_help_file’:
misc.c:1071: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
misc.c: In function ‘showhelp’:
misc.c:1220: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
misc.c: In function ‘display_tellhelp’:
misc.c:1249: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
misc.c: In function ‘show_motd’:
misc.c:1379: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
misc.c: In function ‘show_banner’:
misc.c:1413: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c misc_file.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c modules.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c net.c
net.c: In function ‘tputs’:
net.c:1015: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c rfc1459.c
gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c tcl.c
tcl.c: In function ‘init_tcl’:
tcl.c:698: error: ‘Tcl_NotifierProcs’ has no member named ‘initNotifierProc’
tcl.c:703: error: ‘Tcl_NotifierProcs’ has no member named ‘finalizeNotifierProc’
make[1]: *** [tcl.o] Error 1
make[1]: Leaving directory `/home/shey/eggdrop1.6.20/src'
make: *** [modegg] Error 2
Any assistance?
S
SIrJoKer
Voice
Posts: 7
Joined: Thu Aug 06, 2009 2:50 pm

Post by SIrJoKer »

Have you tried some other archive ?
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

Please answer the following:
1. Which OS are you running and which version of it? (Example: Ubuntu 10.10)
2. Do you have TCL installed, and if so, which version?
3. Did you run the configuration steps (./configure then make config) before trying to compile?
p
pseudo
Halfop
Posts: 88
Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:

Post by pseudo »

This is a bug in eggdrop which we've fixed in cvs. To make it compile, run configure as usual, open src/config.h and remove the following line:

Code: Select all

#define HAVE_TCL_SETNOTIFIER 1
Proceed with make and make install. Don't run configure after you make this change or it would overwrite it.
Post Reply