+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icb-5.0.9pl1nb7/work.log + su pbulk -c '"$@"' make /opt/local/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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -c getrname.c getrname.c: In function 'getremotename': getrname.c:32:38: warning: 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:551:29: note: expected 'struct sockaddr * restrict' but argument is of type 'struct sockaddr_in *' 551 | extern int getpeername(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t); | ^ 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/local/include/ncurses -I/opt/local/include -I/usr/include -c globals.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/local/include/ncurses -I/opt/local/include -I/usr/include -c ignore.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/local/include/ncurses -I/opt/local/include -I/usr/include -c makeport.c makeport.c: In function 'makenewport': makeport.c:35:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 35 | bzero((char *) &saddr, sizeof(saddr)); | ^~~~~ makeport.c:36:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 36 | bcopy(hp->h_addr, (char *) &saddr.sin_addr, 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/local/include/ncurses -I/opt/local/include -I/usr/include -c newconnect.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/local/include/ncurses -I/opt/local/include -I/usr/include -c packetsend.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/local/include/ncurses -I/opt/local/include -I/usr/include -c readpacket.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/local/include/ncurses -I/opt/local/include -I/usr/include -c sendpacket.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/local/include/ncurses -I/opt/local/include -I/usr/include -c serverserve.c serverserve.c: In function 'serverserve': serverserve.c:53:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 53 | bcopy((char *) &fdset, (char *) &fdr, | ^~~~~ 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/local/include/ncurses -I/opt/local/include -I/usr/include -c setdelay.c rm -f ../lmurgil.a ar q ../lmurgil.a clientserve.o contoport.o discuser.o getaddr.o getrname.o globals.o ignore.o makeport.o newconnect.o packetsend.o readpacket.o sendpacket.o serverserve.o setdelay.o ar: creating ../lmurgil.a if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib ../lmurgil.a; fi 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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include 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/local/include/ncurses -I/opt/local/include -I/usr/include 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/local/include/ncurses -I/opt/local/include -I/usr/include 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/local/include/ncurses -I/opt/local/include -I/usr/include 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/local/include/ncurses -I/opt/local/include -I/usr/include 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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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 -q: invalid option -- . Usage: ar [emulation options] [-]{dmpqrstx}[abcDfilMNoOPsSTuvV] [--plugin ] [member-name] [count] archive-file file... ar -M [ ] - specify the dependencies of this library [S] - do not build a symbol table [T] - deprecated, use --thin instead [v] - be verbose [V] - display the version number @ - read options from --target=BFDNAME - specify the target object format as BFDNAME --output=DIRNAME - specify the output directory for extraction operations --record-libdeps= - specify the dependencies of this library --thin - make a thin archive optional: --plugin

- load the specified plugin emulation options: No emulation specific options ar: supported targets: elf32-i386-sol2 elf64-x86-64-sol2 elf32-iamcu coff-i386 pei-i386 pe-x86-64 pei-x86-64 elf64-little elf64-big elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin *** Error code 1 Stop. make[1]: stopped making "all" in /home/pbulk/build/chat/icb/work/icb-5.0.9/readline 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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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/local/include/ncurses -I/opt/local/include -I/usr/include -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: warning: 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: warning: 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: warning: implicit declaration of function 'add_history' [-Wimplicit-function-declaration] 36 | add_history (line_read); | ^~~~~~~~~~~ getline.c: In function 'handletab': getline.c:80:25: warning: implicit declaration of function 'rl_insert_text'; did you mean 'rl_insert'? [-Wimplicit-function-declaration] 80 | rl_insert_text(mpref); | ^~~~~~~~~~~~~~ | rl_insert 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/local/include/ncurses -I/opt/local/include -I/usr/include -c getswitch.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/local/include/ncurses -I/opt/local/include -I/usr/include -c globals.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/local/include/ncurses -I/opt/local/include -I/usr/include -c helpdata.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/local/include/ncurses -I/opt/local/include -I/usr/include -c history.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/local/include/ncurses -I/opt/local/include -I/usr/include -c ipcf.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -DDEFAULTHOST=\"crater.unm.edu\" -DDEFAULTPORT=7326 main.c In file included from protos.h:6, from icb.h:94, from main.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from main.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ main.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 40 | main (argc, argv) | ^~~~ main.c: In function 'main': main.c:222:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 222 | write(2, icb_version, strlen(icb_version)); | ^~~~~ | fwrite main.c:227:17: warning: implicit declaration of function 'readlineinit' [-Wimplicit-function-declaration] 227 | readlineinit(); | ^~~~~~~~~~~~ main.c:262:13: warning: implicit declaration of function 'connecttoport' [-Wimplicit-function-declaration] 262 | if (connecttoport(myhost, myport) < 0) | ^~~~~~~~~~~~~ main.c:295:13: warning: implicit declaration of function 'clientserve' [-Wimplicit-function-declaration] 295 | if (clientserve() < 0) { | ^~~~~~~~~~~ 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/local/include/ncurses -I/opt/local/include -I/usr/include -c msgs.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/local/include/ncurses -I/opt/local/include -I/usr/include -c parse.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/local/include/ncurses -I/opt/local/include -I/usr/include -c print.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -I../readline -I.. readlineinit.c In file included from protos.h:6, from icb.h:94, from readlineinit.c:4: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from readlineinit.c:5: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ readlineinit.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] 11 | readlineinit() | ^~~~~~~~~~~~ readlineinit.c: In function 'readlineinit': readlineinit.c:19:1: warning: implicit declaration of function 'rl_bind_key_in_map' [-Wimplicit-function-declaration] 19 | rl_bind_key_in_map('\t', handletab, vi_insertion_keymap); | ^~~~~~~~~~~~~~~~~~ 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/local/include/ncurses -I/opt/local/include -I/usr/include -c register.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_admin.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_beep.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_bump.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_chpw.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_group.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_motd.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_open.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_person.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_register.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_send.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_user.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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_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/local/include/ncurses -I/opt/local/include -I/usr/include -c s_who.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/local/include/ncurses -I/opt/local/include -I/usr/include -c send.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -DDEFAULTHOST=\"crater.unm.edu\" -DDEFAULTPORT=7326 -DSERVERLIST=\"/opt/local/libdata/icbserverdb\" serverlist.c In file included from protos.h:6, from icb.h:94, from serverlist.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ serverlist.c: In function 'openserverfile': serverlist.c:27:9: warning: implicit declaration of function 'getwd'; did you mean 'getcwd'? [-Wimplicit-function-declaration] 27 | getwd(pwd); | ^~~~~ | getcwd serverlist.c:36:36: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 36 | if ((pw = getpwuid(getuid())) == NULL) | ^~~~~~ | getpwuid serverlist.c:40:9: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 40 | chdir(home); | ^~~~~ serverlist.c: In function 'getserver': serverlist.c:77:14: warning: implicit declaration of function 'readserverent' [-Wimplicit-function-declaration] 77 | if (!readserverent(serverfile, &serverbuf)) | ^~~~~~~~~~~~~ serverlist.c: In function 'readserverent': serverlist.c:138:23: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 138 | while (line[index] && isspace(line[index])) | ^~~~~~~ serverlist.c:7:1: note: include '' or provide a declaration of 'isspace' 6 | #include "icb.h" +++ |+#include 7 | cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -I../readline -I.. signals.c In file included from protos.h:6, from icb.h:94, from signals.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from signals.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ signals.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 20 | trapsignals() | ^~~~~~~~~~~ signals.c: In function 'askquit': signals.c:67:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 67 | write(1, "\nReally Quit? ", 14); | ^~~~~ | fwrite signals.c:70:9: warning: implicit declaration of function 'noecho' [-Wimplicit-function-declaration] 70 | noecho(); | ^~~~~~ signals.c:85:17: warning: implicit declaration of function 'echo' [-Wimplicit-function-declaration] 85 | echo(); | ^~~~ 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/local/include/ncurses -I/opt/local/include -I/usr/include -c strccmp.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/local/include/ncurses -I/opt/local/include -I/usr/include -c strings.c strings.c: In function 'filternickname': strings.c:22:22: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 22 | if (!index(OKNICKCHARS, *txt)) | ^~~~~ strings.c: In function 'filtergroupname': strings.c:51:22: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 51 | if (!index(OKGROUPCHARS, *txt)) | ^~~~~ strings.c: In function 'quoteify': strings.c:153:21: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 153 | if (index(special, *a)) { | ^~~~~ 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/local/include/ncurses -I/opt/local/include -I/usr/include -c strlist.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/local/include/ncurses -I/opt/local/include -I/usr/include -c tcl.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/local/include/ncurses -I/opt/local/include -I/usr/include -c unix.c unix.c: In function 'icbterm': unix.c:152:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 152 | bcopy((char *)&origtty, (char *)&tty, (unsigned)sizeof(struct TTYSTRUCT)); | ^~~~~ unix.c: In function 'tildexpand': unix.c:228:11: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 228 | index(".-_", *s)) && ((p - login) < 17)) | ^~~~~ 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/local/include/ncurses -I/opt/local/include -I/usr/include -c usage.c make[1]: don't know how to make ../lreadline.a. Stop make[1]: stopped making "default" in /home/pbulk/build/chat/icb/work/icb-5.0.9/icb *** [all] Error code 2 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-trunk-x86_64/chat/icb *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/icb