=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/psybnc", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for psybnc-2.4.3 cd /tmp/work/chat/psybnc/work/psybnc && /usr/bin/env INSTALL_INFO= MAKEINFO=/tmp/work/chat/psybnc/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/work/chat/psybnc/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/work/chat/psybnc/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/work/chat/psybnc/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/work/chat/psybnc/work/.buildlink/lib/amd64/pkgconfig:/tmp/work/chat/psybnc/work/.buildlink/lib/pkgconfig:/tmp/work/chat/psybnc/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/work/chat/psybnc/work/.pkg-config.log PKG_CONFIG_PATH= MAKE=make DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CWRAPPERS_CONFIG_DIR=/tmp/work/chat/psybnc/work/.cwrapper/config CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/local/include\ -I/usr/include CPPFLAGS=-I/opt/local/include\ -I/usr/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/local/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/local/lib\ -Wl,-R/opt/local/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64 LINKER_RPATH_FLAG=-R PATH=/tmp/work/chat/psybnc/work/.cwrapper/bin:/tmp/work/chat/psybnc/work/.buildlink/bin:/tmp/work/chat/psybnc/work/.gcc/bin:/tmp/work/chat/psybnc/work/.tools/bin:/opt/local/bin:/sbin:/usr/bin:/usr/sbin:/opt/tools/bin:/opt/local/bin:/opt/local/bin PREFIX=/opt/local MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/opt/local/etc CXXCPP=cpp HOME=/tmp/work/chat/psybnc/work/.home CWRAPPERS_CONFIG_DIR=/tmp/work/chat/psybnc/work/.cwrapper/config /opt/local/bin/gmake -f makefile.out gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/psybnc.c -o src/psybnc.o src/psybnc.c: In function 'main': src/psybnc.c:176:6: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 176 | exit (0x0); | ^~~~ src/psybnc.c:37:1: note: include '' or provide a declaration of 'exit' 36 | #include +++ |+#include 37 | src/psybnc.c:176:6: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 176 | exit (0x0); | ^~~~ src/psybnc.c:176:6: note: include '' or provide a declaration of 'exit' src/psybnc.c:192:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 192 | exit(0x0); | ^~~~ src/psybnc.c:192:7: note: include '' or provide a declaration of 'exit' src/psybnc.c:201:6: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 201 | exit (0x0); | ^~~~ src/psybnc.c:201:6: note: include '' or provide a declaration of 'exit' src/psybnc.c:203:16: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 203 | listenport = atoi(value); | ^~~~ src/psybnc.c:237:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 237 | exit (0x0); | ^~~~ src/psybnc.c:237:5: note: include '' or provide a declaration of 'exit' src/psybnc.c:244:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 244 | exit(0x0); | ^~~~ src/psybnc.c:244:7: note: include '' or provide a declaration of 'exit' src/psybnc.c:302:6: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 302 | exit (0x0); | ^~~~ src/psybnc.c:302:6: note: include '' or provide a declaration of 'exit' gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/match.c -o src/match.o gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_client.c -o src/p_client.o src/p_client.c: In function 'cmdbwho': src/p_client.c:216:5: warning: type of 'usern' defaults to 'int' [-Wimplicit-int] 216 | int cmdbwho(usern) | ^~~~~~~ src/p_client.c: In function 'cmdkillsock': src/p_client.c:275:21: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 275 | socket_id = atoi(irccontent); | ^~~~ src/p_client.c: In function 'cmdadduser': src/p_client.c:379:11: warning: unused variable 'pt' [-Wunused-variable] 379 | char *pt; | ^~ src/p_client.c:378:25: warning: unused variable 'ps' [-Wunused-variable] 378 | struct socketnodes *ps; | ^~ src/p_client.c: In function 'firstuser': src/p_client.c:511:5: warning: type of 'npeer' defaults to 'int' [-Wimplicit-int] 511 | int firstuser(npeer) | ^~~~~~~~~ src/p_client.c: In function 'cmdpassword': src/p_client.c:739:12: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 739 | if(pw) free(pw); | ^~~~ src/p_client.c:25:1: note: include '' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | src/p_client.c:739:12: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 739 | if(pw) free(pw); | ^~~~ src/p_client.c:739:12: note: include '' or provide a declaration of 'free' src/p_client.c: In function 'cmdrelink': src/p_client.c:1834:9: warning: variable 'userp' set but not used [-Wunused-but-set-variable] 1834 | int userp; | ^~~~~ src/p_client.c: In function 'cmdlisttasks': src/p_client.c:2399:9: warning: variable 'userp' set but not used [-Wunused-but-set-variable] 2399 | int userp; | ^~~~~ src/p_client.c: In function 'cmdbquit': src/p_client.c:2479:10: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2479 | } else | ^~~~ src/p_client.c:2481:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2481 | if(uind!=usern && user(usern)->rights!=RI_ADMIN) { | ^~ src/p_client.c: In function 'cmdbconnect': src/p_client.c:2531:10: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2531 | } else | ^~~~ src/p_client.c:2533:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2533 | if(uind!=usern && user(usern)->rights!=RI_ADMIN) { | ^~ src/p_client.c: In function 'checkcrypt': src/p_client.c:2955:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 2955 | free(pt2); | ^~~~ src/p_client.c:2955:25: note: include '' or provide a declaration of 'free' src/p_client.c: In function 'checktranslate': src/p_client.c:3008:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 3008 | int rc=0; | ^~ src/p_client.c: In function 'cmdbvhostn': src/p_client.c:909:34: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 100 [-Wformat-truncation=] 909 | snprintf(oldvhost, 100, "%s", user(victim_net_uid)->vhost); | ^~ src/p_client.c:909:9: note: 'snprintf' output between 1 and 255 bytes into a destination of size 100 909 | snprintf(oldvhost, 100, "%s", user(victim_net_uid)->vhost); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_crypt.c -o src/p_crypt.o gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_dcc.c -o src/p_dcc.o src/p_dcc.c: In function 'adddcc': src/p_dcc.c:40:9: warning: variable 'userp' set but not used [-Wunused-but-set-variable] 40 | int userp; | ^~~~~ src/p_dcc.c: In function 'loaddccs': src/p_dcc.c:128:30: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 128 | port=atoi(spt); | ^~~~ src/p_dcc.c: In function 'erasedcc': src/p_dcc.c:214:13: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 214 | free(thisdcc->link); | ^~~~ src/p_dcc.c:25:1: note: include '' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | src/p_dcc.c:214:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 214 | free(thisdcc->link); | ^~~~ src/p_dcc.c:214:13: note: include '' or provide a declaration of 'free' src/p_dcc.c:218:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 218 | free(thisdcc->link); | ^~~~ src/p_dcc.c:218:13: note: include '' or provide a declaration of 'free' src/p_dcc.c:223:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 223 | free(thisdcc->link); | ^~~~ src/p_dcc.c:223:9: note: include '' or provide a declaration of 'free' src/p_dcc.c: In function 'randport': src/p_dcc.c:510:10: warning: implicit declaration of function 'random'; did you mean 'randport'? [-Wimplicit-function-declaration] 510 | port=random(); | ^~~~~~ | randport src/p_dcc.c: In function 'removepdcc': src/p_dcc.c:621:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 621 | free(pdcc); | ^~~~ src/p_dcc.c:621:13: note: include '' or provide a declaration of 'free' src/p_dcc.c: In function 'addpendingdcc': src/p_dcc.c:1059:9: warning: variable 'userp' set but not used [-Wunused-but-set-variable] 1059 | int userp=usern; | ^~~~~ src/p_dcc.c: In function 'checkdcctimeouts': src/p_dcc.c:1499:29: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1499 | free(pdcc); | ^~~~ src/p_dcc.c:1499:29: note: include '' or provide a declaration of 'free' src/p_dcc.c: In function 'parsectcps': src/p_dcc.c:1715:41: warning: implicit declaration of function 'atol' [-Wimplicit-function-declaration] 1715 | filelen=atol(pt); | ^~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_hash.c -o src/p_hash.o src/p_hash.c: In function 'internalinbound': src/p_hash.c:263:13: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 263 | int ret,dummy; | ^~~~~ src/p_hash.c: In function 'fakeinbound': src/p_hash.c:370:13: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 370 | int ret,dummy; | ^~~~~ src/p_hash.c: In function 'userinbound': src/p_hash.c:440:13: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 440 | int ret,dummy; | ^~~~~ src/p_hash.c: In function 'useroutbound': src/p_hash.c:510:9: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 510 | int dummy; | ^~~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_idea.c -o src/p_idea.o src/p_idea.c: In function 'IDEA_gethashedencryptionkey': src/p_idea.c:498:14: warning: variable 'size' set but not used [-Wunused-but-set-variable] 498 | unsigned size; | ^~~~ src/p_idea.c:497:11: warning: variable 'dkey' set but not used [-Wunused-but-set-variable] 497 | char *dkey; | ^~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_inifunc.c -o src/p_inifunc.o src/p_inifunc.c: In function 'resetconfig': src/p_inifunc.c:36:13: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 36 | free(wconf->entry); | ^~~~ src/p_inifunc.c:25:1: note: include '' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | src/p_inifunc.c:36:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 36 | free(wconf->entry); | ^~~~ src/p_inifunc.c:36:13: note: include '' or provide a declaration of 'free' src/p_inifunc.c:39:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 39 | free(owconf); | ^~~~ src/p_inifunc.c:39:9: note: include '' or provide a declaration of 'free' src/p_inifunc.c: In function 'clearsectionconfig': src/p_inifunc.c:121:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 121 | free(wconf->entry); | ^~~~ src/p_inifunc.c:121:17: note: include '' or provide a declaration of 'free' src/p_inifunc.c: In function 'writeini': src/p_inifunc.c:202:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 202 | free(wconf->entry); | ^~~~ src/p_inifunc.c:202:21: note: include '' or provide a declaration of 'free' src/p_inifunc.c:207:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 207 | free(wconf->entry); | ^~~~ src/p_inifunc.c:207:21: note: include '' or provide a declaration of 'free' src/p_inifunc.c: In function 'getserver': src/p_inifunc.c:284:79: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 284 | if (ern != 0) { user(usernum)->port = 6667; } else { user(usernum)->port = atoi(value); } | ^~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_link.c -o src/p_link.o gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_log.c -o src/p_log.o src/p_log.c: In function 'playtrafficlog': src/p_log.c:186:13: warning: variable 'ept' set but not used [-Wunused-but-set-variable] 186 | char *pt,*ept; | ^~~ src/p_log.c: In function 'erasetrafficlog': src/p_log.c:350:7: warning: variable 'userp' set but not used [-Wunused-but-set-variable] 350 | int userp; | ^~~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_memory.c -o src/p_memory.o src/p_memory.c: In function '__pmalloc': src/p_memory.c:33:31: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 33 | if (!(rc=(unsigned long *)malloc(size))) | ^~~~~~ src/p_memory.c:25:1: note: include '' or provide a declaration of 'malloc' 24 | #include +++ |+#include 25 | src/p_memory.c:33:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 33 | if (!(rc=(unsigned long *)malloc(size))) | ^~~~~~ src/p_memory.c:33:31: note: include '' or provide a declaration of 'malloc' src/p_memory.c:36:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 36 | exit(0x0); | ^~~~ src/p_memory.c:36:9: note: include '' or provide a declaration of 'exit' src/p_memory.c:36:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] src/p_memory.c:36:9: note: include '' or provide a declaration of 'exit' src/p_memory.c: In function '_pfree': src/p_memory.c:62:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 62 | free(pointer); | ^~~~ src/p_memory.c:62:5: note: include '' or provide a declaration of 'free' src/p_memory.c:62:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] src/p_memory.c:62:5: note: include '' or provide a declaration of 'free' src/p_memory.c: In function 'bus_error': src/p_memory.c:335:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 335 | exit(0x0); | ^~~~ src/p_memory.c:335:5: note: include '' or provide a declaration of 'exit' src/p_memory.c: In function 'segv_error': src/p_memory.c:346:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 346 | exit(0x0); | ^~~~ src/p_memory.c:346:5: note: include '' or provide a declaration of 'exit' src/p_memory.c: In function 'fpe_error': src/p_memory.c:357:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 357 | exit(0x0); | ^~~~ src/p_memory.c:357:5: note: include '' or provide a declaration of 'exit' src/p_memory.c: In function 'usr1_error': src/p_memory.c:444:11: warning: variable 'ssle' set but not used [-Wunused-but-set-variable] 444 | char *ssle[2]; | ^~~~ src/p_memory.c: In function 'int_error': src/p_memory.c:542:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 542 | exit(0x0); | ^~~~ src/p_memory.c:542:5: note: include '' or provide a declaration of 'exit' src/p_memory.c: In function 'kill_error': src/p_memory.c:565:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 565 | exit(0x0); | ^~~~ src/p_memory.c:565:5: note: include '' or provide a declaration of 'exit' src/p_memory.c: In function 'errorhandling': src/p_memory.c:610:3: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration] 610 | srand( time( NULL) ); | ^~~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_network.c -o src/p_network.o src/p_network.c: In function 'netdefault': src/p_network.c:512:8: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 512 | if(atoi(irccommand)!=0) | ^~~~ src/p_network.c: In function 'netmode': src/p_network.c:575:10: warning: variable 'mk' set but not used [-Wunused-but-set-variable] 575 | char mk[2]; | ^~ src/p_network.c:564:10: warning: variable 'modes' set but not used [-Wunused-but-set-variable] 564 | char modes[128]; | ^~~~~ src/p_network.c: In function 'addtoken': src/p_network.c:733:11: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 733 | int i,rc; | ^~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_parse.c -o src/p_parse.o gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_peer.c -o src/p_peer.o src/p_peer.c: In function 'linklink': src/p_peer.c:155:11: warning: unused variable 'pt' [-Wunused-variable] 155 | char *pt; | ^~ src/p_peer.c:153:10: warning: unused variable 'buf' [-Wunused-variable] 153 | char buf[200]; | ^~~ src/p_peer.c: In function 'linkpeer': src/p_peer.c:323:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 323 | free(pt); | ^~~~ src/p_peer.c:25:1: note: include '' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | src/p_peer.c:323:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 323 | free(pt); | ^~~~ src/p_peer.c:323:5: note: include '' or provide a declaration of 'free' src/p_peer.c:335:54: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration] 335 | if(user(rc)->penalty>2 && user(rc)->pentime+600+(rand()%120)>time(NULL)) | ^~~~ src/p_peer.c: In function 'checkoldlistener': src/p_peer.c:526:38: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 526 | newpeer(npeer)->lnkport=atoi(irccontent); | ^~~~ src/p_peer.c: In function 'checknewlistener': src/p_peer.c:676:9: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 676 | int dummy; | ^~~~~ src/p_peer.c: In function 'killed': src/p_peer.c:706:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 706 | exit(0x0); | ^~~~ src/p_peer.c:706:4: note: include '' or provide a declaration of 'exit' src/p_peer.c:706:4: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] src/p_peer.c:706:4: note: include '' or provide a declaration of 'exit' src/p_peer.c: In function 'createlisteners': src/p_peer.c:755:3: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration] 755 | srand( time( NULL) ); /* here we randomize to the timer (for randstring) */ | ^~~~~ src/p_peer.c:756:3: warning: implicit declaration of function 'srandom' [-Wimplicit-function-declaration] 756 | srandom(rand()); /* salt of random bases on rand of time */ | ^~~~~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_server.c -o src/p_server.o src/p_server.c: In function 'numnick': src/p_server.c:150:41: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration] 150 | ap_snprintf(numb,sizeof(numb),"%lu",rand()%999); | ^~~~ src/p_server.c: In function 'performwho': src/p_server.c:543:27: warning: variable 'chanuser' set but not used [-Wunused-but-set-variable] 543 | struct uchannelusert *chanuser; | ^~~~~~~~ src/p_server.c: In function 'freeproxyconndata': src/p_server.c:1148:33: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 1148 | if (conn->host != NULL) free(conn->host); | ^~~~ src/p_server.c:25:1: note: include '' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | void create_oidentd_conf(); src/p_server.c:1148:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1148 | if (conn->host != NULL) free(conn->host); | ^~~~ src/p_server.c:1148:33: note: include '' or provide a declaration of 'free' src/p_server.c:1149:38: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1149 | if (conn->host_addr != NULL) free(conn->host_addr); | ^~~~ src/p_server.c:1149:38: note: include '' or provide a declaration of 'free' src/p_server.c:1151:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1151 | free(conn); | ^~~~ src/p_server.c:1151:9: note: include '' or provide a declaration of 'free' src/p_server.c: In function 'userproxyconnected': src/p_server.c:1166:12: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 1166 | conn = calloc(1, sizeof(*conn)); | ^~~~~~ src/p_server.c:1166:12: note: include '' or provide a declaration of 'calloc' src/p_server.c:1166:12: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] src/p_server.c:1166:12: note: include '' or provide a declaration of 'calloc' src/p_server.c: In function 'create_oidentd_conf': src/p_server.c:1459:15: warning: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] 1459 | homedir = getenv("HOME"); | ^~~~~~ src/p_server.c:1459:15: note: 'getenv' is defined in header ''; did you forget to '#include '? src/p_server.c:1459:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1459 | homedir = getenv("HOME"); | ^ src/p_server.c:1509:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1509 | free(sourceip); | ^~~~ src/p_server.c:1509:13: note: include '' or provide a declaration of 'free' src/p_server.c: In function 'connectuser': src/p_server.c:1548:49: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 1548 | if (strcmp(value, "0") == 0 || (atoi(value) > 0 && atoi(value)<=600)) | ^~~~ src/p_server.c:1528:9: warning: variable 'vsl' set but not used [-Wunused-but-set-variable] 1528 | char vsl[10]; | ^~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_socket.c -o src/p_socket.o src/p_socket.c: In function 'createsocket': src/p_socket.c:154:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 154 | exit(0x0); | ^~~~ src/p_socket.c:25:1: note: include '' or provide a declaration of 'exit' 24 | #include +++ |+#include 25 | src/p_socket.c:154:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 154 | exit(0x0); | ^~~~ src/p_socket.c:154:5: note: include '' or provide a declaration of 'exit' src/p_socket.c:94:15: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 94 | int flags,ret; | ^~~ src/p_socket.c: In function 'reallykillsocket': src/p_socket.c:229:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 229 | free(lkm->sock->commbuf); | ^~~~ src/p_socket.c:229:5: note: include '' or provide a declaration of 'free' src/p_socket.c:229:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] src/p_socket.c:229:5: note: include '' or provide a declaration of 'free' src/p_socket.c:167:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 167 | int rc,i,t; | ^~ src/p_socket.c: In function 'killsocket': src/p_socket.c:310:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 310 | free(lkm->sock->commbuf); | ^~~~ src/p_socket.c:310:5: note: include '' or provide a declaration of 'free' src/p_socket.c:265:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 265 | int rc,i,t; | ^~ src/p_socket.c: In function 'createlistener': src/p_socket.c:340:15: warning: variable 'pt' set but not used [-Wunused-but-set-variable] 340 | const char *pt; | ^~ src/p_socket.c: In function 'freeconndata': src/p_socket.c:462:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 462 | if (conn->host != NULL) free(conn->host); | ^~~~ src/p_socket.c:462:33: note: include '' or provide a declaration of 'free' src/p_socket.c:463:34: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 463 | if (conn->vhost != NULL) free(conn->vhost); | ^~~~ src/p_socket.c:463:34: note: include '' or provide a declaration of 'free' src/p_socket.c:465:38: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 465 | if (conn->host_addr != NULL) free(conn->host_addr); | ^~~~ src/p_socket.c:465:38: note: include '' or provide a declaration of 'free' src/p_socket.c:466:39: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 466 | if (conn->vhost_addr != NULL) free(conn->vhost_addr); | ^~~~ src/p_socket.c:466:39: note: include '' or provide a declaration of 'free' src/p_socket.c:468:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 468 | free(conn); | ^~~~ src/p_socket.c:468:9: note: include '' or provide a declaration of 'free' src/p_socket.c: In function 'freeacceptdata': src/p_socket.c:478:37: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 478 | if (adata->ip_addr != NULL) free(adata->ip_addr); | ^~~~ src/p_socket.c:478:37: note: include '' or provide a declaration of 'free' src/p_socket.c:479:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 479 | free(adata); | ^~~~ src/p_socket.c:479:9: note: include '' or provide a declaration of 'free' src/p_socket.c: In function 'connectto': src/p_socket.c:492:12: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 492 | conn = calloc(1, sizeof(*conn)); | ^~~~~~ src/p_socket.c:492:12: note: include '' or provide a declaration of 'calloc' src/p_socket.c:492:12: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] src/p_socket.c:492:12: note: include '' or provide a declaration of 'calloc' src/p_socket.c: In function 'duplicate_in_addr': src/p_socket.c:578:37: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 578 | newaddr = (struct in_addr *)calloc(1, sizeof(struct in6_addr)); | ^~~~~~ src/p_socket.c:578:37: note: include '' or provide a declaration of 'calloc' src/p_socket.c:585:37: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 585 | newaddr = (struct in_addr *)calloc(1, sizeof(struct in_addr)); | ^~~~~~ src/p_socket.c:585:37: note: include '' or provide a declaration of 'calloc' src/p_socket.c: In function 'convert_v6': src/p_socket.c:829:16: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 829 | int flags, ret; | ^~~ src/p_socket.c: In function 'flushsendq': src/p_socket.c:899:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 899 | free(emsq); | ^~~~ src/p_socket.c:899:5: note: include '' or provide a declaration of 'free' src/p_socket.c:857:9: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 857 | int dummy; | ^~~~~ src/p_socket.c: In function 'writesock_STREAM': src/p_socket.c:989:9: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 989 | int dummy; | ^~~~~ src/p_socket.c:988:9: warning: unused variable 'rc' [-Wunused-variable] 988 | int rc; | ^~ src/p_socket.c: In function 'writesock': src/p_socket.c:1036:9: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1036 | int dummy; | ^~~~~ src/p_socket.c:1035:9: warning: unused variable 'rc' [-Wunused-variable] 1035 | int rc; | ^~ src/p_socket.c:1033:10: warning: unused variable 'sbuf' [-Wunused-variable] 1033 | char sbuf[8200]; | ^~~~ src/p_socket.c: In function 'receivesock': src/p_socket.c:1163:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 1163 | int rc; | ^~ src/p_socket.c: In function 'socket_connect': src/p_socket.c:1267:13: warning: unused variable 'rc' [-Wunused-variable] 1267 | int ern,rc; | ^~ src/p_socket.c: In function 'socket_accept': src/p_socket.c:1480:34: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 1480 | adata = (struct acceptdata *)calloc(1, sizeof(*adata)); | ^~~~~~ src/p_socket.c:1480:34: note: include '' or provide a declaration of 'calloc' src/p_socket.c: In function 'acceptcb': src/p_socket.c:1506:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 1506 | int rc; | ^~ src/p_socket.c:1505:10: warning: unused variable 'sebuf' [-Wunused-variable] 1505 | char sebuf[1000] = ""; | ^~~~~ src/p_socket.c: In function 'socketdriver': src/p_socket.c:1676:9: warning: variable 'nowf' set but not used [-Wunused-but-set-variable] 1676 | int nowf=0; | ^~~~ src/p_socket.c:1671:9: warning: unused variable 'ssl_fd' [-Wunused-variable] 1671 | int ssl_fd; | ^~~~~~ src/p_socket.c: In function 'get_sourceip': src/p_socket.c:2010:14: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 2010 | ip = calloc(1, INET6_ADDRSTRLEN); | ^~~~~~ src/p_socket.c:2010:14: note: include '' or provide a declaration of 'calloc' src/p_socket.c:2017:14: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 2017 | ip = calloc(1, INET_ADDRSTRLEN); | ^~~~~~ src/p_socket.c:2017:14: note: include '' or provide a declaration of 'calloc' gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_string.c -o src/p_string.o src/p_string.c: In function 'randstring': src/p_string.c:251:5: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration] 251 | srand(time(NULL)); /* no, this was also done in the demon startup. but still.. */ | ^~~~~ src/p_string.c:254:46: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration] 254 | for(i=0;i' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | src/p_string.c:270:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 270 | free(first); | ^~~~ src/p_string.c:270:5: note: include '' or provide a declaration of 'free' src/p_string.c: In function 'removestring': src/p_string.c:339:38: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 339 | if (th->entry!=NULL) free(th->entry); | ^~~~ src/p_string.c:339:38: note: include '' or provide a declaration of 'free' src/p_string.c:341:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 341 | free(th); | ^~~~ src/p_string.c:341:17: note: include '' or provide a declaration of 'free' src/p_string.c:345:37: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 345 | if(th->entry!=NULL) free(th->entry); | ^~~~ src/p_string.c:345:37: note: include '' or provide a declaration of 'free' src/p_string.c:347:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 347 | free(th); | ^~~~ src/p_string.c:347:17: note: include '' or provide a declaration of 'free' src/p_string.c: In function 'loadlist': src/p_string.c:365:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 365 | int cnt; | ^~~ src/p_string.c: In function 'writelist': src/p_string.c:409:9: warning: variable 'fn' set but not used [-Wunused-but-set-variable] 409 | int fn; | ^~ src/p_string.c: In function 'clearlanguage': src/p_string.c:590:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 590 | free(language[ln]); | ^~~~ src/p_string.c:590:13: note: include '' or provide a declaration of 'free' src/p_string.c:591:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 591 | free(language); | ^~~~ src/p_string.c:591:9: note: include '' or provide a declaration of 'free' src/p_string.c: In function 'loadlanguage': src/p_string.c:638:21: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 638 | msg=atoi(pt); | ^~~~ src/p_string.c:645:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 645 | free(language[msg]); | ^~~~ src/p_string.c:645:25: note: include '' or provide a declaration of 'free' gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_sysmsg.c -o src/p_sysmsg.o gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_userfile.c -o src/p_userfile.o src/p_userfile.c: In function 'loaduser': src/p_userfile.c:65:29: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 65 | user(usernum)->parent=atoi(value); | ^~~~ src/p_userfile.c:91:8: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 91 | free(pt); | ^~~~ src/p_userfile.c:25:1: note: include '' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | src/p_userfile.c:91:8: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 91 | free(pt); | ^~~~ src/p_userfile.c:91:8: note: include '' or provide a declaration of 'free' src/p_userfile.c:183:32: warning: implicit declaration of function 'atol' [-Wimplicit-function-declaration] 183 | user(usernum)->lastlog = atol(value); | ^~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_uchannel.c -o src/p_uchannel.o src/p_uchannel.c: In function 'getuserchannel': src/p_uchannel.c:172:28: warning: variable 'llkm' set but not used [-Wunused-but-set-variable] 172 | struct uchannelt *lkm,*llkm=NULL; | ^~~~ src/p_uchannel.c: In function 'removenickfromchannel': src/p_uchannel.c:285:13: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 285 | free(chanuser); | ^~~~ src/p_uchannel.c:25:1: note: include '' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | src/p_uchannel.c:285:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 285 | free(chanuser); | ^~~~ src/p_uchannel.c:285:13: note: include '' or provide a declaration of 'free' src/p_uchannel.c: In function 'removeallusersfromchannel': src/p_uchannel.c:327:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 327 | free(ukm); | ^~~~ src/p_uchannel.c:327:9: note: include '' or provide a declaration of 'free' src/p_uchannel.c: In function 'removeallchannelsfromuser': src/p_uchannel.c:353:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 353 | free(ukm); | ^~~~ src/p_uchannel.c:353:13: note: include '' or provide a declaration of 'free' src/p_uchannel.c:356:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 356 | free(lkm); | ^~~~ src/p_uchannel.c:356:9: note: include '' or provide a declaration of 'free' src/p_uchannel.c: In function 'removechannelfromuser': src/p_uchannel.c:406:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 406 | free(ukm); | ^~~~ src/p_uchannel.c:406:17: note: include '' or provide a declaration of 'free' src/p_uchannel.c:413:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 413 | free(l1->entry); | ^~~~ src/p_uchannel.c:413:17: note: include '' or provide a declaration of 'free' src/p_uchannel.c:421:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 421 | free(l1->entry); | ^~~~ src/p_uchannel.c:421:17: note: include '' or provide a declaration of 'free' src/p_uchannel.c:429:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 429 | free(l1->entry); | ^~~~ src/p_uchannel.c:429:17: note: include '' or provide a declaration of 'free' src/p_uchannel.c:441:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 441 | free(lkm); | ^~~~ src/p_uchannel.c:441:13: note: include '' or provide a declaration of 'free' src/p_uchannel.c: In function 'setchannelmode': src/p_uchannel.c:497:28: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 497 | lkm->limit=atoi(par); | ^~~~ src/p_uchannel.c: In function 'sendnames': src/p_uchannel.c:615:9: warning: variable 'thsock' set but not used [-Wunused-but-set-variable] 615 | int thsock; | ^~~~~~ src/p_uchannel.c: In function 'convertlastwhois': src/p_uchannel.c:876:20: warning: variable 'pt2' set but not used [-Wunused-but-set-variable] 876 | char *pt,*ept,*pt2; | ^~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_script.c -o src/p_script.o src/p_script.c: In function 'startpipe': src/p_script.c:191:17: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] 191 | dummy = system(program); | ^~~~~~ src/p_script.c:194:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 194 | exit(0x0); | ^~~~ src/p_script.c:25:1: note: include '' or provide a declaration of 'exit' 24 | #include +++ |+#include 25 | src/p_script.c:194:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 194 | exit(0x0); | ^~~~ src/p_script.c:194:9: note: include '' or provide a declaration of 'exit' src/p_script.c:111:34: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 111 | int pid,ss1=0,ss2=0,ss3=0,rc,dummy; | ^~~~~ src/p_script.c:111:31: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 111 | int pid,ss1=0,ss2=0,ss3=0,rc,dummy; | ^~ src/p_script.c: In function 'terminatetask': src/p_script.c:296:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 296 | free(st->desc); | ^~~~ src/p_script.c:296:5: note: include '' or provide a declaration of 'free' src/p_script.c:296:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] src/p_script.c:296:5: note: include '' or provide a declaration of 'free' src/p_script.c: In function 'clearuserscript': src/p_script.c:319:29: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 319 | if(sm->event!=NULL) free(sm->event); | ^~~~ src/p_script.c:319:29: note: include '' or provide a declaration of 'free' src/p_script.c:320:28: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 320 | if(sm->from!=NULL) free(sm->from); | ^~~~ src/p_script.c:320:28: note: include '' or provide a declaration of 'free' src/p_script.c:321:26: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 321 | if(sm->to!=NULL) free(sm->to); | ^~~~ src/p_script.c:321:26: note: include '' or provide a declaration of 'free' src/p_script.c:322:31: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 322 | if(sm->content!=NULL) free(sm->content); | ^~~~ src/p_script.c:322:31: note: include '' or provide a declaration of 'free' src/p_script.c:323:31: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 323 | if(sm->command!=NULL) free(sm->command); | ^~~~ src/p_script.c:323:31: note: include '' or provide a declaration of 'free' src/p_script.c:335:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 335 | free(sm); | ^~~~ src/p_script.c:335:9: note: include '' or provide a declaration of 'free' src/p_script.c: In function 'setupstandardenv': src/p_script.c:505:5: warning: implicit declaration of function 'setenv' [-Wimplicit-function-declaration] 505 | setenv("NICK",ircnick,1); | ^~~~~~ src/p_script.c: In function 'servertoserverevent': src/p_script.c:763:25: warning: variable 'ssec' set but not used [-Wunused-but-set-variable] 763 | struct socketnodes *ssec; | ^~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_topology.c -o src/p_topology.o src/p_topology.c: In function 'digdisptopology': src/p_topology.c:85:15: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 85 | int i,j,k,rc; | ^~ src/p_topology.c: In function 'displaytopology': src/p_topology.c:138:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 138 | int rc; | ^~ src/p_topology.c: In function 'digremove': src/p_topology.c:208:13: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 208 | free(topo->linked[i]); | ^~~~ src/p_topology.c:25:1: note: include '' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | src/p_topology.c:208:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 208 | free(topo->linked[i]); | ^~~~ src/p_topology.c:208:13: note: include '' or provide a declaration of 'free' src/p_topology.c:201:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 201 | int rc; | ^~ src/p_topology.c: In function 'removetopology': src/p_topology.c:242:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 242 | free(tree); | ^~~~ src/p_topology.c:242:13: note: include '' or provide a declaration of 'free' gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_intnet.c -o src/p_intnet.o src/p_intnet.c: In function 'removeclient': src/p_intnet.c:92:13: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 92 | free(client); | ^~~~ src/p_intnet.c:25:1: note: include '' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | src/p_intnet.c:92:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 92 | free(client); | ^~~~ src/p_intnet.c:92:13: note: include '' or provide a declaration of 'free' src/p_intnet.c: In function 'removeban': src/p_intnet.c:197:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 197 | free(banlist->entry); | ^~~~ src/p_intnet.c:197:13: note: include '' or provide a declaration of 'free' src/p_intnet.c: In function 'removeinvite': src/p_intnet.c:258:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 258 | free(invlist->entry); | ^~~~ src/p_intnet.c:258:13: note: include '' or provide a declaration of 'free' src/p_intnet.c: In function 'removeintop': src/p_intnet.c:319:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 319 | free(intoplist->entry); | ^~~~ src/p_intnet.c:319:13: note: include '' or provide a declaration of 'free' src/p_intnet.c: In function 'sendtochannelbutone': src/p_intnet.c:466:9: warning: variable 'isextern' set but not used [-Wunused-but-set-variable] 466 | int isextern=0; | ^~~~~~~~ src/p_intnet.c: In function 'sendtochannelsofnick': src/p_intnet.c:518:21: warning: variable 'client' set but not used [-Wunused-but-set-variable] 518 | struct clientt *client,*cyc; | ^~~~~~ src/p_intnet.c: In function 'addconfigchannel': src/p_intnet.c:693:9: warning: variable 'cntchan' set but not used [-Wunused-but-set-variable] 693 | int cntchan; | ^~~~~~~ src/p_intnet.c: In function 'cmdintuser': src/p_intnet.c:1912:20: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 1912 | if(atoi(ept)!=0) | ^~~~ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_blowfish.c -o src/p_blowfish.o src/p_blowfish.c: In function 'BLOWencrypt': src/p_blowfish.c:482:25: warning: variable 'd' set but not used [-Wunused-but-set-variable] 482 | char *p, *s, *dest, *d, *pt; | ^ gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_translate.c -o src/p_translate.o src/p_translate.c: In function 'erasetranslate': src/p_translate.c:126:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 126 | free(lkm->translatetext); | ^~~~ src/p_translate.c:25:1: note: include '' or provide a declaration of 'free' 24 | #include +++ |+#include 25 | src/p_translate.c:126:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 126 | free(lkm->translatetext); | ^~~~ src/p_translate.c:126:5: note: include '' or provide a declaration of 'free' gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/snprintf.c -o src/snprintf.o gcc -I./src/ -I. -I/opt/local/include -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb -DHAVE_CONFIG -DSUNOS -DIPV6 src/p_dns.c -o src/p_dns.o src/p_dns.c: In function 'p_dns_init': src/p_dns.c:16:5: warning: 'ares_init' is deprecated: Use ares_init_options instead [-Wdeprecated-declarations] 16 | if ((ret = ares_init(&resolver)) != ARES_SUCCESS) | ^~ In file included from src/p_dns.c:4: /tmp/work/chat/psybnc/work/.buildlink/include/ares.h:495:70: note: declared here 495 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_init_options) int ares_init( | ^~~~~~~~~ src/p_dns.c: In function 'p_dns_fds': src/p_dns.c:37:5: warning: 'ares_fds' is deprecated: Use ARES_OPT_EVENT_THREAD or ARES_OPT_SOCK_STATE_CB instead [-Wdeprecated-declarations] 37 | return ares_fds(resolver, read_fds, write_fds); | ^~~~~~ /tmp/work/chat/psybnc/work/.buildlink/include/ares.h:906:31: note: declared here 906 | ARES_OPT_SOCK_STATE_CB) int ares_fds(const ares_channel_t *channel, | ^~~~~~~~ src/p_dns.c: In function 'p_dns_process': src/p_dns.c:50:5: warning: 'ares_process' is deprecated: Use ares_process_fds instead [-Wdeprecated-declarations] 50 | ares_process(resolver, read_fds, write_fds); | ^~~~~~~~~~~~ /tmp/work/chat/psybnc/work/.buildlink/include/ares.h:918:58: note: declared here 918 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_process_fds) void ares_process( | ^~~~~~~~~~~~ src/p_dns.c: In function 'p_dns_gethostbyname': src/p_dns.c:56:5: warning: 'ares_gethostbyname' is deprecated: Use ares_getaddrinfo instead [-Wdeprecated-declarations] 56 | ares_gethostbyname(resolver, hostname, af, (ares_host_callback)callback, arg); | ^~~~~~~~~~~~~~~~~~ /tmp/work/chat/psybnc/work/.buildlink/include/ares.h:887:58: note: declared here 887 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_getaddrinfo) void ares_gethostbyname( | ^~~~~~~~~~~~~~~~~~ gcc -o psybnc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -O -Wall -Wno-pointer-sign -ggdb src/psybnc.o src/match.o src/p_client.o src/p_crypt.o src/p_dcc.o src/p_hash.o src/p_idea.o src/p_inifunc.o src/p_link.o src/p_log.o src/p_memory.o src/p_network.o src/p_parse.o src/p_peer.o src/p_server.o src/p_socket.o src/p_string.o src/p_sysmsg.o src/p_userfile.o src/p_uchannel.o src/p_script.o src/p_topology.o src/p_intnet.o src/p_blowfish.o src/p_translate.o src/snprintf.o src/p_dns.o -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lm -lnsl -ldl -lsocket -Wl,-R/opt/local/lib -L/opt/local/lib -lcares psyBNC2.4-BETA1-SunOS ready. Please read the README before you run psybnc. *** Please use pkgtools/verifypc to sanity check dependencies.