=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for w3c-httpd-3.0Anb1 ./BUILD ________________________________________________________________ WWW build for machine type: darwin ------ Building W3C Reference Library ------ Object files of libwww will go to directory Library/darwin - 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/freebsd ] ; then mkdir ../../Library/freebsd; else echo OK ; fi touch ../../Library/freebsd/.created clang -c -o ../../Library/freebsd/HTParse.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTParse.c clang -c -o ../../Library/freebsd/HTAccess.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAccess.c clang -c -o ../../Library/freebsd/HTTP.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTTP.c ../../Library/Implementation/HTTP.c:171:20: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if ((status = NETCLOSE(http->sockfd)) < 0) ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTTP.c:312:19: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if ((status = NETWRITE(http->sockfd, command->data, command->size-1))<0) { ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTTP.c:552:16: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] int status = NETWRITE(http->sockfd, buf, i); ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTTP.c:737:21: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if ((status = NETCLOSE(http->sockfd)) < 0) { ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ 4 warnings generated. clang -c -o ../../Library/freebsd/HTFile.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTFile.c ../../Library/Implementation/HTFile.c:563:15: warning: implicit declaration of function 'getgroups' is invalid in C99 [-Wimplicit-function-declaration] ngroups = getgroups(NGROUPS, groups); /* Groups to which I belong */ ^ ../../Library/Implementation/HTFile.c:564:13: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration] myUid = geteuid(); /* Get my user identifier */ ^ 2 warnings generated. clang -c -o ../../Library/freebsd/HTBTree.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTBTree.c clang -c -o ../../Library/freebsd/HTFTP.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTFTP.c ../../Library/Implementation/HTFTP.c:904:15: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] int status = NETWRITE(ctrl->sockfd, command, ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTFTP.c:1011:20: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if ((status = NETCLOSE(data->sockfd)) < 0) ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTFTP.c:1043:20: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if ((status = NETCLOSE(ctrl->sockfd)) < 0) ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTFTP.c:1096:20: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if ((status = NETCLOSE(ctrl->sockfd)) < 0) ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTFTP.c:1464:17: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &local_addr, &addr_size) < 0) { ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ ../../Library/Implementation/HTFTP.c:1506:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &addr_size) < 0) { ^~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ ../../Library/Implementation/HTFTP.c:1549:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(data->sockfd); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTFTP.c:1979:19: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if ((status = NETCLOSE(data->sockfd)) < 0) { ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTFTP.c:2033:5: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(1); ^ ../../Library/Implementation/HTFTP.c:2496:11: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (NETCLOSE(data->sockfd) < 0) { ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTFTP.c:2765:11: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (NETCLOSE(data->sockfd) < 0) { ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ 11 warnings generated. clang -c -o ../../Library/freebsd/HTTCP.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTTCP.c ../../Library/Implementation/HTTCP.c:544:33: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(soc, &addr, &len) < 0) ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:704:78: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ ../../Library/Implementation/HTTCP.c:769:18: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] if (!fqdn && gethostname(name, MAXHOSTNAMELEN) == 0) { ^ ../../Library/Implementation/HTTCP.c:805:6: warning: implicit declaration of function 'getdomainname' is invalid in C99 [-Wimplicit-function-declaration] if (getdomainname(name, MAXHOSTNAMELEN)) { ^ ../../Library/Implementation/HTTCP.c:903:27: warning: implicit declaration of function 'getlogin' is invalid in C99 [-Wimplicit-function-declaration] if ((login = (char *) getlogin()) == NULL) { ^ ../../Library/Implementation/HTTCP.c:903:18: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if ((login = (char *) getlogin()) == NULL) { ^ ../../Library/Implementation/HTTCP.c:905:26: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if ((pw_info = getpwuid(getuid())) == NULL) { ^ ../../Library/Implementation/HTTCP.c:1020:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (NETCLOSE(net->sockfd) < 0) ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTTCP.c:1030:10: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (NETCLOSE(net->sockfd) < 0) ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTTCP.c:1095:9: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &soc_addrlen)) >= 0) { ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ ../../Library/Implementation/HTTCP.c:1102:2: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(1); ^ 10 warnings generated. clang -c -o ../../Library/freebsd/SGML.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/SGML.c clang -c -o ../../Library/freebsd/HTML.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTML.c clang -c -o ../../Library/freebsd/HTMLPDTD.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTMLPDTD.c clang -c -o ../../Library/freebsd/HTChunk.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTChunk.c clang -c -o ../../Library/freebsd/HTPlain.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTPlain.c clang -c -o ../../Library/freebsd/HTWriter.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTWriter.c ../../Library/Implementation/HTWriter.c:52:11: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] status = NETWRITE(me->soc, read_pointer, write_pointer - read_pointer); ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTWriter.c:124:16: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] status = NETWRITE(me->soc, read_pointer, ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTWriter.c:155:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(me->soc); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ 3 warnings generated. clang -c -o ../../Library/freebsd/HTFWriter.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTFWriter.c ../../Library/Implementation/HTFWriter.c:172:32: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] sprintf(pidstr, "-%d", (int) getpid()); ^ ../../Library/Implementation/HTFWriter.c:288:6: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(me->filename); ^ ../../Library/Implementation/HTFWriter.c:310:6: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(me->filename); ^ ../../Library/Implementation/HTFWriter.c:517:5: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(item->filename); ^ 4 warnings generated. clang -c -o ../../Library/freebsd/HTMLGen.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTMLGen.c clang -c -o ../../Library/freebsd/HTTee.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTTee.c clang -c -o ../../Library/freebsd/HTAtom.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAtom.c clang -c -o ../../Library/freebsd/HTAnchor.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAnchor.c clang -c -o ../../Library/freebsd/HTStyle.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTStyle.c clang -c -o ../../Library/freebsd/HTList.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTList.c clang -c -o ../../Library/freebsd/HTString.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ -DVC=\"2.17\" ../../Library/Implementation/HTString.c clang -c -o ../../Library/freebsd/HTAlert.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAlert.c ../../Library/Implementation/HTAlert.c:52:8: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if ((strcmp(Reply,"YES")==0) || (strcmp(Reply,"Y")==0)) ^ ../../Library/Implementation/HTAlert.c:52:8: note: include the header or explicitly provide a declaration for 'strcmp' ../../Library/Implementation/HTAlert.c:68:9: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] Tmp[strlen(Tmp)-1] = (char)0; /* Overwrite newline */ ^ ../../Library/Implementation/HTAlert.c:68:9: note: include the header or explicitly provide a declaration for 'strlen' ../../Library/Implementation/HTAlert.c:84:19: warning: implicit declaration of function 'getpass' is invalid in C99 [-Wimplicit-function-declaration] pw = (char *) getpass(Msg ? Msg : "Password: "); ^ ../../Library/Implementation/HTAlert.c:84:10: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] pw = (char *) getpass(Msg ? Msg : "Password: "); ^ 4 warnings generated. clang -c -o ../../Library/freebsd/HTRules.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTRules.c clang -c -o ../../Library/freebsd/HTFormat.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTFormat.c ../../Library/Implementation/HTFormat.c:477:19: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] int status = NETREAD( ^ ../../Library/Implementation/tcp.h:49:18: note: expanded from macro 'NETREAD' #define NETREAD read /* Routine to read from a TCP-IP socket */ ^ ../../Library/Implementation/HTFormat.c:510:15: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] int status = NETREAD(isoc->input_file_number, ^ ../../Library/Implementation/tcp.h:49:18: note: expanded from macro 'NETREAD' #define NETREAD read /* Routine to read from a TCP-IP socket */ ^ ../../Library/Implementation/HTFormat.c:541:11: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] status = NETREAD(isoc->input_file_number, ^ ../../Library/Implementation/tcp.h:49:18: note: expanded from macro 'NETREAD' #define NETREAD read /* Routine to read from a TCP-IP socket */ ^ ../../Library/Implementation/HTFormat.c:734:19: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] int status = NETREAD( ^ ../../Library/Implementation/tcp.h:49:18: note: expanded from macro 'NETREAD' #define NETREAD read /* Routine to read from a TCP-IP socket */ ^ ../../Library/Implementation/HTFormat.c:972:15: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] int status = NETREAD( ^ ../../Library/Implementation/tcp.h:49:18: note: expanded from macro 'NETREAD' #define NETREAD read /* Routine to read from a TCP-IP socket */ ^ 5 warnings generated. clang -c -o ../../Library/freebsd/HTInit.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTInit.c clang -c -o ../../Library/freebsd/HTMIME.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTMIME.c clang -c -o ../../Library/freebsd/HTHistory.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTHistory.c clang -c -o ../../Library/freebsd/HTNews.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTNews.c ../../Library/Implementation/HTNews.c:207:18: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] status = NETWRITE(s, command, length); ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTNews.c:212:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(s); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTNews.c:238:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(s); /* End of file, close socket */ ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTNews.c:352:62: warning: for loop has empty body [-Wempty-body] for(p=addr; *p && (*p!='>') && !WHITE(*p) && (*p!=','); p++); ^ ../../Library/Implementation/HTNews.c:352:62: note: put the semicolon on a separate line to silence this warning ../../Library/Implementation/HTNews.c:400:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(s); /* End of file, close socket */ ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTNews.c:1060:10: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(s); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTNews.c:1087:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(s); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ ../../Library/Implementation/HTNews.c:1119:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(s); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ 8 warnings generated. clang -c -o ../../Library/freebsd/HTGopher.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTGopher.c ../../Library/Implementation/HTGopher.c:736:19: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if ((status = NETWRITE(gopher->sockfd, command, ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ ../../Library/Implementation/HTGopher.c:922:10: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (NETCLOSE(gopher->sockfd) < 0) ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ 2 warnings generated. clang -c -o ../../Library/freebsd/HTTelnet.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTTelnet.c clang -c -o ../../Library/freebsd/HTWSRC.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTWSRC.c clang -c -o ../../Library/freebsd/HTAAUtil.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAAUtil.c clang -c -o ../../Library/freebsd/HTAABrow.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAABrow.c clang -c -o ../../Library/freebsd/HTAssoc.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAssoc.c clang -c -o ../../Library/freebsd/HTUU.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTUU.c clang -c -o ../../Library/freebsd/HTMulti.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTMulti.c ../../Library/Implementation/HTMulti.c:183:33: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] if (!path || !*path) return NO; ^~ ../../Library/Implementation/HTUtils.h:247:25: note: expanded from macro 'NO' #define NO (BOOL)0 ^~~~~~~ ../../Library/Implementation/HTMulti.c:188:9: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] return NO; ^~ ../../Library/Implementation/HTUtils.h:247:25: note: expanded from macro 'NO' #define NO (BOOL)0 ^~~~~~~ ../../Library/Implementation/HTMulti.c:213:7: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (access(best->filename, R_OK) != -1) { ^ 3 warnings generated. clang -c -o ../../Library/freebsd/HTTeXGen.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTTeXGen.c clang -c -o ../../Library/freebsd/HTDirBrw.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTDirBrw.c ../../Library/Implementation/HTDirBrw.c:921:12: warning: implicit declaration of function 'readlink' is invalid in C99 [-Wimplicit-function-declaration] symend = readlink(pathname, nodekey->symlink, HT_MAX_PATH); ^ 1 warning generated. clang -c -o ../../Library/freebsd/HTDescript.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTDescript.c clang -c -o ../../Library/freebsd/HTGuess.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTGuess.c clang -c -o ../../Library/freebsd/HTIcons.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTIcons.c clang -c -o ../../Library/freebsd/HTError.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTError.c clang -c -o ../../Library/freebsd/HTErrorMsg.o -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTErrorMsg.c rm ../../Library/freebsd/libwww.a rm: ../../Library/freebsd/libwww.a: No such file or directory *** Error code 1 (ignored) ar r ../../Library/freebsd/libwww.a ../../Library/freebsd/HTParse.o ../../Library/freebsd/HTAccess.o ../../Library/freebsd/HTTP.o ../../Library/freebsd/HTFile.o ../../Library/freebsd/HTBTree.o ../../Library/freebsd/HTFTP.o ../../Library/freebsd/HTTCP.o ../../Library/freebsd/SGML.o ../../Library/freebsd/HTML.o ../../Library/freebsd/HTMLPDTD.o ../../Library/freebsd/HTChunk.o ../../Library/freebsd/HTPlain.o ../../Library/freebsd/HTWriter.o ../../Library/freebsd/HTFWriter.o ../../Library/freebsd/HTMLGen.o ../../Library/freebsd/HTTee.o ../../Library/freebsd/HTAtom.o ../../Library/freebsd/HTAnchor.o ../../Library/freebsd/HTStyle.o ../../Library/freebsd/HTList.o ../../Library/freebsd/HTString.o ../../Library/freebsd/HTAlert.o ../../Library/freebsd/HTRules.o ../../Library/freebsd/HTFormat.o ../../Library/freebsd/HTInit.o ../../Library/freebsd/HTMIME.o ../../Library/freebsd/HTHistory.o ../../Library/freebsd/HTNews.o ../../Library/freebsd/HTGopher.o ../../Library/freebsd/HTTelnet.o ../../Library/freebsd/HTWSRC.o ../../Library/freebsd/HTAAUtil.o ../../Library/freebsd/HTAABrow.o ../../Library/freebsd/HTAssoc.o ../../Library/freebsd/HTUU.o ../../Library/freebsd/HTMulti.o ../../Library/freebsd/HTTeXGen.o ../../Library/freebsd/HTDirBrw.o ../../Library/freebsd/HTDescript.o ../../Library/freebsd/HTGuess.o ../../Library/freebsd/HTIcons.o ../../Library/freebsd/HTError.o ../../Library/freebsd/HTErrorMsg.o ar: creating archive ../../Library/freebsd/libwww.a ranlib ../../Library/freebsd/libwww.a libwww compiled successfully and can be found in Library/darwin 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/darwin - creating echo "Include files generated from hypertext." Include files generated from hypertext. cp ../../Daemon/Implementation/HTDaemon.c HTDaemonDIR.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" -DDIR_OPTIONS -DVD=\"3.0A\" HTDaemonDIR.c HTDaemonDIR.c:399:13: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] int n = write(sd, &b[*i], *c); ^ HTDaemonDIR.c:419:13: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] int n = read(sd, b, SSL_PROXY_BUFSIZE); ^ HTDaemonDIR.c:508:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(sd1); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ HTDaemonDIR.c:762:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(master_soc); ^ HTDaemonDIR.c:772:9: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] chdir(sc.server_root); ^ HTDaemonDIR.c:822:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(com_soc); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ HTDaemonDIR.c:1714:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(com_soc); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ HTDaemonDIR.c:1739:5: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(5); ^ HTDaemonDIR.c:1782:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] START_TIMER(input_timed_out, sc.input_timeout); ^ HTDaemonDIR.c:1775:59: note: expanded from macro 'START_TIMER' #define START_TIMER(f,t) { signal(SIGALRM,(void(*)()) f); alarm(t); } ^ HTDaemonDIR.c:1787:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] START_TIMER(output_timed_out, sc.output_timeout); ^ HTDaemonDIR.c:1775:59: note: expanded from macro 'START_TIMER' #define START_TIMER(f,t) { signal(SIGALRM,(void(*)()) f); alarm(t); } ^ HTDaemonDIR.c:1795:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] START_TIMER(script_timed_out, sc.script_timeout); ^ HTDaemonDIR.c:1775:59: note: expanded from macro 'START_TIMER' #define START_TIMER(f,t) { signal(SIGALRM,(void(*)()) f); alarm(t); } ^ HTDaemonDIR.c:1800:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] START_TIMER(cleanup_timed_out, DEFAULT_CLEANUP_TIMEOUT); ^ HTDaemonDIR.c:1775:59: note: expanded from macro 'START_TIMER' #define START_TIMER(f,t) { signal(SIGALRM,(void(*)()) f); alarm(t); } ^ HTDaemonDIR.c:1806:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] CANCEL_TIMER; ^ HTDaemonDIR.c:1776:28: note: expanded from macro 'CANCEL_TIMER' #define CANCEL_TIMER { alarm(0); signal(SIGALRM,SIG_IGN); } ^ HTDaemonDIR.c:1954:9: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if (getuid() == 0) { ^ HTDaemonDIR.c:1978:18: warning: implicit declaration of function 'initgroups' is invalid in C99 [-Wimplicit-function-declaration] else if (initgroups(pw->pw_name, gid) == -1) ^ HTDaemonDIR.c:1982:13: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration] if (setgid(gid) == -1) ^ HTDaemonDIR.c:1984:13: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration] if (setuid(uid) == -1) { ^ HTDaemonDIR.c:2316:9: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if (getuid() == 0) { ^ HTDaemonDIR.c:2320:13: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration] if (setgid(gid) == -1) ^ HTDaemonDIR.c:2322:13: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration] if (setuid(uid) == -1) { ^ HTDaemonDIR.c:2327:5: warning: implicit declaration of function 'nice' is invalid in C99 [-Wimplicit-function-declaration] nice(6); ^ HTDaemonDIR.c:2399:26: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] gc_pid = fork(); ^ HTDaemonDIR.c:2417:26: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &soc_addr_len); ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ HTDaemonDIR.c:2438:19: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] pid = fork(); ^ HTDaemonDIR.c:2441:17: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(com_soc); /* We can close this -- child handles it */ ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ HTDaemonDIR.c:2485:67: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getpeername(com_soc, (struct sockaddr*)&addr, &namelen); ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:704:78: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ HTDaemonDIR.c:2518:26: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &server_soc_addr,&l) != -1) ^~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ HTDaemonDIR.c:2537:17: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(com_soc); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ HTDaemonDIR.c:2646:30: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] gc_pid = fork(); ^ HTDaemonDIR.c:2691:41: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &soc_addr_len); ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ HTDaemonDIR.c:2745:31: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] fork_status = fork(); ^ HTDaemonDIR.c:2764:17: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(com_soc); /* We can close this -- child handles it */ ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ HTDaemonDIR.c:2814:67: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getpeername(com_soc, (struct sockaddr*)&addr, &namelen); ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:704:78: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ HTDaemonDIR.c:2851:26: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &server_soc_addr,&l) != -1) ^~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ HTDaemonDIR.c:2873:25: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(com_soc); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ HTDaemonDIR.c:2886:21: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] NETCLOSE(com_soc); ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' #define NETCLOSE close /* Routine to close a TCP-IP socket */ ^ HTDaemonDIR.c:2930:9: warning: implicit declaration of function 'getppid' is invalid in C99 [-Wimplicit-function-declaration] if (getppid() == 1) ^ HTDaemonDIR.c:2936:21: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] if ((childpid = fork()) < 0) ^ HTDaemonDIR.c:2952:12: warning: implicit declaration of function 'setpgrp' is invalid in C99 [-Wimplicit-function-declaration] pgrp = setpgrp(0, getpid()); ^ HTDaemonDIR.c:2952:23: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] pgrp = setpgrp(0, getpid()); ^ HTDaemonDIR.c:2956:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ HTDaemonDIR.c:2983:5: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] chdir("/"); ^ HTDaemonDIR.c:3402:9: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if (getuid() == 0 && sc.parent_uid) { ^ HTDaemonDIR.c:3409:18: warning: implicit declaration of function 'initgroups' is invalid in C99 [-Wimplicit-function-declaration] else if (initgroups(pw->pw_name, pw->pw_gid) == -1) ^ HTDaemonDIR.c:3424:17: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration] if (setgid(gid) == -1) ^ HTDaemonDIR.c:3429:17: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration] if (setuid(pw->pw_uid) == -1) ^ HTDaemonDIR.c:3484:40: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] fprintf(fp,"%d\n",(int)getpid()); ^ 47 warnings generated. rm HTDaemonDIR.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" -DVD=\"3.0A\" ../../Daemon/Implementation/HTRequest.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" ../../Daemon/Implementation/HTRetrieve.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" -DVD=\"3.0A\" ../../Daemon/Implementation/HTScript.c ../../Daemon/Implementation/HTScript.c:870:12: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == access(HTReqScript, X_OK)) { ^ ../../Daemon/Implementation/HTScript.c:879:17: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] else if (0==access(HTReqScript, X_OK)) { /* No suffix in URL nor filename*/ ^ ../../Daemon/Implementation/HTScript.c:939:6: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(pin) < 0 || pipe(pout) < 0) { ^ ../../Daemon/Implementation/HTScript.c:943:8: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] pid = fork(); ^ ../../Daemon/Implementation/HTScript.c:964:7: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration] dup2(pin[0], 0); ^ ../../Daemon/Implementation/HTScript.c:965:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(pin[0]); ^ ../../Daemon/Implementation/HTScript.c:972:7: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration] dup2(HTSoc, 1); ^ ../../Daemon/Implementation/HTScript.c:979:7: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration] dup2(pout[1], 1); ^ ../../Daemon/Implementation/HTScript.c:980:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(pout[1]); ^ ../../Daemon/Implementation/HTScript.c:987:6: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration] dup2(1, 2); /* Redirect stderr to stdout */ ^ ../../Daemon/Implementation/HTScript.c:988:16: warning: implicit declaration of function 'execve' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == execve(HTReqScript, argv, envp)) { ^ ../../Daemon/Implementation/HTScript.c:999:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(pin[0]); ^ ../../Daemon/Implementation/HTScript.c:1016:16: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] int status = write(pin[1], buf, i); ^ ../../Daemon/Implementation/HTScript.c:1038:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(pin[1],"\r\n",2); ^ 14 warnings generated. clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTLoad.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTCache.c ../../Daemon/Implementation/HTCache.c:152:6: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(lockfile); ^ ../../Daemon/Implementation/HTCache.c:290:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cur = strrchr(host, '.')) { ~~~~^~~~~~~~~~~~~~~~~~~~ ../../Daemon/Implementation/HTCache.c:290:13: note: place parentheses around the assignment to silence this warning while (cur = strrchr(host, '.')) { ^ ( ) ../../Daemon/Implementation/HTCache.c:290:13: note: use '==' to turn this assignment into an equality comparison while (cur = strrchr(host, '.')) { ^ == ../../Daemon/Implementation/HTCache.c:687:6: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(lockfile); ^ ../../Daemon/Implementation/HTCache.c:727:2: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(name); ^ ../../Daemon/Implementation/HTCache.c:772:2: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(backup); ^ ../../Daemon/Implementation/HTCache.c:1105:2: warning: implicit declaration of function 'nice' is invalid in C99 [-Wimplicit-function-declaration] nice(4); ^ 6 warnings generated. clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTCacheInfo.c ../../Daemon/Implementation/HTCacheInfo.c:111:2: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(cifn); ^ 1 warning generated. clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTConfig.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTWild.c clang -c -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation ../../Daemon/Implementation/HTSInit.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation ../../Daemon/Implementation/HTSUtils.c ../../Daemon/Implementation/HTSUtils.c:475:16: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] return NETWRITE(soc, s, len); ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' #define NETWRITE write /* Routine to write to a TCP-IP socket */ ^ 1 warning generated. clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTims.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTPasswd.c ../../Daemon/Implementation/HTPasswd.c:291:24: warning: address of array 'user' will always evaluate to 'true' [-Wpointer-bool-conversion] if (username && user && !strcmp(username,user)) { ~~ ^~~~ 1 warning generated. clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTAuth.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTLex.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTGroup.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTACL.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTAAProt.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTAAServ.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTAAFile.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTLog.c ../../Daemon/Implementation/HTLog.c:90:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(result, filename); ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ../../Daemon/Implementation/HTLog.c:90:18: note: treat the string as an argument to avoid this sprintf(result, filename); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ 1 warning generated. clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTgc.c ../../Daemon/Implementation/HTgc.c:435:7: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(fn); ^ ../../Daemon/Implementation/HTgc.c:464:6: warning: implicit declaration of function 'rmdir' is invalid in C99 [-Wimplicit-function-declaration] rmdir(dir_info->dirname); ^ ../../Daemon/Implementation/HTgc.c:542:7: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(path); ^ ../../Daemon/Implementation/HTgc.c:697:11: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] (int)getpid(), ^ 4 warnings generated. clang -c -O2 -Dunix -DDEBUG -D__BSD__ -I../../Library/Implementation ../../Daemon/Implementation/HTUserInit.c clang -c -I../../Library/Implementation -I../Implementation -O2 -Dunix -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTRFC931.c ../../Daemon/Implementation/HTRFC931.c:89:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(s); ^ ../../Daemon/Implementation/HTRFC931.c:157:6: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm(rfc931_timeout); ^ 2 warnings generated. You must get and make the WWWLibrary product first! (cd ../../Library/freebsd && make) make[3]: no target to make. make[3]: stopped in /opt/work/www/w3c-httpd/work/Library/freebsd *** Error code 2 Stop. make[2]: stopped in /opt/work/www/w3c-httpd/work/Daemon/darwin *** Error code 1 Stop. make[1]: stopped in /opt/work/www/w3c-httpd/work/All/Implementation WWW build for darwin done. status = 1 *** Error code 1 Stop. bmake: stopped in /opt/work/www/w3c-httpd/work *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/www/w3c-httpd *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/www/w3c-httpd