+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icb-5.0.9pl1nb7/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icb-5.0.9pl1nb7/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for icb-5.0.9pl1nb7 --- all --- Making in murgil cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c clientserve.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c contoport.c contoport.c: In function 'connecttoport': contoport.c:36:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 36 | bzero((char *) &saddr, sizeof(saddr)); | ^~~~~ contoport.c:37:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 37 | bcopy((char *) addr, (char *) &saddr.sin_addr, 4); | ^~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c discuser.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c getaddr.c getaddr.c: In function '_getaddress': getaddr.c:56:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 56 | bcopy(hp->h_addr, (char *) &iaddr.s_addr, (unsigned int) hp->h_length); | ^~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c getrname.c getrname.c: In function 'getremotename': getrname.c:32:38: error: passing argument 2 of 'getpeername' from incompatible pointer type [-Wincompatible-pointer-types] 32 | if (getpeername(s, PEER_CAST &rs, &rs_size) < 0) { | ^~~ | | | struct sockaddr_in * In file included from getrname.c:7: /usr/include/sys/socket.h:555:29: note: expected 'struct sockaddr * restrict' but argument is of type 'struct sockaddr_in *' 555 | extern int getpeername(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t); | ^ *** Error code 1 Stop. make[1]: stopped making "default" in /home/pbulk/build/chat/icb/work/icb-5.0.9/murgil Making in tcl cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c panic.c In file included from panic.c:21: ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c strerror.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c tclAssem.c In file included from tclAssem.c:25: ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* tclAssem.c: In function 'Tcl_CreateCmdBuf': tclAssem.c:50:22: warning: 'malloc' argument 1 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 50 | #define CMD_BUF_SIZE 100 | ^~~ tclAssem.c:75:28: note: in expansion of macro 'CMD_BUF_SIZE' 75 | cbPtr->buffer = malloc(CMD_BUF_SIZE); | ^~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclAssem.c: In function 'Tcl_AssembleCmd': tclAssem.c:178:25: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 178 | newBuf = malloc(newSize); | ^~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c tclBasic.c In file included from tclBasic.c:24: ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* tclBasic.c: In function 'Tcl_Eval': tclBasic.c:662:55: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 662 | newCopy = (char *) malloc((unsigned) copySize); | ^~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclBasic.c:663:29: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 663 | bcopy(copy, newCopy, (dst-copy)); | ^~~~~ tclBasic.c:675:25: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 675 | bcopy(iPtr->result, dst, length); | ^~~~~ tclBasic.c:875:43: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 875 | newCopy = (char *) malloc((unsigned) copySize); | ^~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclBasic.c:876:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 876 | bcopy(copy, newCopy, (dst-copy)); | ^~~~~ tclBasic.c:1043:13: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 1043 | p = index(cmdStart, '\n'); | ^~~~~ tclBasic.c: In function 'Tcl_AddErrorInfo': tclBasic.c:1260:25: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1260 | buffer = malloc((unsigned) (length + strlen(message) + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c tclCmdAH.c In file included from tclCmdAH.c:30: ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* tclCmdAH.c: In function 'Tcl_ExecCmd': tclCmdAH.c:611:41: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 611 | newOutput = (char *) malloc((unsigned) outputSpace); | ^~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclCmdAH.c:613:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 613 | bcopy(output, newOutput, outputSize); | ^~~~~ tclCmdAH.c: In function 'Tcl_FileCmd': tclCmdAH.c:769:13: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 769 | p = rindex(fileName, '/'); | ^~~~~~ tclCmdAH.c:782:13: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 782 | p = rindex(fileName, '.'); | ^~~~~~ tclCmdAH.c:795:13: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 795 | p = rindex(fileName, '.'); | ^~~~~~ tclCmdAH.c:802:13: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 802 | p = rindex(fileName, '/'); | ^~~~~~ tclCmdAH.c: In function 'Tcl_FormatCmd': tclCmdAH.c:1303:57: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1303 | newDst = (char *) malloc((unsigned) newSpace+1); | ~~~~~~~~~~~~~~~~~~~^~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclCmdAH.c:1305:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 1305 | bcopy(dst, newDst, dstSize); | ^~~~~ tclCmdAH.c:1314:13: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 1314 | bcopy(oneWordValue, dst+dstSize, size); | ^~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c tclCmdIZ.c In file included from tclCmdIZ.c:25: ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* tclCmdIZ.c: In function 'Tcl_IndexCmd': tclCmdIZ.c:163:61: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 163 | interp->result = (char *) malloc((unsigned) size+1); | ~~~~~~~~~~~~~~~^~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclCmdIZ.c:167:13: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 167 | bcopy(element, interp->result, size); | ^~~~~ tclCmdIZ.c: In function 'Tcl_InfoCmd': tclCmdIZ.c:471:13: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 471 | bcopy((char *) argv, (char *) newArgs, argc*sizeof(char *)); | ^~~~~ tclCmdIZ.c: In function 'Tcl_ScanCmd': tclCmdIZ.c:1055:31: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1055 | results = (char *) malloc((unsigned) totalSize); | ^~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclCmdIZ.c: In function 'Tcl_SourceCmd': tclCmdIZ.c:1160:59: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1160 | cmdBuffer = (char *) malloc((unsigned) statBuf.st_size+1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c tclExpr.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c tclGlob.c In file included from tclGlob.c:24: ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* tclGlob.c: In function 'AppendResult': tclGlob.c:106:27: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 106 | newSpace = malloc((unsigned) newSize); | ^~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclGlob.c:107:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 107 | bcopy(resPtr->result, newSpace, resPtr->spaceUsed); | ^~~~~ tclGlob.c: In function 'DoGlob': tclGlob.c:235:29: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 235 | newRem = malloc((unsigned) remLength); | ^~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclGlob.c:287:30: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 287 | pattern = malloc((unsigned) (l2+1)); | ^~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclGlob.c:314:41: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 314 | newDir = malloc((unsigned) (l1+D_NAMLEN(entryPtr)+2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclGlob.c:351:29: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 351 | newDir = malloc((unsigned) l2); | ^~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclGlob.c: In function 'Tcl_TildeSubst': tclGlob.c:436:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 436 | bcopy(name+1, curBuf, length); | ^~~~~ tclGlob.c:458:25: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 458 | curBuf = malloc((unsigned) curSize); | ^~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c tclHistory.c In file included from tclHistory.c:26: ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* tclHistory.c: In function 'Tcl_HistoryCmd': tclHistory.c:321:21: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 321 | p = index(p, '\n'); | ^~~~~ tclHistory.c:330:20: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 330 | p = malloc((unsigned) (length+1)); | ^~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c:354:24: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 354 | next = index(cur, '\n'); | ^~~~~ tclHistory.c:395:24: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 395 | malloc((unsigned) (count * sizeof(HistoryEvent))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c:90:26: warning: 'malloc' argument 1 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 90 | #define INITIAL_CMD_SIZE 40 | ^~ tclHistory.c:412:44: note: in expansion of macro 'INITIAL_CMD_SIZE' 412 | events[i].command = malloc(INITIAL_CMD_SIZE); | ^~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'HistoryInit': tclHistory.c:522:20: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 522 | malloc((unsigned) (numEvents * sizeof(HistoryEvent))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c:90:26: warning: 'malloc' argument 1 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 90 | #define INITIAL_CMD_SIZE 40 | ^~ tclHistory.c:524:42: note: in expansion of macro 'INITIAL_CMD_SIZE' 524 | iPtr->events[i].command = malloc(INITIAL_CMD_SIZE); | ^~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'MakeSpace': tclHistory.c:559:32: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 559 | hPtr->command = malloc((unsigned) size); | ^~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'RevCommand': tclHistory.c:666:31: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 666 | revPtr->newBytes = malloc((unsigned) (revPtr->newSize+1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'DoRevs': tclHistory.c:783:25: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 783 | newCommand = malloc(size); | ^~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'SubsAndEval': tclHistory.c:984:21: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 984 | newCmd = malloc((unsigned) (length + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'GetWords': tclHistory.c:1088:21: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1088 | result = malloc((unsigned) (strlen(command) + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c tclProc.c In file included from tclProc.c:22: ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* tclProc.c: In function 'Tcl_ProcCmd': tclProc.c:75:67: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 75 | procPtr->command = (char *) malloc((unsigned) strlen(argv[3]) + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ In file included from tclProc.c:25: tclInt.h:75:60: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 75 | ((unsigned) sizeof(Var) + nameLength + valueLength - 2) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ tclProc.c:124:37: note: in expansion of macro 'VAR_SIZE' 124 | argPtr = (Var *) malloc(VAR_SIZE(nameLength, valueLength)); | ^~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclInt.h:75:60: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 75 | ((unsigned) sizeof(Var) + nameLength + valueLength - 2) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ tclProc.c:127:46: note: in expansion of macro 'VAR_SIZE' 127 | argPtr->nextPtr = (Var *) malloc(VAR_SIZE(nameLength, valueLength)); | ^~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclProc.c: In function 'Tcl_SetVar': tclProc.c:248:68: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 248 | varPtr->value = (char *) malloc((unsigned) valueLength + 1); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclProc.c: In function 'NewVar': tclProc.c:924:29: warning: 'calloc' argument 1 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 924 | varPtr = (Var *) calloc(1, VAR_SIZE(nameLength, valueLength)); | ^ ./stdlib.h:45:17: note: built-in 'calloc' declared here 45 | extern void * calloc(); | ^~~~~~ tclInt.h:75:60: warning: 'calloc' argument 2 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 75 | ((unsigned) sizeof(Var) + nameLength + valueLength - 2) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ tclProc.c:924:32: note: in expansion of macro 'VAR_SIZE' 924 | varPtr = (Var *) calloc(1, VAR_SIZE(nameLength, valueLength)); | ^~~~~~~~ ./stdlib.h:45:17: note: built-in 'calloc' declared here 45 | extern void * calloc(); | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c tclUtil.c In file included from tclUtil.c:23: ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] 72 | extern free(); | ^~~~ ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* tclUtil.c: In function 'Tcl_Merge': tclUtil.c:390:50: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 390 | result = (char *) malloc((unsigned) numChars + 1); | ~~~~~~~~~~~~~~~~~~~~^~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclUtil.c: In function 'Tcl_Concat': tclUtil.c:489:21: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 489 | result = malloc((unsigned) totalSize); | ^~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclUtil.c: In function 'Tcl_Return': tclUtil.c:545:61: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 545 | iPtr->result = (char *) malloc((unsigned) length+1); | ~~~~~~~~~~~~~~~~~^~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclUtil.c: In function 'Tcl_SplitList': tclUtil.c:742:29: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 742 | argv = (char **) malloc((unsigned) | ^~~~~~~~~~ 743 | ((size * sizeof(char *)) + (p - list) + 1)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ rm -f ../ltcl.a ar q ../ltcl.a panic.o strerror.o tclAssem.o tclBasic.o tclCmdAH.o tclCmdIZ.o tclExpr.o tclGlob.o tclHistory.o tclProc.o tclUtil.o ar: creating ../ltcl.a if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib ../ltcl.a; fi Making in readline cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses readline.c cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses vi_mode.c vi_mode.c: In function 'rl_vi_search': vi_mode.c:231:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 231 | free (vi_last_search); | ^~~~ vi_mode.c:45:1: note: include '' or provide a declaration of 'free' 44 | #include "history.h" +++ |+#include 45 | vi_mode.c: In function 'rl_vi_domove': vi_mode.c:59:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 59 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ vi_mode.c:678:8: note: in expansion of macro 'member' 678 | if (!member (c, vi_motion)) | ^~~~~~ vi_mode.c: In function 'rl_vi_possible_completions': vi_mode.c:1217:8: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 1217 | if (!index (" ;", rl_line_buffer[rl_point])) | ^~~~~ cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses history.c history.c: In function 'add_history': history.c:163:11: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 163 | free (the_history[0]->line); | ^~~~ history.c:52:1: note: include '' or provide a declaration of 'free' 51 | #include "history.h" +++ |+#include 52 | history.c: In function 'stifle_history': history.c:389:11: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 389 | free (the_history[i]->line); | ^~~~ history.c:389:11: note: include '' or provide a declaration of 'free' history.c: In function 'read_history_range': history.c:488:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 488 | free (buffer); | ^~~~ history.c:488:9: note: include '' or provide a declaration of 'free' history.c: In function 'history_truncate_file': history.c:589:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 589 | free (buffer); | ^~~~ history.c:589:5: note: include '' or provide a declaration of 'free' history.c:591:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 591 | free (filename); | ^~~~ history.c:591:3: note: include '' or provide a declaration of 'free' history.c: In function 'get_history_event': history.c:887:15: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 887 | free (search_string); | ^~~~ history.c:887:15: note: include '' or provide a declaration of 'free' history.c: In function 'history_expand': history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:968:29: note: in expansion of macro 'member' 968 | if (!string[i + 1] || member (string[i + 1], history_no_expand_chars)) | ^~~~~~ history.c:973:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 973 | free (result); | ^~~~ history.c:973:3: note: include '' or provide a declaration of 'free' history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1005:15: note: in expansion of macro 'member' 1005 | if (member (cc, history_no_expand_chars)) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1018:15: note: in expansion of macro 'member' 1018 | if (member (cc, ":$*%^")) | ^~~~~~ history.c: In function 'history_arg_extract': history.c:1440:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1440 | free (list[i]); | ^~~~ history.c:1440:5: note: include '' or provide a declaration of 'free' history.c:1442:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1442 | free (list); | ^~~~ history.c:1442:3: note: include '' or provide a declaration of 'free' history.c: In function 'history_tokenize': history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1473:7: note: in expansion of macro 'member' 1473 | if (member (string[i], "()\n")) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1479:7: note: in expansion of macro 'member' 1479 | if (member (string[i], "<>;&|")) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1518:9: note: in expansion of macro 'member' 1518 | if (member (string[i], "\"'`")) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1534:24: note: in expansion of macro 'member' 1534 | (member (string[i], slashify_in_quotes))) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1548:28: note: in expansion of macro 'member' 1548 | if (!delimiter && (member (string[i], " \t\n;&()|<>"))) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1551:27: note: in expansion of macro 'member' 1551 | if (!delimiter && member (string[i], "\"'`")) | ^~~~~~ cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses funmap.c cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses keymaps.c keymaps.c: In function 'rl_discard_keymap': keymaps.c:127:11: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 127 | free ((char *)map[i].function); | ^~~~ keymaps.c:27:1: note: include '' or provide a declaration of 'free' 26 | #include "vi_keymap.c" +++ |+#include 27 | #endif rm -f xmalloc.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c ../malloc/xmalloc.c rm -f tilde.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c ../glob/tilde.c rm -f xalloca.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c ../malloc/xalloca.c rm -f ../lreadline.a ar clq ../lreadline.a readline.o vi_mode.o history.o funmap.o keymaps.o xmalloc.o tilde.o xalloca.o if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib ../lreadline.a; fi Making in icb sed -e 's/(.*)/()/' protos.h > tmp mv -f tmp funcs.h cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_hclear.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_hdel.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_help.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_hush.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_log.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_quit.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_rand.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_replay.c c_replay.c: In function 'bufferadd': c_replay.c:111:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 111 | bcopy(text, bp->str, len+1); | ^~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_shell.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_time.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_usage.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c c_version.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c cute.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c defprocs.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c dispatch.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -DBSD_COMP -I/opt/pkg/include/ncurses -c oset.c oset.c: In function 'setvar': oset.c:152:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 152 | bcopy(&tmp, address, sizeof(int)); | ^~~~~ oset.c: In function 'printvar': oset.c:264:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 264 | bcopy(address, &ival, sizeof(int)); | ^~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -I../readline -I.. getline.c In file included from protos.h:6, from icb.h:94, from getline.c:2: externs.h:32:8: error: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from getline.c:3: externs.h:32:8: error: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ getline.c: In function 'get_line': getline.c:36:17: error: implicit declaration of function 'add_history' [-Wimplicit-function-declaration] 36 | add_history (line_read); | ^~~~~~~~~~~ getline.c: In function 'handletab': getline.c:80:25: error: implicit declaration of function 'rl_insert_text'; did you mean 'rl_insert'? [-Wimplicit-function-declaration] 80 | rl_insert_text(mpref); | ^~~~~~~~~~~~~~ | rl_insert *** Error code 1 Stop. make[1]: stopped making "default" in /home/pbulk/build/chat/icb/work/icb-5.0.9/icb *** [all] Error code 1 bmake: stopped making "all" in /home/pbulk/build/chat/icb/work/icb-5.0.9 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/chat/icb/work/icb-5.0.9 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/icb *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/icb