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 

FreeBSD 6 and Eggdrop 1.6.17

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


Joined: 09 Mar 2006
Posts: 3

PostPosted: Thu Mar 09, 2006 11:16 pm    Post subject: FreeBSD 6 and Eggdrop 1.6.17 Reply with quote

When attempting to setup a new eggdrop the configure script runs with no errors.

Upon the 'make' the following happens:

su-2.05b$ make
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
./dcc.c: In function `display_dcc_bot_new':
./dcc.c:366: warning: long int format, time_t arg (arg 3)
./dcc.c: In function `display_dcc_chat_pass':
./dcc.c:636: warning: long int format, time_t arg (arg 3)
./dcc.c: In function `display_dcc_telnet_id':
./dcc.c:1503: warning: long int format, time_t arg (arg 3)
./dcc.c: In function `display_dcc_telnet_new':
./dcc.c:1666: warning: long int format, time_t arg (arg 3)
./dcc.c: In function `display_dcc_telnet_pw':
./dcc.c:1671: warning: long int format, time_t arg (arg 3)
./dcc.c: In function `display_dcc_identwait':
./dcc.c:1901: warning: long int format, time_t arg (arg 3)
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
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c ./tcldcc.c
./tcldcc.c: In function `tcl_dcclist':
./tcldcc.c:624: warning: long int format, time_t arg (arg 4)
./tcldcc.c:624: warning: long int format, time_t arg (arg 4)
./tcldcc.c: In function `tcl_whom':
./tcldcc.c:678: warning: long int format, int arg (arg 4)
./tcldcc.c:678: warning: long int format, int arg (arg 4)
./tcldcc.c:701: warning: long int format, int arg (arg 4)
./tcldcc.c:701: warning: long int format, int arg (arg 4)
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:381: warning: long int format, time_t arg (arg 4)
./tclmisc.c:381: warning: long int format, time_t arg (arg 4)
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c ./tcluser.c
./tcluser.c: In function `tcl_ignorelist':
./tcluser.c:484: warning: long unsigned int format, time_t arg (arg 4)
./tcluser.c:484: warning: long unsigned int format, time_t arg (arg 4)
./tcluser.c:486: warning: long unsigned int format, time_t arg (arg 4)
./tcluser.c:486: warning: long unsigned int format, time_t arg (arg 4)
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c ./userent.c
./userent.c: In function `laston_pack':
./userent.c:315: warning: long unsigned int format, time_t arg (arg 3)
./userent.c: In function `laston_write_userfile':
./userent.c:331: warning: long unsigned int format, time_t arg (arg 3)
./userent.c: In function `laston_tcl_get':
./userent.c:379: warning: long unsigned int format, time_t arg (arg 3)
./userent.c: In function `del_entry_type':
./userent.c:1135: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c ./userrec.c
./userrec.c: In function `write_user':
./userrec.c:413: warning: long unsigned int format, time_t arg (arg 4)
./userrec.c: In function `write_ignores':
./userrec.c:445: warning: long unsigned int format, time_t arg (arg 5)
./userrec.c:445: warning: long unsigned int format, time_t arg (arg 7)
./userrec.c: In function `adduser':
./userrec.c:638: warning: long int format, time_t arg (arg 3)
./userrec.c:640: warning: long int format, time_t arg (arg 3)
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
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c ./inet_aton.c
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c ./snprintf.c
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c ./memset.c
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c ./memcpy.c
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c ./strcasecmp.c
gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c ./strftime.c

---------- Yeah! That's the compiling, now the linking! ----------

Linking eggdrop (standard build).

gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o -L/usr/local/lib -ltcl84 -lm -lpthread md5/md5c.o compat/*.o `cat mod/mod.xlibs`
touch ../eggdrop

Successful compile: eggdrop

gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././assoc.mod/assoc.c
mv assoc.o ../
ld -Bshareable -x -o ../../../assoc.so ../assoc.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../assoc.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././blowfish.mod/blowfish.c
mv blowfish.o ../
ld -Bshareable -x -o ../../../blowfish.so ../blowfish.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../blowfish.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././channels.mod/channels.c
In file included from .././channels.mod/channels.c:54:
.././channels.mod/tclchan.c: In function `tcl_do_masklist':
.././channels.mod/tclchan.c:1497: warning: long unsigned int format, time_t arg (arg 3)
.././channels.mod/tclchan.c:1499: warning: long unsigned int format, time_t arg (arg 3)
.././channels.mod/tclchan.c:1501: warning: long unsigned int format, time_t arg (arg 3)
In file included from .././channels.mod/channels.c:55:
.././channels.mod/userchan.c: In function `write_bans':
.././channels.mod/userchan.c:1078: warning: long unsigned int format, time_t arg (arg 5)
.././channels.mod/userchan.c:1078: warning: long unsigned int format, time_t arg (arg 7)
.././channels.mod/userchan.c:1078: warning: long unsigned int format, time_t arg (arg Cool
.././channels.mod/userchan.c:1103: warning: long unsigned int format, time_t arg (arg 5)
.././channels.mod/userchan.c:1103: warning: long unsigned int format, time_t arg (arg 7)
.././channels.mod/userchan.c:1103: warning: long unsigned int format, time_t arg (arg Cool
.././channels.mod/userchan.c: In function `write_exempts':
.././channels.mod/userchan.c:1133: warning: long unsigned int format, time_t arg (arg 6)
.././channels.mod/userchan.c:1133: warning: long unsigned int format, time_t arg (arg Cool
.././channels.mod/userchan.c:1133: warning: long unsigned int format, time_t arg (arg 9)
.././channels.mod/userchan.c:1158: warning: long unsigned int format, time_t arg (arg 6)
.././channels.mod/userchan.c:1158: warning: long unsigned int format, time_t arg (arg Cool
.././channels.mod/userchan.c:1158: warning: long unsigned int format, time_t arg (arg 9)
.././channels.mod/userchan.c: In function `write_invites':
.././channels.mod/userchan.c:1188: warning: long unsigned int format, time_t arg (arg 5)
.././channels.mod/userchan.c:1188: warning: long unsigned int format, time_t arg (arg 7)
.././channels.mod/userchan.c:1188: warning: long unsigned int format, time_t arg (arg Cool
.././channels.mod/userchan.c:1213: warning: long unsigned int format, time_t arg (arg 5)
.././channels.mod/userchan.c:1213: warning: long unsigned int format, time_t arg (arg 7)
.././channels.mod/userchan.c:1213: warning: long unsigned int format, time_t arg (arg Cool
mv channels.o ../
ld -Bshareable -x -o ../../../channels.so ../channels.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../channels.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././compress.mod/compress.c
rm -f ../compress.o
mv compress.o ../
ld -Bshareable -x -o ../../../compress.so ../compress.o -lz -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../compress.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././console.mod/console.c
mv console.o ../
ld -Bshareable -x -o ../../../console.so ../console.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../console.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././ctcp.mod/ctcp.c
mv ctcp.o ../
ld -Bshareable -x -o ../../../ctcp.so ../ctcp.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../ctcp.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././dns.mod/dns.c
mv dns.o ../
ld -Bshareable -x -o ../../../dns.so ../dns.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../dns.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././filesys.mod/filesys.c
.././filesys.mod/filesys.c: In function `disp_dcc_files_pass':
.././filesys.mod/filesys.c:544: warning: long int format, time_t arg (arg 3)
mv filesys.o ../
ld -Bshareable -x -o ../../../filesys.so ../filesys.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../filesys.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././irc.mod/irc.c
In file included from .././irc.mod/irc.c:78:
.././irc.mod/tclirc.c: In function `tcl_getchanjoin':
.././irc.mod/tclirc.c:625: warning: long unsigned int format, time_t arg (arg 3)
mv irc.o ../
ld -Bshareable -x -o ../../../irc.so ../irc.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../irc.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././notes.mod/notes.c
.././notes.mod/notes.c: In function `tcl_storenote':
.././notes.mod/notes.c:316: warning: long int format, int arg (arg 5)
.././notes.mod/notes.c: In function `msg_notes':
.././notes.mod/notes.c:819: warning: long int format, int arg (arg 5)
mv notes.o ../
ld -Bshareable -x -o ../../../notes.so ../notes.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../notes.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././seen.mod/seen.c
.././seen.mod/seen.c: In function `do_seen':
.././seen.mod/seen.c:476: warning: long unsigned int format, int arg (arg 3)
.././seen.mod/seen.c:481: warning: long unsigned int format, int arg (arg 3)
.././seen.mod/seen.c:486: warning: long unsigned int format, int arg (arg 3)
mv seen.o ../
ld -Bshareable -x -o ../../../seen.so ../seen.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../seen.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././server.mod/server.c
.././server.mod/server.c: In function `next_server':
.././server.mod/server.c:1048: warning: dereferencing type-punned pointer will break strict-aliasing rules
mv server.o ../
ld -Bshareable -x -o ../../../server.so ../server.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../server.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././share.mod/share.c
mv share.o ../
ld -Bshareable -x -o ../../../share.so ../share.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../share.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././transfer.mod/transfer.c
mv transfer.o ../
ld -Bshareable -x -o ../../../transfer.so ../transfer.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../transfer.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././uptime.mod/uptime.c
mv uptime.o ../
ld -Bshareable -x -o ../../../uptime.so ../uptime.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../uptime.so
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././wire.mod/wire.c
mv wire.o ../
ld -Bshareable -x -o ../../../wire.so ../wire.o -L/usr/local/lib -ltcl84 -lm -lpthread
touch ../../../wire.so

All modules compiled.

Test run of ./eggdrop -v:
Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads

Eggdrop successfully compiled:
-rwxr-xr-x 1 firestorm firestorm 681201 Mar 9 22:13 eggdrop

Modules successfully compiled:
-rwxr-xr-x 1 firestorm firestorm 15813 Mar 9 22:13 assoc.so
-rwxr-xr-x 1 firestorm firestorm 20659 Mar 9 22:13 blowfish.so
-rwxr-xr-x 1 firestorm firestorm 150454 Mar 9 22:14 channels.so
-rwxr-xr-x 1 firestorm firestorm 18164 Mar 9 22:14 compress.so
-rwxr-xr-x 1 firestorm firestorm 15879 Mar 9 22:14 console.so
-rwxr-xr-x 1 firestorm firestorm 14312 Mar 9 22:14 ctcp.so
-rwxr-xr-x 1 firestorm firestorm 25815 Mar 9 22:14 dns.so
-rwxr-xr-x 1 firestorm firestorm 136157 Mar 9 22:14 filesys.so
-rwxr-xr-x 1 firestorm firestorm 189766 Mar 9 22:14 irc.so
-rwxr-xr-x 1 firestorm firestorm 43259 Mar 9 22:14 notes.so
-rwxr-xr-x 1 firestorm firestorm 22900 Mar 9 22:14 seen.so
-rwxr-xr-x 1 firestorm firestorm 89268 Mar 9 22:14 server.so
-rwxr-xr-x 1 firestorm firestorm 67299 Mar 9 22:14 share.so
-rwxr-xr-x 1 firestorm firestorm 53792 Mar 9 22:14 transfer.so
-rwxr-xr-x 1 firestorm firestorm 13650 Mar 9 22:14 uptime.so
-rwxr-xr-x 1 firestorm firestorm 21582 Mar 9 22:14 wire.so

Now run "make install" to install your bot.

su-2.05b$ pwd
/home/customers/firestorm/eggdrop1.6.17
su-2.05b$

---------

Any idea?
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Mar 09, 2006 11:55 pm    Post subject: Reply with quote

Any idea of what apart from actually running it?

Quote:
Type make install DEST=/home/name/botdir


Read carefully Setting up an Eggdrop.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
LordLinux
Voice


Joined: 09 Mar 2006
Posts: 3

PostPosted: Fri Mar 10, 2006 2:52 am    Post subject: Reply with quote

After the compile is complete, and I execute to binary, it complains about things in the .conf. This never happened before I had to upgrade the server to 6 due to security reasons. Under 4.11 they compiled fine.

Seems to be the DCC and Channel Modules. I am going to remove TCL84 and see if that helps.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Mar 10, 2006 8:55 am    Post subject: Reply with quote

Hmm.. I have eggies running on *BSD and have no problems; as far as I am aware Tcl8.4 is installed. Warnings there are and I ignore. Does eggdrop actually run ok though?
Quote:
Modules successfully compiled:

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
LordLinux
Voice


Joined: 09 Mar 2006
Posts: 3

PostPosted: Fri Mar 10, 2006 1:57 pm    Post subject: Reply with quote

It will execute but complains about the channel module and dcc.

As shown in the "Successfully Compiled"
the channel and dcc module are not there.
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