=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ucspi-udp-0.88.1 --- load --- --- compile --- --- choose --- --- systype --- --- compile --- ( cat warn-auto.sh; echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' ) > compile --- choose --- cat warn-auto.sh choose.sh | sed s}HOME}"`head -1 conf-home`"}g > choose --- systype --- ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\'; cat find-systype.sh; ) | sh > systype --- load --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo exec "`head -1 conf-ld`" '-o "$main" "$main".o ${1+"$@"}' ) > load --- choose --- chmod 755 choose --- compile --- chmod 755 compile --- udpcat --- --- rts --- --- udpcat --- cat warn-auto.sh udpcat.sh | sed s}HOME}"`head -1 conf-home`"}g > udpcat --- load --- chmod 755 load --- rts --- cat warn-auto.sh rts.sh | sed s}HOME}"`head -1 conf-home`"}g > rts --- alloc.o --- ./compile alloc.c --- udpcat --- chmod 755 udpcat --- alloc_re.o --- --- rts --- chmod 755 rts --- alloc_re.o --- ./compile alloc_re.c --- auto-str.o --- ./compile auto-str.c --- alloc.o --- alloc.c:3:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ --- auto-str.o --- auto-str.c:8:6: warning: conflicting types for built-in function 'puts' [-Wbuiltin-declaration-mismatch] void puts(char *s) ^~~~ auto-str.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ --- buffer.o --- ./compile buffer.c --- buffer_0.o --- ./compile buffer_0.c --- buffer_1.o --- ./compile buffer_1.c --- buffer_2.o --- ./compile buffer_2.c --- buffer_copy.o --- ./compile buffer_copy.c --- buffer_get.o --- ./compile buffer_get.c --- buffer_put.o --- ./compile buffer_put.c --- byte_chr.o --- ./compile byte_chr.c --- byte_copy.o --- ./compile byte_copy.c --- byte_cr.o --- ./compile byte_cr.c --- byte_diff.o --- ./compile byte_diff.c --- byte_rchr.o --- ./compile byte_rchr.c --- byte_zero.o --- ./compile byte_zero.c --- case_diffb.o --- ./compile case_diffb.c --- case_diffs.o --- ./compile case_diffs.c --- chkshsgr.o --- ./compile chkshsgr.c --- env.o --- ./compile env.c --- chkshsgr.o --- chkshsgr.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ chkshsgr.c: In function 'main': chkshsgr.c:8:7: warning: implicit declaration of function 'getgroups' [-Wimplicit-function-declaration] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^~~~~~~~~ chkshsgr.c:8:32: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^~~~~~~~~ --- error.o --- ./compile error.c --- error_str.o --- ./compile error_str.c --- fd_copy.o --- ./compile fd_copy.c --- fd_move.o --- ./compile fd_move.c --- fmt_ulong.o --- ./compile fmt_ulong.c --- fd_copy.o --- fd_copy.c: In function 'fd_copy': fd_copy.c:8:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(to); ^~~~~ --- fd_move.o --- fd_move.c: In function 'fd_move': fd_move.c:7:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(from); ^~~~~ --- getln.o --- ./compile getln.c --- getln2.o --- ./compile getln2.c --- hier.o --- ./compile hier.c --- install.o --- ./compile install.c --- hier.o --- hier.c: In function 'hier': hier.c:5:3: warning: implicit declaration of function 'h' [-Wimplicit-function-declaration] h(auto_home,-1,-1,02755); ^ hier.c:6:3: warning: implicit declaration of function 'd' [-Wimplicit-function-declaration] d(auto_home,"bin",-1,-1,02755); ^ hier.c:8:3: warning: implicit declaration of function 'c' [-Wimplicit-function-declaration] c(auto_home,"bin","udplisten",-1,-1,0755); ^ --- instcheck.o --- ./compile instcheck.c --- install.o --- install.c: In function 'h': install.c:20:7: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if (mkdir(home,0700) == -1) ^~~~~ install.c:23:7: warning: implicit declaration of function 'chown' [-Wimplicit-function-declaration] if (chown(home,uid,gid) == -1) ^~~~~ install.c:25:7: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration] if (chmod(home,mode) == -1) ^~~~~ install.c: In function 'd': install.c:36:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(home) == -1) ^~~~~ install.c: In function 'c': install.c:63:7: warning: implicit declaration of function 'fchdir' [-Wimplicit-function-declaration] if (fchdir(fdsourcedir) == -1) ^~~~~~ install.c:88:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdin); ^~~~~ install.c:91:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fdout) == -1) ^~~~~ install.c: At top level: install.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ install.c: In function 'main': install.c:146:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(077); ^~~~~ --- iopause.h --- ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h --- ip4_fmt.o --- ./compile ip4_fmt.c --- instcheck.o --- instcheck.c: In function 'd': instcheck.c:59:7: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (chdir(home) == -1) ^~~~~ mkdir instcheck.c: At top level: instcheck.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ --- ip4_scan.o --- ./compile ip4_scan.c --- ndelay_off.o --- --- ndelay_on.o --- --- ndelay_off.o --- ./compile ndelay_off.c --- ndelay_on.o --- ./compile ndelay_on.c --- open_read.o --- ./compile open_read.c --- open_trunc.o --- ./compile open_trunc.c --- open_write.o --- ./compile open_write.c --- openreadclose.o --- ./compile openreadclose.c --- pathexec_env.o --- ./compile pathexec_env.c --- pathexec_run.o --- ./compile pathexec_run.c --- readclose.o --- ./compile readclose.c --- scan_ulong.o --- --- pathexec_run.o --- pathexec_run.c: In function 'pathexec_run': pathexec_run.c:16:5: warning: implicit declaration of function 'execve' [-Wimplicit-function-declaration] execve(file,argv,envp); ^~~~~~ --- scan_ulong.o --- ./compile scan_ulong.c --- readclose.o --- readclose.c: In function 'readclose_append': readclose.c:9:44: warning: implicit declaration of function 'close'; did you mean 'readclose'? [-Wimplicit-function-declaration] if (!stralloc_readyplus(sa,bufsize)) { close(fd); return -1; } ^~~~~ readclose --- seek_set.o --- ./compile seek_set.c --- select.h --- ./choose c trysysel select.h1 select.h2 > select.h --- sgetopt.o --- ./compile sgetopt.c --- sig.o --- ./compile sig.c --- socket_accept.o --- ./compile socket_accept.c --- socket_bind.o --- ./compile socket_bind.c --- socket_conn.o --- ./compile socket_conn.c --- socket_delay.o --- ./compile socket_delay.c --- socket_listen.o --- ./compile socket_listen.c --- socket_local.o --- --- socket_opts.o --- --- socket_local.o --- ./compile socket_local.c --- socket_opts.o --- ./compile socket_opts.c --- socket_remote.o --- ./compile socket_remote.c --- socket_tcp.o --- ./compile socket_tcp.c --- socket_udp.o --- ./compile socket_udp.c --- str_chr.o --- ./compile str_chr.c --- socket_tcp.o --- socket_tcp.c: In function 'socket_tcp': socket_tcp.c:14:29: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (ndelay_on(s) == -1) { close(s); return -1; } ^~~~~ --- str_diff.o --- ./compile str_diff.c --- str_len.o --- ./compile str_len.c --- socket_udp.o --- socket_udp.c: In function 'socket_udp': socket_udp.c:14:29: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (ndelay_on(s) == -1) { close(s); return -1; } ^~~~~ --- str_start.o --- --- stralloc_cat.o --- ./compile stralloc_cat.c --- str_start.o --- ./compile str_start.c --- stralloc_catb.o --- ./compile stralloc_catb.c --- stralloc_cats.o --- ./compile stralloc_cats.c --- stralloc_copy.o --- ./compile stralloc_copy.c --- stralloc_eady.o --- ./compile stralloc_eady.c --- stralloc_opyb.o --- ./compile stralloc_opyb.c --- stralloc_opys.o --- ./compile stralloc_opys.c --- stralloc_pend.o --- ./compile stralloc_pend.c --- strerr_die.o --- --- strerr_sys.o --- --- strerr_die.o --- ./compile strerr_die.c --- subgetopt.o --- --- strerr_sys.o --- ./compile strerr_sys.c --- subgetopt.o --- ./compile subgetopt.c --- udprulescheck.o --- ./compile udprulescheck.c --- udppipe.o --- ./compile udppipe.c --- udprulescheck.o --- udprulescheck.c: In function 'found': udprulescheck.c:19:2: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); ^~~~~ udprulescheck.c:19:2: warning: incompatible implicit declaration of built-in function '_exit' udprulescheck.c:31:3: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ udprulescheck.c: At top level: udprulescheck.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ udprulescheck.c: In function 'main': udprulescheck.c:51:8: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] fd = open_read(fnrules); ^~~~~~~~~ --- uint16_pack.o --- --- udprulescheck.o --- udprulescheck.c:56:3: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ --- uint16_pack.o --- ./compile uint16_pack.c --- uint16_unpack.o --- ./compile uint16_unpack.c --- udppipe.o --- udppipe.c: In function 'main': udppipe.c:17:21: warning: implicit declaration of function 'scan_ulong' [-Wimplicit-function-declaration] case 't': scan_ulong(optarg,&timeout); ^~~~~~~~~~ udppipe.c:30:12: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch(fork()) { ^~~~ udppipe.c:32:13: warning: implicit declaration of function 'close'; did you mean 'clock'? [-Wimplicit-function-declaration] close(fd[0]); ^~~~~ clock udppipe.c:33:18: warning: implicit declaration of function 'fd_move'; did you mean 'fd_mask'? [-Wimplicit-function-declaration] if ((fd_move(0,fd[1]) == -1) || (fd_copy(1,0) == -1)) ^~~~~~~ fd_mask udppipe.c:33:46: warning: implicit declaration of function 'fd_copy' [-Wimplicit-function-declaration] if ((fd_move(0,fd[1]) == -1) || (fd_copy(1,0) == -1)) ^~~~~~~ udppipe.c:53:26: warning: implicit declaration of function 'read'; did you mean 'readv'? [-Wimplicit-function-declaration] int nbytes = read(fd[0],buf,sizeof(buf)); ^~~~ readv udppipe.c:59:27: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] if (nbytes>0) write(fd[0],buf,nbytes); ^~~~~ writev --- hassgact.h --- ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h --- hassgprm.h --- ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h --- haswaitp.h --- ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h --- socket.lib --- ( ( ./compile trylsock.c && ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 && echo -lsocket -lnsl || exit 0 ) > socket.lib --- uint32.h --- ( ( ./compile tryulong32.c && ./load tryulong32 && ./tryulong32 ) >/dev/null 2>&1 && cat uint32.h2 || cat uint32.h1 ) > uint32.h --- uint64.h --- ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h --- socket.lib --- rm -f trylsock.o trylsock --- makelib --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo 'rm -f "$main"'; echo 'ar cr "$main" ${1+"$@"}'; case "`cat systype`" in sunos-5.*) ;; unix_sv*) ;; irix64-*) ;; irix-*) ;; dgux-*) ;; hp-ux-*) ;; sco*) ;; *) echo 'ranlib "$main"' ;; esac ) > makelib chmod 755 makelib --- chkshsgr --- ./load chkshsgr --- sig_catch.o --- ./compile sig_catch.c --- sig_block.o --- ./compile sig_block.c --- uint32.h --- rm -f tryulong32.o tryulong32 --- sig_pause.o --- ./compile sig_pause.c --- wait_nohang.o --- ./compile wait_nohang.c --- wait_pid.o --- ./compile wait_pid.c --- hasshsgr.h --- ./chkshsgr || ( cat warn-shsgr; exit 1 ) ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h --- cdb.o --- ./compile cdb.c --- cdb_hash.o --- ./compile cdb_hash.c --- cdb_make.o --- ./compile cdb_make.c --- rules.o --- --- udprules.o --- ./compile udprules.c --- rules.o --- ./compile rules.c --- udprules.o --- udprules.c: In function 'getnum': udprules.c:50:15: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] if (sanum.s[scan_ulong(sanum.s,u)]) die_bad(); ^~~~~~~~~~ fmt_ulong udprules.c: At top level: udprules.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ udprules.c: In function 'main': udprules.c:104:8: warning: implicit declaration of function 'open_trunc' [-Wimplicit-function-declaration] fd = open_trunc(fntemp); ^~~~~~~~~~ udprules.c:169:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fd) == -1) die_write(); ^~~~~ udprules.c:170:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (close(fd) == -1) die_write(); /* NFS stupidity */ ^~~~~ udprules.c:171:7: warning: implicit declaration of function 'rename' [-Wimplicit-function-declaration] if (rename(fntemp,fn)) ^~~~~~ --- uint32_pack.o --- ./compile uint32_pack.c --- uint32_unpack.o --- ./compile uint32_unpack.c --- dns_dfd.o --- ./compile dns_dfd.c --- dns_domain.o --- ./compile dns_domain.c --- dns_dtda.o --- ./compile dns_dtda.c --- dns_ip.o --- ./compile dns_ip.c --- dns_ipq.o --- --- dns_name.o --- ./compile dns_name.c --- dns_ipq.o --- ./compile dns_ipq.c --- dns_nd.o --- ./compile dns_nd.c --- dns_packet.o --- ./compile dns_packet.c --- dns_random.o --- ./compile dns_random.c --- dns_rcip.o --- ./compile dns_rcip.c --- dns_rcrw.o --- ./compile dns_rcrw.c --- dns_random.o --- dns_random.c: In function 'dns_random_init': dns_random.c:46:11: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] in[8] = getpid(); ^~~~~~ dns_random.c:47:11: warning: implicit declaration of function 'getppid' [-Wimplicit-function-declaration] in[9] = getppid(); ^~~~~~~ --- dns_rcrw.o --- dns_rcrw.c: In function 'init': dns_rcrw.c:92:7: warning: implicit declaration of function 'gethostname' [-Wimplicit-function-declaration] if (gethostname(host,sizeof host) == -1) return -1; ^~~~~~~~~~~ --- dns_resolve.o --- ./compile dns_resolve.c --- dns_sortip.o --- --- dns_transmit.o --- ./compile dns_transmit.c --- dns_sortip.o --- ./compile dns_sortip.c --- dns_txt.o --- ./compile dns_txt.c --- iopause.o --- ./compile iopause.c --- dns_transmit.o --- dns_transmit.c: In function 'socketfree': dns_transmit.c:70:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(d->s1 - 1); ^~~~~ dns_transmit.c: In function 'thisudp': dns_transmit.c:113:15: warning: implicit declaration of function 'send'; did you mean 'read'? [-Wimplicit-function-declaration] if (send(d->s1 - 1,d->query + 2,d->querylen - 2,0) == d->querylen - 2) { ^~~~ read dns_transmit.c: In function 'dns_transmit_get': dns_transmit.c:261:9: warning: implicit declaration of function 'recv'; did you mean 'read'? [-Wimplicit-function-declaration] r = recv(fd,udpbuf,sizeof udpbuf,0); ^~~~ read --- recordio.o --- ./compile recordio.c --- remoteinfo.o --- ./compile remoteinfo.c --- tai_pack.o --- --- recordio.o --- recordio.c: In function 'doit': recordio.c:103:9: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdleft); ^~~~~ recordio.c: At top level: recordio.c:144:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv,char **envp) ^~~~ recordio.c: In function 'main': recordio.c:149:21: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] pid[fmt_ulong(pid,getpid())] = 0; ^~~~~~ recordio.c:154:7: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] if (pipe(piin) == -1) ^~~~ recordio.c:159:10: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch(fork()) { ^~~~ recordio.c:171:7: warning: implicit declaration of function 'fd_move'; did you mean 'fd_mask'? [-Wimplicit-function-declaration] if (fd_move(0,piin[0]) == -1) ^~~~~~~ fd_mask --- tai_pack.o --- ./compile tai_pack.c --- remoteinfo.o --- remoteinfo.c: In function 'mywrite': remoteinfo.c:27:10: warning: implicit declaration of function 'write'; did you mean 'mywrite'? [-Wimplicit-function-declaration] return write(fd,buf,len); ^~~~~ mywrite remoteinfo.c: In function 'myread': remoteinfo.c:45:10: warning: implicit declaration of function 'read'; did you mean 'myread'? [-Wimplicit-function-declaration] return read(fd,buf,len); ^~~~ myread remoteinfo.c: In function 'remoteinfo': remoteinfo.c:96:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(s); ^~~~~ --- taia_add.o --- ./compile taia_add.c --- taia_approx.o --- ./compile taia_approx.c --- taia_frac.o --- ./compile taia_frac.c --- taia_less.o --- ./compile taia_less.c --- taia_now.o --- ./compile taia_now.c --- taia_pack.o --- ./compile taia_pack.c --- taia_sub.o --- ./compile taia_sub.c --- taia_uint.o --- ./compile taia_uint.c --- timeoutconn.o --- ./compile timeoutconn.c --- udpconnect.o --- ./compile udpconnect.c --- udplisten.o --- ./compile udplisten.c --- prot.o --- ./compile prot.c prot.c: In function 'prot_gid': prot.c:11:7: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (setgroups(1,&gid) == -1) return -1; ^~~~~~~~~ prot.c:13:10: warning: implicit declaration of function 'setgid'; did you mean 'prot_gid'? [-Wimplicit-function-declaration] return setgid(gid); /* _should_ be redundant, but on some systems it isn't */ ^~~~~~ prot_gid prot.c: In function 'prot_uid': prot.c:18:10: warning: implicit declaration of function 'setuid'; did you mean 'prot_uid'? [-Wimplicit-function-declaration] return setuid(uid); ^~~~~~ prot_uid --- udpconnect.o --- udpconnect.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ udpconnect.c: In function 'main': udpconnect.c:107:21: warning: implicit declaration of function 'env_get' [-Wimplicit-function-declaration] case 'U': x = env_get("UID"); if (x) scan_ulong(x,&uid); ^~~~~~~ udpconnect.c:107:19: warning: assignment makes pointer from integer without a cast [-Wint-conversion] case 'U': x = env_get("UID"); if (x) scan_ulong(x,&uid); ^ udpconnect.c:108:19: warning: assignment makes pointer from integer without a cast [-Wint-conversion] x = env_get("GID"); if (x) scan_ulong(x,&gid); break; ^ udpconnect.c:120:3: warning: implicit declaration of function 'close'; did you mean 'clock'? [-Wimplicit-function-declaration] close(fd); ^~~~~ clock udpconnect.c:168:11: warning: implicit declaration of function 'send' [-Wimplicit-function-declaration] send(s,"",0,0); ^~~~ udpconnect.c:180:30: error: storage size of 'sa' isn't known struct sockaddr_in sa; ^~ udpconnect.c:182:19: warning: implicit declaration of function 'recvfrom' [-Wimplicit-function-declaration] int t = recvfrom(s,buf,sizeof(buf),0,(struct sockaddr *)&sa,&sl); ^~~~~~~~ udpconnect.c:204:16: warning: implicit declaration of function 'prot_gid' [-Wimplicit-function-declaration] if (gid) if (prot_gid(gid) == -1) ^~~~~~~~ udpconnect.c:206:16: warning: implicit declaration of function 'prot_uid'; did you mean 'si_uid'? [-Wimplicit-function-declaration] if (uid) if (prot_uid(uid) == -1) ^~~~~~~~ si_uid udpconnect.c:209:3: warning: implicit declaration of function 'ndelay_off' [-Wimplicit-function-declaration] ndelay_off(s); ^~~~~~~~~~ --- cdb.a --- --- udplisten.o --- udplisten.c: In function 'doit': udplisten.c:145:29: warning: implicit declaration of function 'getpid'; did you mean 'getline'? [-Wimplicit-function-declaration] strnum[fmt_ulong(strnum,getpid())] = 0; ^~~~~~ getline --- cdb.a --- ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o --- udplisten.o --- udplisten.c:150:5: warning: implicit declaration of function 'socket_ipoptionskill' [-Wimplicit-function-declaration] socket_ipoptionskill(t); ^~~~~~~~~~~~~~~~~~~~ --- udpconnect.o --- *** [udpconnect.o] Error code 1 make: stopped in /tmp/net/ucspi-udp/work/tsi-ucspi-udp-ea972137e1da3189237aecc954bff2377398cb36 --- udplisten.o --- udplisten.c:210:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fdrules); ^~~~~ pclose udplisten.c: At top level: udplisten.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ udplisten.c: In function 'main': udplisten.c:439:16: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch(fork()) { ^~~~ 1 error make: stopped in /tmp/net/ucspi-udp/work/tsi-ucspi-udp-ea972137e1da3189237aecc954bff2377398cb36 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/ucspi-udp *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/ucspi-udp