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 

[SOLVED] eggdrop connects and then disconnect

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


Joined: 18 Oct 2010
Posts: 3

PostPosted: Mon Oct 18, 2010 10:35 am    Post subject: [SOLVED] eggdrop connects and then disconnect Reply with quote

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


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Mon Oct 18, 2010 2:37 pm    Post subject: Reply with quote

Read http://forum.egghelp.org/viewtopic.php?t=17912
Back to top
View user's profile Send private message Visit poster's website
kameelperdza
Voice


Joined: 18 Oct 2010
Posts: 3

PostPosted: Tue Oct 19, 2010 5:13 am    Post subject: Reply with quote

Thank you i have solved the problem
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