=> Bootstrap dependency digest>=20010302: found digest-20210928 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 w3c-httpd-3.0Anb1 ./BUILD ________________________________________________________________ WWW build for machine type: netbsd ------ Building W3C Reference Library ------ Object files of libwww will go to directory Library/netbsd - creating echo Include files generated from hypertext. Include files generated from hypertext. if [ ! -r ../.. ] ; then mkdir ../..; else echo OK ; fi OK if [ ! -r ../../Library ] ; then mkdir ../../Library; else echo OK ; fi OK if [ ! -r ../../Library/netbsd ] ; then mkdir ../../Library/netbsd; else echo OK ; fi OK touch ../../Library/netbsd/.created cc -c -o ../../Library/netbsd/HTParse.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTParse.c cc -c -o ../../Library/netbsd/HTAccess.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTAccess.c cc -c -o ../../Library/netbsd/HTTP.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTTP.c In file included from ../../Library/Implementation/HTTP.c:23:0: ../../Library/Implementation/HTTP.c: In function 'HTTPCleanup': ../../Library/Implementation/tcp.h:48:18: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTTP.c:171:20: note: in expansion of macro 'NETCLOSE' if ((status = NETCLOSE(http->sockfd)) < 0) ^~~~~~~~ ../../Library/Implementation/HTTP.c: In function 'HTTPSendRequest': ../../Library/Implementation/tcp.h:50:18: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTTP.c:312:19: note: in expansion of macro 'NETWRITE' if ((status = NETWRITE(http->sockfd, command->data, command->size-1))<0) { ^~~~~~~~ cc -c -o ../../Library/netbsd/HTFile.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTFile.c ../../Library/Implementation/HTFile.c: In function 'HTEditable': ../../Library/Implementation/HTFile.c:563:15: warning: implicit declaration of function 'getgroups' [-Wimplicit-function-declaration] ngroups = getgroups(NGROUPS, groups); /* Groups to which I belong */ ^~~~~~~~~ ../../Library/Implementation/HTFile.c:564:13: warning: implicit declaration of function 'geteuid'; did you mean 'getenv'? [-Wimplicit-function-declaration] myUid = geteuid(); /* Get my user identifier */ ^~~~~~~ getenv cc -c -o ../../Library/netbsd/HTBTree.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTBTree.c cc -c -o ../../Library/netbsd/HTFTP.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTFTP.c In file included from ../../Library/Implementation/HTFTP.c:67:0: ../../Library/Implementation/HTFTP.c: In function 'HTFTP_send_cmd': ../../Library/Implementation/tcp.h:50:18: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTFTP.c:904:15: note: in expansion of macro 'NETWRITE' int status = NETWRITE(ctrl->sockfd, command, ^~~~~~~~ ../../Library/Implementation/HTFTP.c: In function 'HTFTP_close_data_con': ../../Library/Implementation/tcp.h:48:18: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTFTP.c:1011:20: note: in expansion of macro 'NETCLOSE' if ((status = NETCLOSE(data->sockfd)) < 0) ^~~~~~~~ ../../Library/Implementation/HTFTP.c: In function 'HTFTP_look_for_data': ../../Library/Implementation/HTFTP.c:2033:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); ^~~~~ cc -c -o ../../Library/netbsd/HTTCP.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTTCP.c ../../Library/Implementation/HTTCP.c: In function 'HTGetHostName': ../../Library/Implementation/HTTCP.c:769:18: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] if (!fqdn && gethostname(name, MAXHOSTNAMELEN) == 0) { ^~~~~~~~~~~ gethostbyname ../../Library/Implementation/HTTCP.c:805:6: warning: implicit declaration of function 'getdomainname'; did you mean 'HTGetDomainName'? [-Wimplicit-function-declaration] if (getdomainname(name, MAXHOSTNAMELEN)) { ^~~~~~~~~~~~~ HTGetDomainName ../../Library/Implementation/HTTCP.c: In function 'HTGetMailAddress': ../../Library/Implementation/HTTCP.c:903:27: warning: implicit declaration of function 'getlogin'; did you mean 'getline'? [-Wimplicit-function-declaration] if ((login = (char *) getlogin()) == NULL) { ^~~~~~~~ getline ../../Library/Implementation/HTTCP.c:903:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((login = (char *) getlogin()) == NULL) { ^ ../../Library/Implementation/HTTCP.c:905:26: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] if ((pw_info = getpwuid(getuid())) == NULL) { ^~~~~~ getpwuid In file included from ../../Library/Implementation/HTTCP.c:19:0: ../../Library/Implementation/HTTCP.c: In function 'HTDoConnect': ../../Library/Implementation/tcp.h:48:18: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTTCP.c:1020:7: note: in expansion of macro 'NETCLOSE' if (NETCLOSE(net->sockfd) < 0) ^~~~~~~~ ../../Library/Implementation/HTTCP.c: In function 'HTDoAccept': ../../Library/Implementation/HTTCP.c:1102:2: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); ^~~~~ cc -c -o ../../Library/netbsd/SGML.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/SGML.c cc -c -o ../../Library/netbsd/HTML.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTML.c cc -c -o ../../Library/netbsd/HTMLPDTD.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTMLPDTD.c cc -c -o ../../Library/netbsd/HTChunk.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTChunk.c cc -c -o ../../Library/netbsd/HTPlain.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTPlain.c cc -c -o ../../Library/netbsd/HTWriter.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTWriter.c In file included from ../../Library/Implementation/HTWriter.c:10:0: ../../Library/Implementation/HTWriter.c: In function 'flush': ../../Library/Implementation/tcp.h:50:18: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTWriter.c:52:11: note: in expansion of macro 'NETWRITE' status = NETWRITE(me->soc, read_pointer, write_pointer - read_pointer); ^~~~~~~~ ../../Library/Implementation/HTWriter.c: In function 'HTWriter_free': ../../Library/Implementation/tcp.h:48:18: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTWriter.c:155:2: note: in expansion of macro 'NETCLOSE' NETCLOSE(me->soc); ^~~~~~~~ cc -c -o ../../Library/netbsd/HTFWriter.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTFWriter.c ../../Library/Implementation/HTFWriter.c: In function 'HTFWriter_filename': ../../Library/Implementation/HTFWriter.c:172:32: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] sprintf(pidstr, "-%d", (int) getpid()); ^~~~~~ getenv ../../Library/Implementation/HTFWriter.c: In function 'HTFWriter_free': ../../Library/Implementation/HTFWriter.c:288:6: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(me->filename); ^~~~~~ unix cc -c -o ../../Library/netbsd/HTMLGen.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTMLGen.c cc -c -o ../../Library/netbsd/HTTee.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTTee.c cc -c -o ../../Library/netbsd/HTAtom.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTAtom.c cc -c -o ../../Library/netbsd/HTAnchor.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTAnchor.c ../../Library/Implementation/HTAnchor.c: In function 'HTAnchor_findChild': ../../Library/Implementation/HTAnchor.c:115:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void*)child, (int)tag ? tag : (CONST char *)"" , (void*)parent); /* int for apollo */ ^ cc -c -o ../../Library/netbsd/HTStyle.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTStyle.c cc -c -o ../../Library/netbsd/HTList.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTList.c cc -c -o ../../Library/netbsd/HTString.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ -DVC=\"2.17\" ../../Library/Implementation/HTString.c cc -c -o ../../Library/netbsd/HTAlert.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTAlert.c ../../Library/Implementation/HTAlert.c: In function 'HTConfirm': ../../Library/Implementation/HTAlert.c:52:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if ((strcmp(Reply,"YES")==0) || (strcmp(Reply,"Y")==0)) ^~~~~~ ../../Library/Implementation/HTAlert.c: In function 'HTPrompt': ../../Library/Implementation/HTAlert.c:68:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] Tmp[strlen(Tmp)-1] = (char)0; /* Overwrite newline */ ^~~~~~ ../../Library/Implementation/HTAlert.c:68:9: warning: incompatible implicit declaration of built-in function 'strlen' ../../Library/Implementation/HTAlert.c:68:9: note: include '' or provide a declaration of 'strlen' ../../Library/Implementation/HTAlert.c: In function 'HTPromptPassword': ../../Library/Implementation/HTAlert.c:84:19: warning: implicit declaration of function 'getpass'; did you mean 'fgetpos'? [-Wimplicit-function-declaration] pw = (char *) getpass(Msg ? Msg : "Password: "); ^~~~~~~ fgetpos ../../Library/Implementation/HTAlert.c:84:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pw = (char *) getpass(Msg ? Msg : "Password: "); ^ cc -c -o ../../Library/netbsd/HTRules.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTRules.c cc -c -o ../../Library/netbsd/HTFormat.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTFormat.c In file included from ../../Library/Implementation/HTAAUtil.h:34:0, from ../../Library/Implementation/HTAccess.h:149, from ../../Library/Implementation/HTFormat.h:142, from ../../Library/Implementation/HTFormat.c:20: ../../Library/Implementation/HTFormat.c: In function 'HTInputSocket_getCharacter': ../../Library/Implementation/tcp.h:49:18: warning: implicit declaration of function 'read'; did you mean 'readv'? [-Wimplicit-function-declaration] #define NETREAD read /* Routine to read from a TCP-IP socket */ ^ ../../Library/Implementation/HTFormat.c:477:19: note: in expansion of macro 'NETREAD' int status = NETREAD( ^~~~~~~ cc -c -o ../../Library/netbsd/HTInit.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTInit.c cc -c -o ../../Library/netbsd/HTMIME.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTMIME.c cc -c -o ../../Library/netbsd/HTHistory.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTHistory.c cc -c -o ../../Library/netbsd/HTNews.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTNews.c In file included from ../../Library/Implementation/HTAAUtil.h:34:0, from ../../Library/Implementation/HTAccess.h:149, from ../../Library/Implementation/HTNews.h:13, from ../../Library/Implementation/HTNews.c:16: ../../Library/Implementation/HTNews.c: In function 'response': ../../Library/Implementation/tcp.h:50:18: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTNews.c:207:18: note: in expansion of macro 'NETWRITE' status = NETWRITE(s, command, length); ^~~~~~~~ ../../Library/Implementation/tcp.h:48:18: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTNews.c:212:6: note: in expansion of macro 'NETCLOSE' NETCLOSE(s); ^~~~~~~~ cc -c -o ../../Library/netbsd/HTGopher.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTGopher.c In file included from ../../Library/Implementation/HTGopher.c:22:0: ../../Library/Implementation/HTGopher.c: In function 'HTGopher_send_cmd': ../../Library/Implementation/tcp.h:50:18: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTGopher.c:736:19: note: in expansion of macro 'NETWRITE' if ((status = NETWRITE(gopher->sockfd, command, ^~~~~~~~ ../../Library/Implementation/HTGopher.c: In function 'HTLoadGopher': ../../Library/Implementation/tcp.h:48:18: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTGopher.c:922:10: note: in expansion of macro 'NETCLOSE' if (NETCLOSE(gopher->sockfd) < 0) ^~~~~~~~ cc -c -o ../../Library/netbsd/HTTelnet.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTTelnet.c cc -c -o ../../Library/netbsd/HTWSRC.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTWSRC.c cc -c -o ../../Library/netbsd/HTAAUtil.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTAAUtil.c cc -c -o ../../Library/netbsd/HTAABrow.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTAABrow.c cc -c -o ../../Library/netbsd/HTAssoc.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTAssoc.c cc -c -o ../../Library/netbsd/HTUU.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTUU.c cc -c -o ../../Library/netbsd/HTMulti.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTMulti.c ../../Library/Implementation/HTMulti.c: In function 'HTGetBest': ../../Library/Implementation/HTMulti.c:213:7: warning: implicit declaration of function 'access'; did you mean 'accept'? [-Wimplicit-function-declaration] if (access(best->filename, R_OK) != -1) { ^~~~~~ accept cc -c -o ../../Library/netbsd/HTTeXGen.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTTeXGen.c cc -c -o ../../Library/netbsd/HTDirBrw.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTDirBrw.c ../../Library/Implementation/HTDirBrw.c: In function 'HTBrowseDirectory': ../../Library/Implementation/HTDirBrw.c:921:12: warning: implicit declaration of function 'readlink'; did you mean 'readdir'? [-Wimplicit-function-declaration] symend = readlink(pathname, nodekey->symlink, HT_MAX_PATH); ^~~~~~~~ readdir cc -c -o ../../Library/netbsd/HTDescript.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTDescript.c cc -c -o ../../Library/netbsd/HTGuess.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTGuess.c cc -c -o ../../Library/netbsd/HTIcons.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTIcons.c cc -c -o ../../Library/netbsd/HTError.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTError.c cc -c -o ../../Library/netbsd/HTErrorMsg.o -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation/ ../../Library/Implementation/HTErrorMsg.c rm ../../Library/netbsd/libwww.a rm: ../../Library/netbsd/libwww.a: No such file or directory *** Error code 1 (ignored) ar r ../../Library/netbsd/libwww.a ../../Library/netbsd/HTParse.o ../../Library/netbsd/HTAccess.o ../../Library/netbsd/HTTP.o ../../Library/netbsd/HTFile.o ../../Library/netbsd/HTBTree.o ../../Library/netbsd/HTFTP.o ../../Library/netbsd/HTTCP.o ../../Library/netbsd/SGML.o ../../Library/netbsd/HTML.o ../../Library/netbsd/HTMLPDTD.o ../../Library/netbsd/HTChunk.o ../../Library/netbsd/HTPlain.o ../../Library/netbsd/HTWriter.o ../../Library/netbsd/HTFWriter.o ../../Library/netbsd/HTMLGen.o ../../Library/netbsd/HTTee.o ../../Library/netbsd/HTAtom.o ../../Library/netbsd/HTAnchor.o ../../Library/netbsd/HTStyle.o ../../Library/netbsd/HTList.o ../../Library/netbsd/HTString.o ../../Library/netbsd/HTAlert.o ../../Library/netbsd/HTRules.o ../../Library/netbsd/HTFormat.o ../../Library/netbsd/HTInit.o ../../Library/netbsd/HTMIME.o ../../Library/netbsd/HTHistory.o ../../Library/netbsd/HTNews.o ../../Library/netbsd/HTGopher.o ../../Library/netbsd/HTTelnet.o ../../Library/netbsd/HTWSRC.o ../../Library/netbsd/HTAAUtil.o ../../Library/netbsd/HTAABrow.o ../../Library/netbsd/HTAssoc.o ../../Library/netbsd/HTUU.o ../../Library/netbsd/HTMulti.o ../../Library/netbsd/HTTeXGen.o ../../Library/netbsd/HTDirBrw.o ../../Library/netbsd/HTDescript.o ../../Library/netbsd/HTGuess.o ../../Library/netbsd/HTIcons.o ../../Library/netbsd/HTError.o ../../Library/netbsd/HTErrorMsg.o ar: creating ../../Library/netbsd/libwww.a ranlib ../../Library/netbsd/libwww.a libwww compiled successfully and can be found in Library/netbsd Have fun! If you have any problems with this software feel free to contact . Online documentation is available via the ------ Building W3C httpd, htadm, htimage, cgiparse, cgiutils ------ Object files and binaries will go to directory Daemon/netbsd - creating echo "Include files generated from hypertext." Include files generated from hypertext. cp ../../Daemon/Implementation/HTDaemon.c HTDaemonDIR.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" -DDIR_OPTIONS -DVD=\"3.0A\" HTDaemonDIR.c HTDaemonDIR.c: In function 'shove_buffer': HTDaemonDIR.c:399:13: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] int n = write(sd, &b[*i], *c); ^~~~~ writev HTDaemonDIR.c: In function 'drag_buffer': HTDaemonDIR.c:419:13: warning: implicit declaration of function 'read'; did you mean 'readv'? [-Wimplicit-function-declaration] int n = read(sd, b, SSL_PROXY_BUFSIZE); ^~~~ readv In file included from HTDaemonDIR.c:124:0: HTDaemonDIR.c: In function 'ssl_proxy_pump': ../../Library/Implementation/tcp.h:48:18: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ HTDaemonDIR.c:508:5: note: in expansion of macro 'NETCLOSE' NETCLOSE(sd1); ^~~~~~~~ HTDaemonDIR.c: In function 'dump_core': HTDaemonDIR.c:772:9: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] chdir(sc.server_root); ^~~~~ mkdir HTDaemonDIR.c: In function 'script_timed_out': HTDaemonDIR.c:1739:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(5); ^~~~~ HTDaemonDIR.c: In function 'input_timeout_on': HTDaemonDIR.c:1775:59: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] #define START_TIMER(f,t) { signal(SIGALRM,(void(*)()) f); alarm(t); } ^ HTDaemonDIR.c:1782:5: note: in expansion of macro 'START_TIMER' START_TIMER(input_timed_out, sc.input_timeout); ^~~~~~~~~~~ HTDaemonDIR.c: In function 'HTHandle': HTDaemonDIR.c:1954:9: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] if (getuid() == 0) { ^~~~~~ getpwuid HTDaemonDIR.c:1978:18: warning: implicit declaration of function 'initgroups' [-Wimplicit-function-declaration] else if (initgroups(pw->pw_name, gid) == -1) ^~~~~~~~~~ HTDaemonDIR.c:1982:13: warning: implicit declaration of function 'setgid'; did you mean 'setbit'? [-Wimplicit-function-declaration] if (setgid(gid) == -1) ^~~~~~ setbit HTDaemonDIR.c:1984:13: warning: implicit declaration of function 'setuid'; did you mean 'setbit'? [-Wimplicit-function-declaration] if (setuid(uid) == -1) { ^~~~~~ setbit HTDaemonDIR.c: In function 'gc_and_exit': HTDaemonDIR.c:2327:5: warning: implicit declaration of function 'nice'; did you mean 'time'? [-Wimplicit-function-declaration] nice(6); ^~~~ time HTDaemonDIR.c: In function 'standalone_server_loop': HTDaemonDIR.c:2399:26: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] gc_pid = fork(); ^~~~ HTDaemonDIR.c: In function 'daemon_start': HTDaemonDIR.c:2930:9: warning: implicit declaration of function 'getppid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] if (getppid() == 1) ^~~~~~~ getpwuid HTDaemonDIR.c:2952:12: warning: implicit declaration of function 'setpgrp'; did you mean 'setgrent'? [-Wimplicit-function-declaration] pgrp = setpgrp(0, getpid()); ^~~~~~~ setgrent HTDaemonDIR.c:2952:23: warning: implicit declaration of function 'getpid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] pgrp = setpgrp(0, getpid()); ^~~~~~ getpwuid rm HTDaemonDIR.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" -DVD=\"3.0A\" ../../Daemon/Implementation/HTRequest.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" ../../Daemon/Implementation/HTRetrieve.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" -DVD=\"3.0A\" ../../Daemon/Implementation/HTScript.c ../../Daemon/Implementation/HTScript.c: In function 'HTCallScript': ../../Daemon/Implementation/HTScript.c:870:12: warning: implicit declaration of function 'access'; did you mean 'accept'? [-Wimplicit-function-declaration] if (-1 == access(HTReqScript, X_OK)) { ^~~~~~ accept ../../Daemon/Implementation/HTScript.c:939:6: warning: implicit declaration of function 'pipe'; did you mean 'time'? [-Wimplicit-function-declaration] if (pipe(pin) < 0 || pipe(pout) < 0) { ^~~~ time ../../Daemon/Implementation/HTScript.c:943:8: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] pid = fork(); ^~~~ ../../Daemon/Implementation/HTScript.c:964:7: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] dup2(pin[0], 0); ^~~~ ../../Daemon/Implementation/HTScript.c:965:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(pin[0]); ^~~~~ pclose ../../Daemon/Implementation/HTScript.c:988:16: warning: implicit declaration of function 'execve' [-Wimplicit-function-declaration] if (-1 == execve(HTReqScript, argv, envp)) { ^~~~~~ ../../Daemon/Implementation/HTScript.c:1016:16: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] int status = write(pin[1], buf, i); ^~~~~ writev ../../Daemon/Implementation/HTScript.c:1075:6: warning: implicit declaration of function 'wait3'; did you mean 'writev'? [-Wimplicit-function-declaration] wait3(&status, 0, NULL); ^~~~~ writev cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTLoad.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTCache.c ../../Daemon/Implementation/HTCache.c: In function 'locked': ../../Daemon/Implementation/HTCache.c:152:6: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(lockfile); ^~~~~~ unix ../../Daemon/Implementation/HTCache.c: In function 'cache_write': ../../Daemon/Implementation/HTCache.c:1105:2: warning: implicit declaration of function 'nice'; did you mean 'time'? [-Wimplicit-function-declaration] nice(4); ^~~~ time cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTCacheInfo.c ../../Daemon/Implementation/HTCacheInfo.c: In function 'HTCacheInfo_remove': ../../Daemon/Implementation/HTCacheInfo.c:111:2: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(cifn); ^~~~~~ unix cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTConfig.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTWild.c cc -c -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation ../../Daemon/Implementation/HTSInit.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation ../../Daemon/Implementation/HTSUtils.c In file included from ../../Daemon/Implementation/HTSUtils.c:19:0: ../../Daemon/Implementation/HTSUtils.c: In function 'HTWriteASCII': ../../Library/Implementation/tcp.h:50:18: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Daemon/Implementation/HTSUtils.c:475:16: note: in expansion of macro 'NETWRITE' return NETWRITE(soc, s, len); ^~~~~~~~ cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTims.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTPasswd.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTAuth.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTLex.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTGroup.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTACL.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTAAProt.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTAAServ.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTAAFile.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTLog.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTgc.c ../../Daemon/Implementation/HTgc.c: In function 'collect': ../../Daemon/Implementation/HTgc.c:435:7: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(fn); ^~~~~~ unix ../../Daemon/Implementation/HTgc.c:464:6: warning: implicit declaration of function 'rmdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] rmdir(dir_info->dirname); ^~~~~ mkdir ../../Daemon/Implementation/HTgc.c: In function 'gc': ../../Daemon/Implementation/HTgc.c:697:11: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] (int)getpid(), ^~~~~~ getenv cc -c -DDEBUG -D__BSD__ -Dunix -I../../Library/Implementation ../../Daemon/Implementation/HTUserInit.c cc -c -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTRFC931.c ../../Daemon/Implementation/HTRFC931.c: In function 'fsocket': ../../Daemon/Implementation/HTRFC931.c:89:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(s); ^~~~~ pclose ../../Daemon/Implementation/HTRFC931.c: In function 'rfc931': ../../Daemon/Implementation/HTRFC931.c:157:6: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(rfc931_timeout); ^~~~~ cc -o httpd_3.0A HTDaemonDIR.o HTRequest.o HTRetrieve.o HTScript.o HTLoad.o HTCache.o HTCacheInfo.o HTConfig.o HTWild.o HTSInit.o HTSUtils.o HTims.o HTPasswd.o HTAuth.o HTLex.o HTGroup.o HTACL.o HTAAProt.o HTAAServ.o HTAAFile.o HTLog.o HTgc.o HTUserInit.o HTRFC931.o ../../Library/netbsd/libwww.a -lcrypt ld: HTScript.o: in function `HTCallScript': HTScript.c:(.text+0x294e): warning: warning: reference to compatibility wait3(); include to generate correct reference rm httpd rm: httpd: No such file or directory *** Error code 1 (ignored) if [ netbsd != isc3.0 ]; then ln -s httpd_3.0A httpd; fi cc -o htadm -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTAdm.c HTPasswd.o HTAAFile.o ../../Library/netbsd/libwww.a -lcrypt ../../Daemon/Implementation/HTAdm.c: In function 'main': ../../Daemon/Implementation/HTAdm.c:269:6: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(filename); /* Remove tmp file */ ^~~~~~ unix cc -o htimage -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/HTImage.c ../../Library/netbsd/libwww.a cc -o cgiparse -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/CGIParse.c ../../Library/netbsd/libwww.a -lcrypt cc -o cgiutils -I../../Library/Implementation -I../Implementation -DDEBUG -D__BSD__ -Dunix ../../Daemon/Implementation/cgiutils.c HTSUtils.o ../../Library/netbsd/libwww.a -lcrypt httpd, htadm, htimage, cgiparse and cgiutils built successfully and can be found in directory Daemon/netbsd. Have fun! If you have any problems with this software feel free to contact . Online documentation is available via the BUILD complete! WWW build for netbsd done. status = 0