| View previous topic :: View next topic |
| Author |
Message |
conan_i Voice
Joined: 12 Jun 2005 Posts: 18
|
Posted: Mon Jun 13, 2005 10:23 am Post subject: Error code 1 |
|
|
Patch done, but an error occurs, and i cant continue configuring
| Quote: |
Recreating list of active modules... done.
Calculating dependencies.................. done.
Building ./src/mod/Makefile... done.
Configuring module 'compress'.
configure: loading cache ../../../config.cache
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... (cached) none needed
checking for gzopen in -lz... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) no
checking for unistd.h... (cached) yes
checking for zlib.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
Configuring module 'dns'.
configure: loading cache ../../../config.cache
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... (cached) none needed
checking for res_init... (cached) yes
checking for res_mkquery... (cached) yes
checking build system type... (cached) i386-unknown-freebsd4.11
checking host system type... (cached) i386-unknown-freebsd4.11
configure: creating ./config.status
config.status: creating Makefile
Building ./src/mod/Makefile... done.
You can now compile the bot, using "make".
name@viper:~/eggdrop1.6.17$ make
This may take a while. Go get some runts.
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c ./dccutil.c
./dccutil.c:36: net.h: No such file or directory
./dccutil.c:42: syntax error before `*'
./dccutil.c:42: warning: type defaults to `int' in declaration of `socklist'
./dccutil.c:42: warning: data definition has no type or storage class
./dccutil.c: In function `init_dcc_max':
./dccutil.c:70: request for member `flags' in something not a structure or union
./dccutil.c: In function `expmem_dccutil':
./dccutil.c:77: `sock_list' undeclared (first use in this function)
./dccutil.c:77: (Each undeclared identifier is reported only once
./dccutil.c:77: for each function it appears in.)
*** Error code 1
Stop in /usr/home/name/eggdrop1.6.17/src.
*** Error code 1
|
anyone knows whats the error, what am i missing
Please help me |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Jun 13, 2005 1:53 pm Post subject: Re: Error code 1 |
|
|
| conan_i wrote: |
anyone knows whats the error, what am i missing
|
| Quote: |
./dccutil.c:36: net.h: No such file or directory
|
|
|
| Back to top |
|
 |
conan_i Voice
Joined: 12 Jun 2005 Posts: 18
|
Posted: Tue Jun 14, 2005 2:25 am Post subject: |
|
|
| thanks for ur reply demond i now got the error just a simple mistaken command |
|
| Back to top |
|
 |
conan_i Voice
Joined: 12 Jun 2005 Posts: 18
|
Posted: Tue Jun 14, 2005 2:38 am Post subject: My bot cannot connect to server |
|
|
My bot cannot connect to server
the ssl port is 7001 i add server to the .config file as server.network.net:7001
| Code: |
Eggdrop v1.6.17+SSL (C) 1997 Robey Pointer (C) 2004 Eggheads
[02:31] Allocated bind table unld (flags 1)
[02:31] Allocated bind table time (flags 1)
[02:31] Allocated bind table note (flags 0)
[02:31] Allocated bind table nkch (flags 1)
[02:31] Allocated bind table load (flags 1)
[02:31] Allocated bind table link (flags 1)
[02:31] Allocated bind table filt (flags 1)
[02:31] Allocated bind table disc (flags 1)
[02:31] Allocated bind table dcc (flags 0)
[02:31] Allocated bind table chpt (flags 1)
[02:31] Allocated bind table chon (flags 1)
[02:31] Allocated bind table chof (flags 1)
[02:31] Allocated bind table chjn (flags 1)
[02:31] Allocated bind table chat (flags 1)
[02:31] Allocated bind table bot (flags 0)
[02:31] Allocated bind table bcst (flags 1)
[02:31] Allocated bind table away (flags 1)
[02:31] Allocated bind table act (flags 1)
[02:31] Allocated bind table evnt (flags 1)
[02:31] --- Loading eggdrop v1.6.17+SSL (Tue Jun 14 2005)
[02:31] Listening at telnet port 3337 (all).
[02:31] Module loaded: dns
[02:31] Module loaded: channels
[02:31] Allocated bind table wall (flags 1)
[02:31] Allocated bind table raw (flags 1)
[02:31] Allocated bind table notc (flags 1)
[02:31] Allocated bind table msgm (flags 1)
[02:31] Allocated bind table msg (flags 0)
[02:31] Allocated bind table flud (flags 1)
[02:31] Allocated bind table ctcr (flags 1)
[02:31] Allocated bind table ctcp (flags 1)
[02:31] Module loaded: server
[02:31] Module loaded: ctcp
[02:31] Allocated bind table topc (flags 1)
[02:31] Allocated bind table splt (flags 1)
[02:31] Allocated bind table sign (flags 1)
[02:31] Allocated bind table rejn (flags 1)
[02:31] Allocated bind table part (flags 1)
[02:31] Allocated bind table nick (flags 1)
[02:31] Allocated bind table mode (flags 1)
[02:31] Allocated bind table kick (flags 1)
[02:31] Allocated bind table join (flags 1)
[02:31] Allocated bind table pubm (flags 1)
[02:31] Allocated bind table pub (flags 0)
[02:31] Allocated bind table need (flags 1)
[02:31] Module loaded: irc
[02:31] LANG: Section loaded: notes
[02:31] LANG: 42 messages of 47 lines loaded from ./language/notes.english.lang
[02:31] LANG: 42 adds, 0 updates to message table
[02:31] Module loaded: notes (with lang support)
[02:31] LANG: Section loaded: console
[02:31] LANG: 10 messages of 15 lines loaded from ./language/console.english.lang
[02:31] LANG: 10 adds, 0 updates to message table
[02:31] Module loaded: console (with lang support)
[02:31] Module loaded: woobie
[02:31] Module loaded: seen
[02:31] Module loaded: blowfish
[02:31] LANG: Section loaded: assoc
[02:31] LANG: 16 messages of 21 lines loaded from ./language/assoc.english.lang
[02:31] LANG: 16 adds, 0 updates to message table
[02:31] Module loaded: assoc (with lang support)
[02:31] LANG: Section loaded: wire
[02:31] LANG: 10 messages of 15 lines loaded from ./language/wire.english.lang
[02:31] LANG: 10 adds, 0 updates to message table
[02:31] Module loaded: wire (with lang support)
[02:31] Module loaded: uptime
[02:31] ____________________________________________________________________
[02:31]
[02:31] OTBN.TCL by Overtech Technologies successfully loaded...
[02:31] For more information and for updates: visit OvertechTechnologies.com
[02:31] ____________________________________________________________________
[02:31] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[02:31] use '.help userinfo' for commands.
[02:31] Creating channel file
STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
OR go to IRC and type: /msg my-bot-nick hello
This will make the bot recognize you as the master.
[02:31] === iRobot: 1 channels, 0 users.
[02:31] main: entering loop
[02:31] Trying server server.network.net:7001
[02:31] DNS resolved server.network.net to 127.0.0.1
[02:31] net: connect! sock 6
[02:31] Connected to server.network.net
[02:31] net: eof!(read) socket 6
[02:31] Disconnected from server.network.net
[02:32] Trying server server1.network.net:7001
[02:32] DNS resolved server1.network.net to 127.0.0.1
[02:32] net: eof!(write) socket 6 (Broken pipe,32)
[02:32] Disconnected from server1.network.net
|
help again please |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Jun 14, 2005 2:54 am Post subject: |
|
|
eggdrop doesn't support SSL connections out-of-the-box
you need to patch it first, using the popular eggdrop+ssl patch |
|
| Back to top |
|
 |
conan_i Voice
Joined: 12 Jun 2005 Posts: 18
|
Posted: Tue Jun 14, 2005 3:17 am Post subject: |
|
|
i thought i already patch
| Code: | Eggdrop v1.6.17+SSL (C) 1997 Robey Pointer (C) 2004 Eggheads
|
is it, or not still? |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Jun 14, 2005 3:27 am Post subject: |
|
|
well, in such case there's something wrong either with your patch, your config, or with that server
try irc.demond.net:8181, it's guaranteed working SSL |
|
| Back to top |
|
 |
conan_i Voice
Joined: 12 Jun 2005 Posts: 18
|
Posted: Tue Jun 14, 2005 4:28 am Post subject: |
|
|
| Code: |
--------------------------
File to patch: eggdrop1.6.17/src/mod/transfer.mod/language/transfer.finnish.lang
Patching file eggdrop1.6.17/src/mod/transfer.mod/language/transfer.finnish.lang using Plan A...
Hunk #1 succeeded at 0.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN eggdrop1.6.17/src/mod/transfer.mod/language/transfer.french.lang irobot/src/mod/transfer.mod/language/transfer.french.lang
|--- eggdrop1.6.17/src/mod/transfer.mod/language/transfer.french.lang Thu May 20 17:44:10 2004
|+++ irobot/src/mod/transfer.mod/language/transfer.french.lang Wed Dec 31 19:00:00 1969
--------------------------
File to patch: eggdrop1.6.17/src/mod/transfer.mod/language/transfer.french.lang
Patching file eggdrop1.6.17/src/mod/transfer.mod/language/transfer.french.lang using Plan A...
Hunk #1 succeeded at 0.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN eggdrop1.6.17/src/mod/transfer.mod/language/transfer.german.lang irobot/src/mod/transfer.mod/language/transfer.german.lang
|--- eggdrop1.6.17/src/mod/transfer.mod/language/transfer.german.lang Thu May 20 17:44:10 2004
|+++ irobot/src/mod/transfer.mod/language/transfer.german.lang Wed Dec 31 19:00:00 1969
--------------------------
File to patch: eggdrop1.6.17/src/mod/transfer.mod/language/transfer.german.lang
Patching file eggdrop1.6.17/src/mod/transfer.mod/language/transfer.german.lang using Plan A...
Hunk #1 succeeded at 0.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN eggdrop1.6.17/src/mod/transfer.mod/modinfo irobot/src/mod/transfer.mod/modinfo
|--- eggdrop1.6.17/src/mod/transfer.mod/modinfo Thu May 27 01:23:40 2004
|+++ irobot/src/mod/transfer.mod/modinfo Wed Dec 31 19:00:00 1969
--------------------------
File to patch:eggdrop1.6.17/src/mod/transfer.mod/modinfo
|
Is this the way to patch?
i think i patch it again and again the same file, huiss!! betta try to do it myself, if other can do why cant i do it?
Thanks for ur help demond |
|
| Back to top |
|
 |
conan_i Voice
Joined: 12 Jun 2005 Posts: 18
|
Posted: Tue Jun 14, 2005 4:45 am Post subject: |
|
|
| Quote: |
demond wrote:
well, in such case there's something wrong either with your patch, your config, or with that server
try irc.demond.net:8181, it's guaranteed working SSL
|
| Quote: |
[04:44] Trying server irc.demond.net:8181
[04:44] DNS resolved irc.demond.net to 209.123.78.159
[04:44] net: connect! sock 7
[04:44] Connected to irc.demond.net
[04:44] -ERROR from server- You have been D-lined.
[04:44] Disconnecting from server.
|
well might be the server
 |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Jun 14, 2005 12:06 pm Post subject: |
|
|
| what's the IP of your bot? |
|
| Back to top |
|
 |
conan_i Voice
Joined: 12 Jun 2005 Posts: 18
|
Posted: Wed Jun 15, 2005 11:29 am Post subject: |
|
|
| demond wrote: | | what's the IP of your bot? |
| Quote: | | here is the ip 204.8.218.2 |
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Jun 15, 2005 12:11 pm Post subject: |
|
|
| okay I un-D:lined 204.*, try again |
|
| Back to top |
|
 |
conan_i Voice
Joined: 12 Jun 2005 Posts: 18
|
Posted: Wed Jun 15, 2005 1:00 pm Post subject: |
|
|
| Quote: |
[12:57] main: entering loop
[12:57] Trying server irc.demond.net:8181
[12:57] DNS resolved irc.demond.net to 209.123.78.159
[12:57] net: connect! sock 7
[12:57] Connected to irc.demond.net
[12:57] net: eof!(read) socket 7
[12:57] Disconnected from irc.demond.net
|
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Jun 15, 2005 1:19 pm Post subject: |
|
|
then the problem is with your SSL-enabled bot/patch, it simply doesn't work; or maybe you misconfigured it, there should be some way in the config of specifying/distinguishing between SSL and normal server:port
check if it works on normal (not SSL) ports |
|
| Back to top |
|
 |
conan_i Voice
Joined: 12 Jun 2005 Posts: 18
|
Posted: Thu Jun 16, 2005 2:41 am Post subject: |
|
|
| works well without SSL Port, the might be some misconfiguration as u said, betta check it again, thanks for your help demond |
|
| Back to top |
|
 |
|