=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> 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 superscript-shttpd-0.53 --- load --- --- compile --- --- systype --- --- loads --- --- compile --- ( cat warn-auto.sh; echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' ) > compile --- loads --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo exec "`head -1 conf-lds`" '-o "$main" "$main".o ${1+"$@"}' ) > loads --- load --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo exec "`head -1 conf-ld`" '-o "$main" "$main".o ${1+"$@"}' ) > load --- systype --- ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\'; cat find-systype.sh; ) | sh > systype --- load --- chmod 755 load --- compile --- chmod 755 compile --- choose --- --- cgi-config.o --- --- loads --- chmod 755 loads --- choose --- cat warn-auto.sh choose.sh | sed s}HOME}"`head -1 conf-home`"}g > choose --- auto-str.o --- --- choose --- chmod 755 choose --- cgi-config.o --- ./compile cgi-config.c --- auto-str.o --- ./compile auto-str.c --- buffer.o --- ./compile buffer.c --- auto-str.o --- auto-str.c:7:6: warning: conflicting types for built-in function 'puts' [-Wbuiltin-declaration-mismatch] void puts(const char *s) ^~~~ --- cgi-config.o --- cgi-config.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ cgi-config.c: In function 'main': cgi-config.c:26:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(022); ^~~~~ --- buffer_get.o --- ./compile buffer_get.c --- buffer_put.o --- --- buffer_copy.o --- ./compile buffer_copy.c --- buffer_put.o --- ./compile buffer_put.c --- buffer_read.o --- ./compile buffer_read.c --- buffer_write.o --- ./compile buffer_write.c --- buffer_2.o --- ./compile buffer_2.c --- buffer_1.o --- ./compile buffer_1.c --- buffer_0.o --- ./compile buffer_0.c --- error.o --- ./compile error.c --- error_str.o --- ./compile error_str.c --- error_temp.o --- ./compile error_temp.c --- open_read.o --- ./compile open_read.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 --- str_chr.o --- ./compile str_chr.c --- str_len.o --- ./compile str_len.c --- str_cpy.o --- ./compile str_cpy.c --- str_diffn.o --- ./compile str_diffn.c --- str_diff.o --- ./compile str_diff.c --- str_rchr.o --- ./compile str_rchr.c --- str_start.o --- ./compile str_start.c --- generic-conf.o --- ./compile generic-conf.c --- strerr.o --- ./compile strerr.c --- strerr_sys.o --- ./compile strerr_sys.c --- strerr_die.o --- ./compile strerr_die.c --- open_trunc.o --- ./compile open_trunc.c --- fmt_uint.o --- ./compile fmt_uint.c --- fmt_ulong.o --- ./compile fmt_ulong.c --- fmt_xlong.o --- ./compile fmt_xlong.c --- scan_long.o --- ./compile scan_long.c --- scan_sign.o --- ./compile scan_sign.c --- scan_uint.o --- ./compile scan_uint.c --- scan_ulong.o --- ./compile scan_ulong.c --- caldate_fmjd.o --- ./compile caldate_fmjd.c --- leapsecs_init.o --- ./compile leapsecs_init.c --- case_lowerb.o --- ./compile case_lowerb.c --- case_lowers.o --- ./compile case_lowers.c --- case_diffb.o --- ./compile case_diffb.c --- case_diffs.o --- ./compile case_diffs.c --- case_startb.o --- ./compile case_startb.c --- stralloc_arts.o --- ./compile stralloc_arts.c --- stralloc_cat.o --- ./compile stralloc_cat.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_num.o --- ./compile stralloc_num.c --- stralloc_opyb.o --- ./compile stralloc_opyb.c --- stralloc_opys.o --- ./compile stralloc_opys.c --- stralloc_pend.o --- ./compile stralloc_pend.c --- alloc.o --- ./compile alloc.c --- alloc_re.o --- --- sig.o --- ./compile sig.c --- alloc_re.o --- ./compile alloc_re.c --- env.o --- ./compile env.c --- formdata.o --- ./compile formdata.c --- percent.o --- ./compile percent.c --- pathexec_run.o --- ./compile pathexec_run.c --- formdata.o --- formdata.c: In function 'formdata_field': formdata.c:44:10: warning: implicit declaration of function 'case_diffb' [-Wimplicit-function-declaration] if (!case_diffb(h->inprogress.s,h->inprogress.len,a->name)) ^~~~~~~~~~ --- 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); ^~~~~~ --- pathexec_env.o --- ./compile pathexec_env.c pathexec_env.c: In function 'pathexec': pathexec_env.c:67:14: warning: passing argument 1 of 'alloc_free' from incompatible pointer type [-Wincompatible-pointer-types] alloc_free(e); ^ --- getln.o --- --- pathexec_env.o --- In file included from pathexec_env.c:2:0: alloc.h:5:13: note: expected 'char *' but argument is of type 'char **' extern void alloc_free(char *); ^~~~~~~~~~ --- getln2.o --- --- chkshsgr.o --- --- getln.o --- ./compile getln.c --- chkshsgr.o --- ./compile chkshsgr.c --- getln2.o --- ./compile getln2.c --- chkshsgr.o --- 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); ^~~~~~~~~ --- fd_copy.o --- --- fd_move.o --- --- fd_copy.o --- ./compile fd_copy.c --- pathdecode.o --- --- fd_move.o --- ./compile fd_move.c --- pathdecode.o --- ./compile pathdecode.c --- droproot.o --- ./compile droproot.c --- 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); ^~~~~ --- 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); ^~~~~ --- utime.o --- ./compile utime.c --- droppriv.o --- ./compile droppriv.c --- cgiuser-config.o --- ./compile cgiuser-config.c --- utime.o --- utime.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ utime.c: In function 'main': utime.c:22:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] if (utime(fn,ut) == -1) _exit(111); ^~~~~ utimes --- echo-config.o --- ./compile echo-config.c --- cgiuser-config.o --- cgiuser-config.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ cgiuser-config.c: In function 'main': cgiuser-config.c:26:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(022); ^~~~~ --- redir-config.o --- ./compile redir-config.c --- echo-config.o --- echo-config.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ --- redir-config.o --- redir-config.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ --- droppriv.o --- droppriv.c: In function 'droppriv': droppriv.c:28:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(x) == -1) ^~~~~ --- seek_set.o --- ./compile seek_set.c --- constant-config.o --- ./compile constant-config.c --- filetype.o --- ./compile filetype.c --- install.o --- ./compile install.c --- hier.o --- --- constant-config.o --- constant-config.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ --- hier.o --- ./compile hier.c --- filetype.o --- filetype.c: In function 'filetype': filetype.c:11:54: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] if (!stralloc_copys(contenttype,"Content-Type: ")) _exit(21); ^~~~~ filetype.c:11:54: warning: incompatible implicit declaration of built-in function '_exit' filetype.c:22:46: warning: incompatible implicit declaration of built-in function '_exit' if (!stralloc_append(contenttype,&ch)) _exit(21); ^~~~~ filetype.c:36:45: warning: incompatible implicit declaration of built-in function '_exit' if (!stralloc_cats(contenttype,result)) _exit(21); ^~~~~ filetype.c:39:43: warning: incompatible implicit declaration of built-in function '_exit' if (!stralloc_cats(contenttype,"\r\n")) _exit(21); ^~~~~ --- 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:7:3: warning: implicit declaration of function 'd' [-Wimplicit-function-declaration] d(auto_home,"bin",-1,-1,02755); ^ hier.c:9:3: warning: implicit declaration of function 'c' [-Wimplicit-function-declaration] c(auto_home,"bin","cgi-config",-1,-1,0755); ^ --- instcheck.o --- ./compile instcheck.c --- socket.lib --- --- uint64.h --- --- socket.lib --- ( ( ./compile trylsock.c && ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 && echo -lsocket -lnsl || exit 0 ) > socket.lib --- uint64.h --- ./choose clr tryulong64 uint64.h1 uint64.h2 >uint64.h --- iopause.h --- ./choose clr trypoll iopause.h1 iopause.h2 >iopause.h --- select.h --- ./choose c trysysel select.h1 select.h2 > select.h --- hassgact.h --- ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h --- socket.lib --- rm -f trylsock.o trylsock --- fork.h --- ./choose cl tryvfork fork.h1 fork.h2 >fork.h --- haswaitp.h --- ./choose cl trywaitp haswaitp.h1 haswaitp.h2 >haswaitp.h --- uint32.h --- ./choose clr tryulong32 uint32.h1 uint32.h2 >uint32.h --- 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 --- --- cgi-env.o --- ./compile cgi-env.c --- chkshsgr --- ./load chkshsgr --- httpdate.o --- ./compile httpdate.c --- cgi-env.o --- cgi-env.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ cgi-env.c: In function 'main': cgi-env.c:123:5: warning: implicit declaration of function 'shutdown' [-Wimplicit-function-declaration] shutdown(1,1); ^~~~~~~~ cgi-env.c:124:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); /* XXX */ ^~~~~ --- tai_now.o --- ./compile tai_now.c --- tai_sub.o --- ./compile tai_sub.c --- tai_unpack.o --- ./compile tai_unpack.c --- taia_approx.o --- ./compile taia_approx.c --- taia_add.o --- ./compile taia_add.c --- taia_frac.o --- ./compile taia_frac.c --- taia_less.o --- ./compile taia_less.c --- taia_now.o --- ./compile taia_now.c --- taia_sub.o --- --- taia_uint.o --- --- taia_sub.o --- ./compile taia_sub.c --- taia_uint.o --- ./compile taia_uint.c --- caltime_tai.o --- ./compile caltime_tai.c --- caltime_utc.o --- ./compile caltime_utc.c --- leapsecs_read.o --- ./compile leapsecs_read.c --- leapsecs_sub.o --- ./compile leapsecs_sub.c --- cgi-httpd.o --- ./compile cgi-httpd.c --- cgi-success.o --- --- leapsecs_read.o --- leapsecs_read.c: In function 'leapsecs_read': leapsecs_read.c:24:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] if (leapsecs) free(leapsecs); ^~~~ --- cgiuser-httpd.o --- --- cgi-success.o --- ./compile cgi-success.c --- leapsecs_read.o --- leapsecs_read.c:24:19: warning: incompatible implicit declaration of built-in function 'free' leapsecs_read.c:24:19: note: include '' or provide a declaration of 'free' leapsecs_read.c:30:30: warning: implicit declaration of function 'close'; did you mean 'clock'? [-Wimplicit-function-declaration] if (fstat(fd,&st) == -1) { close(fd); return -1; } ^~~~~ clock leapsecs_read.c:32:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] t = (struct tai *) malloc(st.st_size); ^~~~~~ leapsecs_read.c:32:22: warning: incompatible implicit declaration of built-in function 'malloc' leapsecs_read.c:32:22: note: include '' or provide a declaration of 'malloc' leapsecs_read.c:35:7: warning: implicit declaration of function 'read'; did you mean 'creat'? [-Wimplicit-function-declaration] n = read(fd,(char *) t,st.st_size); ^~~~ creat leapsecs_read.c:37:26: warning: incompatible implicit declaration of built-in function 'free' if (n != st.st_size) { free(t); return -1; } ^~~~ leapsecs_read.c:37:26: note: include '' or provide a declaration of 'free' leapsecs_read.c:46:17: warning: incompatible implicit declaration of built-in function 'free' if (leapsecs) free(leapsecs); ^~~~ leapsecs_read.c:46:17: note: include '' or provide a declaration of 'free' --- cgiuser-httpd.o --- ./compile cgiuser-httpd.c --- cgi-success.o --- cgi-success.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ cgi-success.c: In function 'main': cgi-success.c:101:5: warning: implicit declaration of function 'shutdown' [-Wimplicit-function-declaration] shutdown(1,1); ^~~~~~~~ cgi-success.c:102:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); /* XXX */ ^~~~~ --- cgiuser-httpd.o --- cgiuser-httpd.c: In function 'barf': cgiuser-httpd.c:107:5: warning: implicit declaration of function 'shutdown' [-Wimplicit-function-declaration] shutdown(1,1); ^~~~~~~~ cgiuser-httpd.c:108:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); /* XXX */ ^~~~~ cgiuser-httpd.c: In function 'get': cgiuser-httpd.c:119:14: warning: implicit declaration of function 'byte_chr'; did you mean 'str_chr'? [-Wimplicit-function-declaration] host.len = byte_chr(host.s,host.len,':'); ^~~~~~~~ str_chr cgiuser-httpd.c:136:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(fn.s) == -1) barf("404 ",error_str(errno)); ^~~~~ cgiuser-httpd.c: At top level: cgiuser-httpd.c:204:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ --- cgi-dispatch.o --- ./compile cgi-dispatch.c --- cgi-httpd.o --- cgi-httpd.c: In function 'barf': cgi-httpd.c:105:5: warning: implicit declaration of function 'shutdown' [-Wimplicit-function-declaration] shutdown(1,1); ^~~~~~~~ cgi-httpd.c:106:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); /* XXX */ ^~~~~ cgi-httpd.c: In function 'get': cgi-httpd.c:117:14: warning: implicit declaration of function 'byte_chr'; did you mean 'str_chr'? [-Wimplicit-function-declaration] host.len = byte_chr(host.s,host.len,':'); ^~~~~~~~ str_chr cgi-httpd.c:134:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(fn.s) == -1) barf("404 ",error_str(errno)); ^~~~~ cgi-httpd.c: At top level: cgi-httpd.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ --- echo-httpd.o --- ./compile echo-httpd.c --- cgi-dispatch.o --- cgi-dispatch.c: In function 'barf': cgi-dispatch.c:83:5: warning: implicit declaration of function 'shutdown' [-Wimplicit-function-declaration] shutdown(1,1); ^~~~~~~~ cgi-dispatch.c:84:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); /* XXX */ ^~~~~ cgi-dispatch.c: At top level: cgi-dispatch.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ --- echo-httpd.o --- echo-httpd.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] main () ^~~~ --- file.o --- ./compile file.c --- constant-httpd.o --- ./compile constant-httpd.c constant-httpd.c: In function 'barf': constant-httpd.c:101:5: warning: implicit declaration of function 'shutdown'; did you mean 'chown'? [-Wimplicit-function-declaration] shutdown(1,1); ^~~~~~~~ chown constant-httpd.c: In function 'get': constant-httpd.c:117:14: warning: implicit declaration of function 'byte_chr'; did you mean 'str_chr'? [-Wimplicit-function-declaration] host.len = byte_chr(host.s,host.len,':'); ^~~~~~~~ str_chr constant-httpd.c:142:37: warning: implicit declaration of function 'byte_diff'; did you mean 'str_diff'? [-Wimplicit-function-declaration] if ((ims.len < mtimestr.len) || byte_diff(mtimestr.s,mtimestr.len,ims.s)) ^~~~~~~~~ str_diff constant-httpd.c: At top level: constant-httpd.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ constant-httpd.c: In function 'main': constant-httpd.c:325:3: warning: implicit declaration of function 'droproot'; did you mean 'reboot'? [-Wimplicit-function-declaration] droproot(FATAL); ^~~~~~~~ reboot --- file.o --- file.c:11:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] static void log(const char *fn,const char *result1,const char *result2,int flagread) ^~~ file.c: In function 'file_open': file.c:44:8: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] fd = open_read(fn); ^~~~~~~~~ file.c:47:28: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] if (error_temp(errno)) _exit(23); ^~~~~ file.c:47:28: warning: incompatible implicit declaration of built-in function '_exit' file.c:52:5: warning: implicit declaration of function 'close'; did you mean 'clock'? [-Wimplicit-function-declaration] close(fd); ^~~~~ clock file.c:53:28: warning: incompatible implicit declaration of built-in function '_exit' if (error_temp(errno)) _exit(23); ^~~~~ --- timeoutwrite.o --- ./compile timeoutwrite.c --- timeoutread.o --- ./compile timeoutread.c --- iopause.o --- ./compile iopause.c --- cgi-example.o --- ./compile cgi-example.c --- buffer.a --- ./makelib buffer.a buffer.o buffer_get.o buffer_put.o buffer_copy.o buffer_read.o buffer_write.o buffer_2.o buffer_1.o buffer_0.o --- error.a --- ./makelib error.a error.o error_str.o error_temp.o --- str.a --- --- strerr.a --- ./makelib strerr.a strerr.o strerr_sys.o strerr_die.o --- str.a --- ./makelib str.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_rchr.o str_chr.o str_len.o str_cpy.o str_diffn.o str_diff.o str_rchr.o str_start.o --- cgi-example.o --- cgi-example.c: In function 'out_button': cgi-example.c:97:12: warning: implicit declaration of function 'byte_diff'; did you mean 'str_diff'? [-Wimplicit-function-declaration] if (!byte_diff(filter.s,filter.len,v)) ^~~~~~~~~ str_diff cgi-example.c: In function 'barf': cgi-example.c:150:5: warning: implicit declaration of function 'shutdown' [-Wimplicit-function-declaration] shutdown(1,1); ^~~~~~~~ cgi-example.c:151:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); /* XXX */ ^~~~~ cgi-example.c: At top level: cgi-example.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ cgi-example.c: In function 'main': cgi-example.c:222:7: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] if (pipe(pfo) == -1) _exit(21); ^~~~ cgi-example.c:226:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(pfo[1]); ^~~~~ --- open.a --- --- fs.a --- ./makelib fs.a fmt_uint.o fmt_ulong.o fmt_xlong.o scan_long.o scan_sign.o scan_uint.o scan_ulong.o --- open.a --- ./makelib open.a open_read.o open_trunc.o --- case.a --- --- stralloc.a --- ./makelib stralloc.a stralloc_arts.o stralloc_cat.o stralloc_catb.o stralloc_cats.o stralloc_copy.o stralloc_eady.o stralloc_num.o stralloc_opyb.o stralloc_opys.o stralloc_pend.o --- case.a --- ./makelib case.a case_lowerb.o case_lowers.o case_diffb.o case_diffs.o case_startb.o --- alloc.a --- ./makelib alloc.a alloc.o alloc_re.o --- env.a --- ./makelib env.a env.o --- pathexec.a --- ./makelib pathexec.a pathexec_run.o pathexec_env.o --- getln.a --- ./makelib getln.a getln.o getln2.o --- fd.a --- ./makelib fd.a fd_copy.o fd_move.o --- seek.a --- ./makelib seek.a seek_set.o --- sig_catch.o --- ./compile sig_catch.c --- hasshsgr.h --- --- redir-httpd.o --- --- hasshsgr.h --- ./chkshsgr || ( cat warn-shsgr; exit 1 ) --- redir-httpd.o --- ./compile redir-httpd.c --- hasshsgr.h --- ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h --- redir-httpd.o --- redir-httpd.c: In function 'barf': redir-httpd.c:108:5: warning: implicit declaration of function 'shutdown' [-Wimplicit-function-declaration] shutdown(1,1); ^~~~~~~~ redir-httpd.c:109:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); /* XXX */ ^~~~~ redir-httpd.c: At top level: redir-httpd.c:114:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] static void log(const char *result,int flagfound) ^~~ redir-httpd.c: In function 'redirect': redir-httpd.c:198:7: warning: implicit declaration of function 'byte_chr'; did you mean 'str_chr'? [-Wimplicit-function-declaration] q = byte_chr(path.s,path.len,'?'); ^~~~~~~~ str_chr redir-httpd.c:219:9: warning: implicit declaration of function 'byte_rchr'; did you mean 'str_rchr'? [-Wimplicit-function-declaration] r = byte_rchr(path.s,at,'/'); ^~~~~~~~~ str_rchr redir-httpd.c: In function 'get': redir-httpd.c:273:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ redir-httpd.c: At top level: redir-httpd.c:336:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ --- cdb.o --- ./compile cdb.c --- cdb_hash.o --- ./compile cdb_hash.c --- cdb_make.o --- ./compile cdb_make.c --- uint32_unpack.o --- ./compile uint32_unpack.c --- uint32_pack.o --- ./compile uint32_pack.c --- redir-data.o --- ./compile redir-data.c --- wait_pid.o --- ./compile wait_pid.c --- libtai.a --- ./makelib libtai.a tai_now.o tai_sub.o tai_unpack.o taia_approx.o taia_add.o taia_frac.o taia_less.o taia_now.o taia_sub.o taia_uint.o caldate_fmjd.o caltime_tai.o caltime_utc.o leapsecs_init.o leapsecs_read.o leapsecs_sub.o --- redir-data.o --- redir-data.c: In function 'main': redir-data.c:48:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(022); ^~~~~ redir-data.c:85:7: warning: implicit declaration of function 'rename'; did you mean 'renameat'? [-Wimplicit-function-declaration] if (rename("data.tmp","data.cdb") == -1) ^~~~~~ renameat --- utime --- ./load utime fs.a --- auto-str --- ./load auto-str buffer.a error.a str.a --- utime --- ld: utime.o: in function `main': utime.c:(.text.startup+0x53): warning: warning: reference to compatibility utime(); include to generate correct reference --- sig.a --- ./makelib sig.a sig.o sig_catch.o --- prot.o --- ./compile prot.c --- uint.a --- ./makelib uint.a uint32_unpack.o uint32_pack.o --- cdb.a --- ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o --- cgi-dispatch --- ./loads cgi-dispatch pathdecode.o httpdate.o timeoutwrite.o iopause.o strerr.a libtai.a pathexec.a stralloc.a alloc.a buffer.a error.a env.a str.a fs.a --- prot.o --- 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 --- cgi-env --- --- cgi-success --- --- cgi-env --- ./loads cgi-env httpdate.o timeoutwrite.o iopause.o libtai.a case.a stralloc.a alloc.a buffer.a error.a sig.a env.a str.a fs.a --- cgi-success --- ./loads cgi-success httpdate.o timeoutwrite.o iopause.o libtai.a case.a stralloc.a alloc.a buffer.a error.a sig.a env.a str.a fs.a --- auto_destdir.c --- --- auto_home.c --- --- auto_destdir.c --- ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c --- auto_home.c --- ./auto-str auto_home `head -1 conf-home` > auto_home.c --- wait.a --- ./makelib wait.a wait_pid.o --- redir-data --- ./load redir-data cdb.a seek.a uint.a getln.a stralloc.a alloc.a strerr.a buffer.a error.a open.a str.a fs.a --- cgi-httpd --- --- cgiuser-httpd --- --- cgi-httpd --- ./load cgi-httpd pathdecode.o droproot.o httpdate.o percent.o prot.o timeoutread.o timeoutwrite.o iopause.o strerr.a libtai.a case.a getln.a stralloc.a alloc.a buffer.a error.a sig.a env.a pathexec.a str.a fs.a open.a `cat socket.lib` --- cgiuser-httpd --- ./load cgiuser-httpd pathdecode.o droppriv.o httpdate.o percent.o prot.o timeoutread.o timeoutwrite.o iopause.o strerr.a libtai.a case.a getln.a stralloc.a alloc.a buffer.a error.a sig.a env.a pathexec.a str.a fs.a open.a `cat socket.lib` --- echo-httpd --- ./load echo-httpd prot.o droproot.o httpdate.o timeoutread.o timeoutwrite.o iopause.o strerr.a env.a fs.a libtai.a case.a getln.a stralloc.a alloc.a buffer.a str.a error.a sig.a `cat socket.lib` --- redir-httpd --- ./load redir-httpd pathdecode.o file.o httpdate.o percent.o prot.o droproot.o timeoutread.o timeoutwrite.o iopause.o strerr.a libtai.a case.a getln.a stralloc.a alloc.a buffer.a error.a open.a sig.a env.a cdb.a str.a fs.a seek.a uint.a `cat socket.lib` --- constant-httpd --- --- auto_destdir.o --- --- auto_home.o --- --- constant-httpd --- ./load constant-httpd pathdecode.o file.o filetype.o httpdate.o percent.o prot.o droproot.o timeoutread.o timeoutwrite.o iopause.o strerr.a libtai.a case.a getln.a stralloc.a alloc.a buffer.a error.a open.a sig.a env.a str.a fs.a `cat socket.lib` --- auto_destdir.o --- ./compile auto_destdir.c --- auto_home.o --- ./compile auto_home.c --- cgi-example --- ./loads cgi-example httpdate.o timeoutwrite.o timeoutread.o iopause.o formdata.o percent.o libtai.a case.a pathexec.a stralloc.a alloc.a buffer.a error.a sig.a env.a getln.a str.a fs.a wait.a fd.a --- install --- --- instcheck --- --- install --- ./load install hier.o auto_destdir.o stralloc.a alloc.a strerr.a buffer.a open.a error.a str.a --- instcheck --- ./load instcheck hier.o auto_destdir.o strerr.a buffer.a error.a str.a --- cgi-config --- ./load cgi-config auto_home.o generic-conf.o strerr.a buffer.a error.a open.a str.a fs.a --- cgiuser-config --- ./load cgiuser-config auto_home.o generic-conf.o strerr.a buffer.a error.a open.a str.a fs.a --- echo-config --- --- constant-config --- --- echo-config --- ./load echo-config auto_home.o generic-conf.o strerr.a buffer.a error.a open.a str.a fs.a --- constant-config --- ./load constant-config auto_home.o generic-conf.o strerr.a buffer.a error.a open.a str.a fs.a --- redir-config --- ./load redir-config auto_home.o generic-conf.o strerr.a buffer.a error.a open.a str.a fs.a