=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for i2cb-6.0_ALPHAnb6
--- all ---
Making in src
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_hclear.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_hdel.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_help.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_hush.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_log.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_quit.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_rand.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_replay.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_shell.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_time.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_usage.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c c_version.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c cute.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c defprocs.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c dispatch.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c oset.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c getline.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c getswitch.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c globals.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c helpdata.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c history.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c ipcf.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c main.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c msgs.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c parse.c
parse.c:74:9: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                        putl(Tcl_GetStringResult(interp), PL_SCR | PL_LOG);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./externs.h:116:18: note: passing argument to parameter 's' here
void    putl (char *s, int flags);
                    ^
1 warning generated.
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c print.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c readlineinit.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c register.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_admin.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_beep.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_bump.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_chpw.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_group.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_motd.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_open.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_person.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_register.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_send.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_user.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_version.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c s_who.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c send.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c serverlist.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c signals.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c strings.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c strlist.c
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c tcl.c
tcl.c:35:36: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "oset", oset, (ClientData) 0, NULL);
                                          ^~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:36:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "ounset", ounset, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:37:37: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_log", c_log, (ClientData) 0, NULL);
                                           ^~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:38:40: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_hclear", c_hclear, (ClientData) 0, NULL);
                                              ^~~~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:39:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_hdel", c_hdel, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:40:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_help", c_help, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:41:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_hush", c_hush, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:42:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_quit", c_quit, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:43:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_rand", c_rand, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:44:40: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_replay", c_replay, (ClientData) 0, NULL);
                                              ^~~~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:45:39: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_shell", c_shell, (ClientData) 0, NULL);
                                             ^~~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:46:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_time", c_time, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:47:39: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_usage", c_usage, (ClientData) 0, NULL);
                                             ^~~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:48:41: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "c_version", c_version, (ClientData) 0, NULL);
                                               ^~~~~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:49:39: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_admin", s_admin, (ClientData) 0, NULL);
                                             ^~~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:50:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_beep", s_beep, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:51:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_bump", s_bump, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:52:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_chpw", s_chpw, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:53:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_motd", s_motd, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:54:39: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_group", s_group, (ClientData) 0, NULL);
                                             ^~~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:55:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_open", s_open, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:56:42: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_personal", s_personal, (ClientData) 0, NULL);
                                                ^~~~~~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:57:42: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_register", s_register, (ClientData) 0, NULL);
                                                ^~~~~~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:58:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_send", s_send, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:59:38: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_user", s_user, (ClientData) 0, NULL);
                                            ^~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:60:41: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_version", s_version, (ClientData) 0, NULL);
                                               ^~~~~~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
tcl.c:61:37: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)' to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(ClientData, Tcl_Interp *, int, const char **)') [-Wincompatible-pointer-types]
        Tcl_CreateCommand(interp, "s_who", s_who, (ClientData) 0, NULL);
                                           ^~~~~
/scratch/chat/i2cb/work/.buildlink/include/tclDecls.h:579:39: note: passing argument to parameter 'proc' here
                                CONST char *cmdName, Tcl_CmdProc *proc,
                                                                  ^
27 warnings generated.
gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\" -I/usr/pkg/include -I/usr/include -c unix.c
unix.c:182:19: error: use of undeclared identifier 'ECHO'
        tty.sg_flags &= ~ECHO;
                         ^
unix.c:296:18: error: use of undeclared identifier 'ECHO'
        tty.sg_flags |= ECHO;
                        ^
unix.c:325:19: error: use of undeclared identifier 'ECHO'
        tty.sg_flags &= ~ECHO;
                         ^
3 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/chat/i2cb/work/icb/src
*** [all] Error code 1

make: stopped in /scratch/chat/i2cb/work/icb
1 error

make: stopped in /scratch/chat/i2cb/work/icb
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/chat/i2cb
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/chat/i2cb
