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.

[SOLVED] eggdrop connects and then disconnect

General support and discussion of Eggdrop bots.
Post Reply
k
kameelperdza
Voice
Posts: 3
Joined: Mon Oct 18, 2010 10:25 am

[SOLVED] eggdrop connects and then disconnect

Post by kameelperdza »

Good day people.

I am hoping someone can help me to make eggdrop work.

I get some errors when i try to compile eggdrop from source.

Here it is...

Code: Select all

root@emi-apie:/etc/eggdrop1.6.20# make config
Detecting modules.................... done.
Calculating dependencies................... done.
Building ./src/mod/Makefile... done.
make[1]: Entering directory `/etc/eggdrop1.6.20/src/mod'

Configuring module 'compress'.
configure: creating cache ../../../config.cache
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gzopen in -lz... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
configure: updating cache ../../../config.cache
configure: creating ./config.status
config.status: creating Makefile

Configuring module 'dns'.
configure: loading cache ../../../config.cache
checking for gcc... (cached) gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for res_init... no
checking for res_init in -lresolv... no
checking for res_init in -lbind... no
checking for __res_init... yes
checking for res_mkquery... no
checking for res_mkquery in -lresolv... no
checking for res_mkquery in -lbind... no
checking for __res_mkquery... no
checking for __res_mkquery in -lresolv... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: updating cache ../../../config.cache
configure: creating ./config.status
config.status: creating Makefile

make[1]: Leaving directory `/etc/eggdrop1.6.20/src/mod'
Building ./src/mod/Makefile... done.

You can now compile the bot, using "make".

root@emi-apie:/etc/eggdrop1.6.20# make
make[1]: Entering directory `/etc/eggdrop1.6.20/src'

This may take a while. Go get some runts.

make[1]: Warning: File `../config.h' has modification time 12 s in the future
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:688: 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 `/etc/eggdrop1.6.20/src'
make: *** [modegg] Error 2
root@emi-apie:/etc/eggdrop1.6.20#
i have tcl version 8.5.9 installed. I am running ubuntu server 9.04 64bit and use unrealircd and cgi-irc.

I am able to install older eggdrop by typing in apt-get install eggdrop. But when i type in ./eggdrop -m -nt eggdrop.conf then it shows that eggdrop connects to irc server and then disconnects within less than a second.

Any help would be greatly appreciated.
p
pseudo
Halfop
Posts: 88
Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:

Post by pseudo »

k
kameelperdza
Voice
Posts: 3
Joined: Mon Oct 18, 2010 10:25 am

Post by kameelperdza »

Thank you i have solved the problem
Post Reply