WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for i2cb-6.0_ALPHAnb7 --- all --- Making in src --- c_hclear.o --- --- c_hdel.o --- --- c_help.o --- --- c_hush.o --- --- c_log.o --- --- c_quit.o --- --- c_rand.o --- --- c_replay.o --- --- c_shell.o --- --- c_time.o --- --- c_usage.o --- --- c_version.o --- --- cute.o --- --- dispatch.o --- --- oset.o --- --- getline.o --- --- c_help.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_help.c -o c_help.o --- c_hush.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_hush.c -o c_hush.o --- c_log.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_log.c -o c_log.o --- c_replay.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_replay.c -o c_replay.o --- c_quit.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_quit.c -o c_quit.o --- c_version.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_version.c -o c_version.o --- c_shell.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_shell.c -o c_shell.o --- c_time.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_time.c -o c_time.o --- cute.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c cute.c -o cute.o --- c_rand.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_rand.c -o c_rand.o --- dispatch.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c dispatch.c -o dispatch.o --- getline.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c getline.c -o getline.o --- c_hclear.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_hclear.c -o c_hclear.o --- c_hdel.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_hdel.c -o c_hdel.o --- oset.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c oset.c -o oset.o --- c_usage.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c c_usage.c -o c_usage.o --- c_quit.o --- --- getswitch.o --- --- c_rand.o --- c_rand.c: In function 'c_rand': c_rand.c:28:9: warning: implicit declaration of function 'Tcl_Return' [-Wimplicit-function-declaration] 28 | Tcl_Return(interp, num, TCL_VOLATILE); | ^~~~~~~~~~ --- getswitch.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c getswitch.c -o getswitch.o --- cute.o --- --- globals.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c globals.c -o globals.o --- c_help.o --- --- helpdata.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c helpdata.c -o helpdata.o --- c_usage.o --- --- history.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c history.c -o history.o --- c_rand.o --- --- ipcf.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c ipcf.c -o ipcf.o --- c_version.o --- --- main.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c main.c -o main.o --- c_hclear.o --- --- msgs.o --- --- c_hdel.o --- --- parse.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c parse.c -o parse.o --- msgs.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c msgs.c -o msgs.o --- dispatch.o --- --- print.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c print.c -o print.o --- c_time.o --- --- readlineinit.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c readlineinit.c -o readlineinit.o --- c_shell.o --- --- register.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c register.c -o register.o --- c_hush.o --- --- s_admin.o --- --- helpdata.o --- --- s_admin.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_admin.c -o s_admin.o --- s_beep.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_beep.c -o s_beep.o --- globals.o --- --- s_bump.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_bump.c -o s_bump.o --- c_replay.o --- --- s_chpw.o --- --- c_log.o --- --- s_group.o --- --- getline.o --- --- s_chpw.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_chpw.c -o s_chpw.o --- s_motd.o --- --- s_group.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_group.c -o s_group.o --- getswitch.o --- --- s_motd.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_motd.c -o s_motd.o --- s_open.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_open.c -o s_open.o --- oset.o --- --- readlineinit.o --- readlineinit.c: In function 'readlineinit': --- s_person.o --- --- readlineinit.o --- readlineinit.c:23:26: warning: passing argument 2 of 'rl_bind_key_in_map' from incompatible pointer type [-Wincompatible-pointer-types] 23 | rl_bind_key_in_map('\t', handletab, vi_insertion_keymap); | ^~~~~~~~~ | | | int (*)(int, char) In file included from readlineinit.c:4: /scratch/chat/i2cb/work/.buildlink/include/readline/readline.h:311:37: note: expected 'int (*)(int, int)' but argument is of type 'int (*)(int, char)' 311 | extern int rl_bind_key_in_map (int, rl_command_func_t *, Keymap); | ^~~~~~~~~~~~~~~~~~~ readlineinit.c:24:26: warning: passing argument 2 of 'rl_bind_key_in_map' from incompatible pointer type [-Wincompatible-pointer-types] 24 | rl_bind_key_in_map('\t', handletab, vi_movement_keymap); | ^~~~~~~~~ | | | int (*)(int, char) /scratch/chat/i2cb/work/.buildlink/include/readline/readline.h:311:37: note: expected 'int (*)(int, int)' but argument is of type 'int (*)(int, char)' 311 | extern int rl_bind_key_in_map (int, rl_command_func_t *, Keymap); | ^~~~~~~~~~~~~~~~~~~ readlineinit.c:25:26: warning: passing argument 2 of 'rl_bind_key_in_map' from incompatible pointer type [-Wincompatible-pointer-types] 25 | rl_bind_key_in_map('\t', handletab, emacs_standard_keymap); | ^~~~~~~~~ | | | int (*)(int, char) /scratch/chat/i2cb/work/.buildlink/include/readline/readline.h:311:37: note: expected 'int (*)(int, int)' but argument is of type 'int (*)(int, char)' 311 | extern int rl_bind_key_in_map (int, rl_command_func_t *, Keymap); | ^~~~~~~~~~~~~~~~~~~ --- s_person.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_person.c -o s_person.o --- history.o --- --- s_register.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_register.c -o s_register.o --- ipcf.o --- --- s_send.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_send.c -o s_send.o --- readlineinit.o --- --- s_user.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_user.c -o s_user.o --- main.o --- --- s_version.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_version.c -o s_version.o --- register.o --- --- s_who.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c s_who.c -o s_who.o --- msgs.o --- In file included from /usr/include/stdio.h:595, from msgs.c:7: msgs.c: In function 'ampm': msgs.c:399:34: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 1 and 9 [-Wformat-overflow=] 399 | sprintf(timestr, "%2d:%02dpm", (hr > 12) ? hr - 12 : hr, mn); | ^~~~~~~~~~~~ msgs.c:399:39: note: format string is defined here 399 | sprintf(timestr, "%2d:%02dpm", (hr > 12) ? hr - 12 : hr, mn); | ^~~~ msgs.c:399:17: note: '__builtin___sprintf_chk' output between 8 and 25 bytes into a destination of size 12 399 | sprintf(timestr, "%2d:%02dpm", (hr > 12) ? hr - 12 : hr, mn); | ^~~~~~~ --- parse.o --- --- send.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c send.c -o send.o --- msgs.o --- In function 'idlestr', inlined from 'cmdoutmsg' at msgs.c:260:3: msgs.c:374:35: warning: '%2d' directive writing between 2 and 9 bytes into a region of size between 1 and 5 [-Wformat-overflow=] 374 | sprintf(idletime, "%2dh%2dm", hours, minutes); | ^~~~~~~~~~ msgs.c: In function 'cmdoutmsg': msgs.c:374:40: note: format string is defined here 374 | sprintf(idletime, "%2dh%2dm", hours, minutes); | ^~~ In function 'idlestr', inlined from 'cmdoutmsg' at msgs.c:260:3: msgs.c:374:35: note: directive argument in the range [-35791320, 35791334] 374 | sprintf(idletime, "%2dh%2dm", hours, minutes); | ^~~~~~~~~~ msgs.c:374:17: note: '__builtin___sprintf_chk' output between 7 and 18 bytes into a destination of size 8 374 | sprintf(idletime, "%2dh%2dm", hours, minutes); | ^~~~~~~ --- print.o --- --- serverlist.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c serverlist.c -o serverlist.o --- msgs.o --- --- signals.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c signals.c -o signals.o --- s_chpw.o --- --- strings.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c strings.c -o strings.o --- s_group.o --- --- strlist.o --- --- s_bump.o --- --- tcl.o --- --- strlist.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c strlist.c -o strlist.o --- tcl.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c tcl.c -o tcl.o --- s_motd.o --- --- unix.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c unix.c -o unix.o --- s_admin.o --- --- usage.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c usage.c -o usage.o --- s_register.o --- --- clientserve.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c clientserve.c -o clientserve.o --- s_open.o --- --- contoport.o --- --- s_send.o --- --- readpacket.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c readpacket.c -o readpacket.o --- contoport.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c contoport.c -o contoport.o --- s_beep.o --- --- sendpacket.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c sendpacket.c -o sendpacket.o --- s_user.o --- --- defprocs.o --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -g -I/usr/pkg/include -I/usr/include -c defprocs.c -o defprocs.o --- s_person.o --- --- s_who.o --- --- s_version.o --- --- tcl.o --- tcl.c: In function 'tclinit': tcl.c:32:17: warning: implicit declaration of function 'Tcl_MakeSafe'; did you mean 'Tcl_IsSafe'? [-Wimplicit-function-declaration] 32 | Tcl_MakeSafe(interp); | ^~~~~~~~~~~~ | Tcl_IsSafe tcl.c:35:43: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 35 | Tcl_CreateCommand(interp, "oset", oset, (ClientData) 0, NULL); | ^~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /scratch/chat/i2cb/work/.buildlink/include/tcl.h:2442, from icb.h:4, from tcl.c:6: /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:36:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 36 | Tcl_CreateCommand(interp, "ounset", ounset, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:37:44: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 37 | Tcl_CreateCommand(interp, "c_log", c_log, (ClientData) 0, NULL); | ^~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:38:47: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 38 | Tcl_CreateCommand(interp, "c_hclear", c_hclear, (ClientData) 0, NULL); | ^~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:39:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 39 | Tcl_CreateCommand(interp, "c_hdel", c_hdel, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:40:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 40 | Tcl_CreateCommand(interp, "c_help", c_help, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:41:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 41 | Tcl_CreateCommand(interp, "c_hush", c_hush, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:42:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 42 | Tcl_CreateCommand(interp, "c_quit", c_quit, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:43:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 43 | Tcl_CreateCommand(interp, "c_rand", c_rand, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:44:47: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 44 | Tcl_CreateCommand(interp, "c_replay", c_replay, (ClientData) 0, NULL); | ^~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:45:46: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 45 | Tcl_CreateCommand(interp, "c_shell", c_shell, (ClientData) 0, NULL); | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:46:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 46 | Tcl_CreateCommand(interp, "c_time", c_time, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:47:46: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 47 | Tcl_CreateCommand(interp, "c_usage", c_usage, (ClientData) 0, NULL); | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:48:48: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 48 | Tcl_CreateCommand(interp, "c_version", c_version, (ClientData) 0, NULL); | ^~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:49:46: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 49 | Tcl_CreateCommand(interp, "s_admin", s_admin, (ClientData) 0, NULL); | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:50:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 50 | Tcl_CreateCommand(interp, "s_beep", s_beep, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:51:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 51 | Tcl_CreateCommand(interp, "s_bump", s_bump, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:52:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 52 | Tcl_CreateCommand(interp, "s_chpw", s_chpw, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:53:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 53 | Tcl_CreateCommand(interp, "s_motd", s_motd, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:54:46: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 54 | Tcl_CreateCommand(interp, "s_group", s_group, (ClientData) 0, NULL); | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:55:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 55 | Tcl_CreateCommand(interp, "s_open", s_open, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:56:49: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 56 | Tcl_CreateCommand(interp, "s_personal", s_personal, (ClientData) 0, NULL); | ^~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:57:49: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 57 | Tcl_CreateCommand(interp, "s_register", s_register, (ClientData) 0, NULL); | ^~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:58:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 58 | Tcl_CreateCommand(interp, "s_send", s_send, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:59:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 59 | Tcl_CreateCommand(interp, "s_user", s_user, (ClientData) 0, NULL); | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:60:48: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 60 | Tcl_CreateCommand(interp, "s_version", s_version, (ClientData) 0, NULL); | ^~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tcl.c:61:44: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 61 | Tcl_CreateCommand(interp, "s_who", s_who, (ClientData) 0, NULL); | ^~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:284:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 284 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ --- defprocs.o --- --- serverlist.o --- --- sendpacket.o --- --- signals.o --- --- usage.o --- --- strlist.o --- --- send.o --- --- readpacket.o --- --- tcl.o --- --- strings.o --- --- contoport.o --- --- unix.o --- unix.c: In function 'echo': unix.c:40:22: warning: 'tty' may be used uninitialized [-Wmaybe-uninitialized] 40 | #define gtty(fd,buf) tcsetattr((fd), TCSANOW, (buf)) | ^~~~~~~~~ In file included from unix.c:16: /usr/include/termios.h:277:9: note: by argument 3 of type 'const struct termios *' to 'tcsetattr' declared here 277 | int tcsetattr(int, int, const struct termios *); | ^~~~~~~~~ unix.c:264:26: note: 'tty' declared here 264 | struct TTYSTRUCT tty; | ^~~ unix.c: In function 'noecho': unix.c:40:22: warning: 'tty' may be used uninitialized [-Wmaybe-uninitialized] 40 | #define gtty(fd,buf) tcsetattr((fd), TCSANOW, (buf)) | ^~~~~~~~~ /usr/include/termios.h:277:9: note: by argument 3 of type 'const struct termios *' to 'tcsetattr' declared here 277 | int tcsetattr(int, int, const struct termios *); | ^~~~~~~~~ unix.c:293:26: note: 'tty' declared here 293 | struct TTYSTRUCT tty; | ^~~ --- clientserve.o --- --- unix.o --- --- icb --- gcc -O2 -g -fstack-clash-protection -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -o icb c_hclear.o c_hdel.o c_help.o c_hush.o c_log.o c_quit.o c_rand.o c_replay.o c_shell.o c_time.o c_usage.o c_version.o cute.o defprocs.o dispatch.o oset.o getline.o getswitch.o globals.o helpdata.o history.o ipcf.o main.o msgs.o parse.o print.o readlineinit.o register.o s_admin.o s_beep.o s_bump.o s_chpw.o s_group.o s_motd.o s_open.o s_person.o s_register.o s_send.o s_user.o s_version.o s_who.o send.o serverlist.o signals.o strings.o strlist.o tcl.o unix.o usage.o clientserve.o contoport.o readpacket.o sendpacket.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -ltcl -lreadline -lcurses -ltermcap -lm ld: c_rand.o: in function `c_rand': /scratch/chat/i2cb/work/icb/src/c_rand.c:28:(.text+0xaa): undefined reference to `Tcl_Return' ld: tcl.o: in function `tclinit': /scratch/chat/i2cb/work/icb/src/tcl.c:32:(.text+0x3b9): undefined reference to `Tcl_MakeSafe' *** [icb] Error code 1 make[1]: stopped making "default" in /scratch/chat/i2cb/work/icb/src make[1]: 1 error make[1]: stopped making "default" in /scratch/chat/i2cb/work/icb/src *** [all] Error code 2 make: stopped making "all" in /scratch/chat/i2cb/work/icb make: 1 error make: stopped making "all" in /scratch/chat/i2cb/work/icb *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/chat/i2cb *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/chat/i2cb