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.

compile problem

Old posts that have not been replied to for several years.
Locked
s
sys
Voice
Posts: 19
Joined: Mon Sep 24, 2001 8:00 pm
Location: Middle East

compile problem

Post by sys »

I compile eggdrop on a machine running FreeBSD 5.3-STABLE and I got lots of warning durning the compilation.
Will this warning effects on eggdrop running or performances?
Below is the compilation history.

wolf@ft1:~/eggdrop1.6.17$ 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 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
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
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 8)
.././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 8)
.././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 8)
.././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 8)
.././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 8)
.././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 8)
mv channels.o ../
ld -Bshareable -x -o ../../../channels.so ../channels.o -L/usr/local/lib -ltcl84 -lm
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
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
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
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
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
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
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
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
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
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
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
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
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
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 force users 679897 Dec 12 11:24 eggdrop

Modules successfully compiled:
-rwxr-xr-x 1 force users 15833 Dec 12 11:24 assoc.so
-rwxr-xr-x 1 force users 20635 Dec 12 11:24 blowfish.so
-rwxr-xr-x 1 force users 150494 Dec 12 11:24 channels.so
-rwxr-xr-x 1 force users 17701 Dec 12 11:24 compress.so
-rwxr-xr-x 1 force users 15899 Dec 12 11:24 console.so
-rwxr-xr-x 1 force users 14340 Dec 12 11:24 ctcp.so
-rwxr-xr-x 1 force users 25680 Dec 12 11:24 dns.so
-rwxr-xr-x 1 force users 135718 Dec 12 11:24 filesys.so
-rwxr-xr-x 1 force users 189611 Dec 12 11:24 irc.so
-rwxr-xr-x 1 force users 43251 Dec 12 11:24 notes.so
-rwxr-xr-x 1 force users 22892 Dec 12 11:24 seen.so
-rwxr-xr-x 1 force users 88897 Dec 12 11:24 server.so
-rwxr-xr-x 1 force users 67323 Dec 12 11:24 share.so
-rwxr-xr-x 1 force users 53896 Dec 12 11:24 transfer.so
-rwxr-xr-x 1 force users 13188 Dec 12 11:24 uptime.so
-rwxr-xr-x 1 force users 21578 Dec 12 11:24 wire.so

Now run "make install" to install your bot.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Re: compile problem

Post by demond »

sys wrote:I compile eggdrop on a machine running FreeBSD 5.3-STABLE and I got lots of warning durning the compilation.
Will this warning effects on eggdrop running or performances?
no
Locked