=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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 gopher-3.0.17 Making Objects (cd object; /opt/pkg/bin/gmake -j8 --jobserver-auth=6,7 all) gmake[1]: warning: -jN forced in submake: disabling jobserver mode. gmake[1]: Entering directory '/opt/work/net/gopher/work/gopher-release-3.0.17/object' clang -O2 -O2 -I.. -I. -I.. -c STRstring.c clang -O2 -O2 -I.. -I. -I.. -c GDgopherdir.c clang -O2 -O2 -I.. -I. -I.. -c GSgopherobj.c clang -O2 -O2 -I.. -I. -I.. -c DAarray.c clang -O2 -O2 -I.. -I. -I.. -c VIews.c clang -O2 -O2 -I.. -I. -I.. -c BLblock.c touch shared clang -O2 -O2 -I.. -I. -I.. -c Sockets.c clang -O2 -O2 -I.. -I. -I.. -c util.c In file included from STRstring.c:61: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from VIews.c:72: In file included from ./VIews.h:49: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from GDgopherdir.c:157: In file included from ./GDgopherdir.h:50: In file included from ./GSgopherobj.h:120: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from GDgopherdir.c:157: In file included from ./GDgopherdir.h:50: In file included from ./GSgopherobj.h:124: In file included from ./BLblock.h:52: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from GSgopherobj.c:352: In file included from ./GSgopherobj.h:120: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from DAarray.c:51: In file included from ./Malloc.h:73: In file included from ./Stdlib.h:55: In file included from ./compatible.h:358: ./string.h:92:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from VIews.c:72: In file included from ./VIews.h:97: In file included from ./BLblock.h:52: ./util.h:64:10: warning: In file included from GDgopherdir.c:157: In file included from ./GDgopherdir.h:50: In file included from ./GSgopherobj.h:130: In file included from ./fileio.h:80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from GSgopherobj.c:352: In file included from ./GSgopherobj.h:124: In file included from ./BLblock.h:52: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from DAarray.c:51: In file included from ./Malloc.h:73: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from VIews.c:72: In file included from ./VIews.h:97: In file included from ./BLblock.h:64: In file included from ./GSgopherobj.h:130: In file included from ./fileio.h:80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from DAarray.c:51: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ DAarray.c:74:25: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (DynArray*) malloc(sizeof(DynArray)); ^ DAarray.c:74:25: note: include the header or explicitly provide a declaration for 'malloc' In file included from GDgopherdir.c:158: ./Malloc.h:79:10DAarray.c:103:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] : free(da->objects); warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ^ In file included from GSgopherobj.c:352: In file included from ./GSgopherobj.h:130: In file included from ./fileio.h:80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] GDgopherdir.c:./stdlib.h:# include ^~~~~~~~~~ 74177:29: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] In file included from STRstring.cDAarray.c:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] temp = (GopherDirObj*) malloc(sizeof(GopherDirObj));#include :129:23: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration] ^~~~~~~~~~ ^ :63: In file included from ./Malloc.h:73: ./stdlib.h./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] :#include ^~~~~~~~~~ 60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] temp = (char **) realloc(da->objects, size*sizeof(char*));# include ^~~~~~~~~~ ^ GDgopherdir.c:177:29: note: include the header or explicitly provide a declaration for 'malloc' DAarray.c:129:23: note: include the header or explicitly provide a declaration for 'realloc' DAarray.c:132:34: warning./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ : implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] ./stdlib.h: perror("Out of memory!!!\n"), exit(-1); ^ 79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] DAarray.c:132:34: note: include the header or explicitly provide a declaration for 'exit' #include ^~~~~~~~~~ GDgopherdir.c:198:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(gd); ^ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from In file included from BLblock.c:79./stdlib.hVIews.c:73: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] : #include ^~~~~~~~~~ In file included from ./BLblock.h:49: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]VIews.cGDgopherdir.c:276:11: :warning79:: 92implicit declaration of function 'strcoll' is invalid in C99 [-Wimplicit-function-declaration]: In file included from GSgopherobj.c ::36010:11#include : return(strcoll(GSgetTitle(*gs1), GSgetTitle(*gs2))); warning: illegal character encoding in string literal [-Winvalid-source-encoding] ^ ^~~~~~~~~~ "Franais (Belgium)", ^~~~ warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] : ./regex.h:144:10: In file included from #include BLblock.c:79: In file included from ./BLblock.h:52: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] warning#include VIews.c:93:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ^~~~~~~~~~ "Franais (Canada)", ^~~~~~~~~~ ^~~~ : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] GDgopherdir.c:378:10: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] In file included from Sockets.cIn file included from :STRstring.c:63 VIews.c:94: :./Malloc.h:79:1099 if (strcmp(inputline, "INFO")!=0) {: 11In file included from ./compatible.h ^: 358:GDgopherdir.c :warning378:10: #include : illegal character encoding in string literal [-Winvalid-source-encoding] ^~~~~~~~~ :./string.h:92 : note: "Franais (Suisse)", 10:warning : warningnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] : #include include the header or explicitly provide a declaration for 'strcmp' ^~~~~~~~~~ ./regex.h:171:2: warning: REGEX_POSIX defined but REG_EXTENDED not found. [-W#warnings] #include ^~~~~~~~~~ #warning REGEX_POSIX defined but REG_EXTENDED not found. ^ ^~~~ VIews.cGDgopherdir.c:95:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] :456:15: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] In file included from GSgopherobj.c:364: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] STRstring.c:74:24: warning "Franais", ^~~~ ((cp2 = strchr(cp1, '\n')) != NULL)) {#include ^~~~~~~~~~ In file included from Sockets.c: 101: ./util.hVIews.c ^:: 64implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]: 10: temp = (String *) malloc(sizeof(String)); In file included from warning :GDgopherdir.cutil.c104 ^:456: ::15non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] :: note137: STRstring.c:74 "Espaol",: #include In file included from 24: BLblock.cinclude the header or explicitly provide a declaration for 'strchr' :: note ^~~~~~~~~~79 : include the header or explicitly provide a declaration for 'malloc' ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ^~~~ #include ^~~~~~~~~~ : In file included from ./BLblock.h:64: In file included from ./GSgopherobj.h:130: In file included from ./fileio.h:80: ./stdlib.h:60GDgopherdir.c:562:16: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if ((int) strlen(text) <= 1) ^ GDgopherdir.c:562:16: note: include the header or explicitly provide a declaration for 'strlen' VIews.c:GSgopherobj.c123:8: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] :In file included from 14 if (strcasecmp(ANSILangs[i], cp) == 0): warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] util.cSTRstring.c::14090: :In file included from 9./fileio.h:# include ::78: warning ^~~~~~~~~~: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 384#include free(st->data); ^ ^~~~~~~~~~ :27: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] ^ temp = (GopherObj *) malloc(sizeof(GopherObj)); ^ VIews.c:123:8: note: include the header or explicitly provide a declaration for 'strcasecmp' GSgopherobj.c:384:27: note: include the header or explicitly provide a declaration for 'malloc' ./STRstring.h:80:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ STRstring.c:143:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen(str)+1; /** Don't forget the '\0' **/ ^ STRstring.c:143:10: note: include the header or explicitly provide a declaration for 'strlen' In file included from Sockets.c:108: In file included from ./Malloc.h:73: ./stdlib.h:60:14: ./stdlib.h:74:10: warning: warningnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]VIews.c :136:25: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] temp = (VIewobj *) malloc(sizeof(VIewobj)); ^ # include STRstring.c ^~~~~~~~~~:157: #include ^~~~~~~~~~20GSgopherobj.c::438: 6 : warningVIews.c warning: : implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] ./stdlib.h free(gs);: 79:10: ^ ./stdlib.himplicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration]136:25: note: include the header or explicitly provide a declaration for 'malloc' :74:10: warning: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] GSgopherobj.c : temp = (char *) realloc(st->data, sizeof(char) * len);: #include ^~~~~~~~~~ ^ 455:4: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] STRstring.cVIews.c:169#include :6:: ^~~~~~~~~~ warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] 157 free(gs->gplus); free(vi); ^ ^ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] :20: note: include the header or explicitly provide a declaration for 'realloc' #include ^~~~~~~~~~ In file included from util.c:140: In file included from STRstring.c:166:6: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] In file included from BLblock.c:80: ./Malloc.h:79In file included from VIews.c:195:6Sockets.c:108: strcpy(st->data, str);./fileio.h:78./Malloc.h::10:: warning: warningnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 79 : ^10 STRstring.c:#include 166 : ^~~~~~~~~~6:: warningnote: : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] In file included from : ./STRstring.hinclude the header or explicitly provide a declaration for 'strcpy' :80: ./stdlib.h: :implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]60 :#include ^~~~~~~~~~GSgopherobj.c strcat(tmpstr, VIgetType(vi));14STRstring.cBLblock.c : :589 ^:191warning :: 692: warning:VIews.c27Sockets.c:: : :125implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]warning: :51implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] ::: 19526 if ((cp != NULL) && (strncmp(cp, "gopher://", 9) == 0)) {:: warning: 6:warning : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]note ^ : implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]include the header or explicitly provide a declaration for 'strcat' perror("server: can't turn off linger sockopt"),exit(-1);GSgopherobj.c:# include ^~~~~~~~~~ strcat(temp, cp); ^ ^ 589:27: Sockets.c:125:STRstring.c51:9 warning VIews.cs: generated temp = (Blockobj *) malloc(sizeof(Blockobj));:191:. 6note : ^ note : include the header or explicitly provide a declaration for 'exit' 230 BLblock.c:92:26: note: include the header or explicitly provide a declaration for 'malloc' note: include the header or explicitly provide a declaration for 'strcat' : include the header or explicitly provide a declaration for 'strncmp' STRstring.c:195:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] :10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] free(temp); ^ if (strlen(line) >= 200) ^ GSgopherobj.c:592:13Sockets.c:201:23: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] :VIews.c:230:10: note: include the header or explicitly provide a declaration for 'strlen' if ( hp!=NULL && strlen(hp->h_name) > strlen(DNSname) ) ^ Sockets.c:201:23: note: include the header or explicitly provide a declaration for 'strlen' Sockets.c./stdlib.h:74BLblock.cwarning::15810: :warningSTRstring.cVIews.c:: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration]:6260: :11: warning: warning202non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]: if (!(strncasecmp(VIgetType(GSgetView(gs,views)), implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration]:: 4:214:11: :implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] warning: warning: cp = strchr(line,'<'); ^implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] #include implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] free(bl);GSgopherobj.c ^ ^~~~~~~~~~ :592 : ^ VIews.c./stdlib.h:79:260: strncpy( DNSname, hp->h_name, MAXHOSTNAMELEN );13 :: note11: include the header or explicitly provide a declaration for 'strncasecmp' 10: warning: GSgopherobj.cnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]:595: ^: return(strcmp(cp1, cp2));#include ^ ^~~~~~~~~~ 10 : warning: STRstring.cnote: include the header or explicitly provide a declaration for 'strchr' implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration] Sockets.c cp = strdup(cp); ^ :202:4: :note: include the header or explicitly provide a declaration for 'strncpy' GSgopherobj.c:595:10: note: include the header or explicitly provide a declaration for 'strdup' 214:11: GSgopherobj.c:598:11: note: include the header or explicitly provide a declaration for 'strcmp' VIews.c:283:6: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] strcpy(line, VIgetType(vi)); cp2 = strchr(cp+10, '/'); ^ ^ BLblock.c:449:util.c VIews.c:283:6: note: include the header or explicitly provide a declaration for 'strcpy' 8:179:30: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] GSgopherobj.c: perror("signal died:\n"), exit(-1); ^ 598:11: note: include the header or explicitly provide a declaration for 'strchr' : warningutil.c:179:30: note: include the header or explicitly provide a declaration for 'exit' : implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] clang -O2 -O2 -I.. -I. -I.. -c compatible.c Sockets.c:468GSgopherobj.c::604:14: warning: implicitly declaring library function 'strstr' with type 'char *(const char *, const char *)' [-Wimplicit-function-declaration] 4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(BLgetName(BLAgetEntry(bla,i)), bname)==0) ^ strcpy(ipnum, inet_ntoa(sa.sin_addr)); ^ cp2 = strstr(cp2, "%20"); ^ BLblock.c:449:Sockets.cGSgopherobj.c::604:814: util.c:: note: include the header or explicitly provide a declaration for 'strcmp'338 :15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] 468:4: length = strlen(stringptr); ^ note: include the header or explicitly provide a declaration for 'strcpy' note: include the header or explicitly provide a declaration for 'strstr' util.c:338:15: note: include the header or explicitly provide a declaration for 'strlen' GSgopherobj.c:655:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(url, path); ^ GSgopherobj.c:655:4: note: include the header or explicitly provide a declaration for 'strcpy' GSgopherobj.c:672:9: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(url, ftppath); ^ GSgopherobj.c:672:9: note: include the header or explicitly provide a declaration for 'strcat' util.c:480:29: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] acceptable = (boolean*) malloc(sizeof(boolean) * 256); ^ util.c:480:29: note: include the header or explicitly provide a declaration for 'malloc' GSgopherobj.c:745:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(Askmoo[i++]); ^ GSgopherobj.c:747:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(Askmoo); ^ GSgopherobj.c:930:13: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcasecmp(BLgetName(bl), "ONLYHTML")==0) ^ GSgopherobj.c:930:13: note: include the header or explicitly provide a declaration for 'strcasecmp' 13GSgopherobj.c:959:13: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] warning if (strcmp(BLgetName(bl), "NOHTML") == 0) ^ s generated. GSgopherobj.c:959:13: note: include the header or explicitly provide a declaration for 'strcmp' GSgopherobj.c:1183:23: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] GSsetTTL(gs, atoi(cp+5)); ^ GSgopherobj.c:1292:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] cp = foo + strlen(foo+1); ^ GSgopherobj.c:1292:15: note: include the header or explicitly provide a declaration for 'strlen' GSgopherobj.c:1341:20: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] GSsetPort(gs, atoi(foo)); ^ 10 warnings generated. 18 warnings generated. 12 warnings generated. GSgopherobj.c:1625:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] return(- (atoi(headerline+2))); ^ GSgopherobj.c:1631:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] errno = atoi(headerline+1); ^ clang -O2 -O2 -I.. -I. -I.. -c url.c GSgopherobj.c:1802:21: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] GSsetPort(gs, atoi(buf+5)); ^ GSgopherobj.c:1808:22: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] GSsetNum(gs, atoi(buf+5)); ^ clang -O2 -O2 -I.. -I. -I.. -c Debug.c clang -O2 -O2 -I.. -I. -I.. -c Regex.c 9 warnings generated. clang -O2 -O2 -I.. -I. -I.. -c fileio.c 9 warnings generated. clang -O2 -O2 -I.. -I. -I.. -DLOCALEDIR=\"/opt/pkg/etc/gopher/gophernls\" -c ./Locale.c In file included from compatible.c:102: In file included from ./Malloc.h:73: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from compatible.c:102: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ compatible.c:477:26: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] p = (struct passwd *) malloc(sizeof(struct passwd)); ^ compatible.c:477:26: note: include the header or explicitly provide a declaration for 'malloc' compatible.c:484:11: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] cp = strchr(input, ':'); ^ compatible.c:484:11: note: include the header or explicitly provide a declaration for 'strchr' compatible.c:501:18: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] p->pw_uid = atoi(cp2); ^ clang -O2 -O2 -I.. -I. -I.. -c RBTree.c In file included from url.c:84: In file included from ./url.h:41: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from url.c:84: In file included from ./url.h:42: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 7 warnings generated. #include ^~~~~~~~~~ In file included from url.c:84: In file included from ./url.h:77: In file included from ./GSgopherobj.h:130: In file included from ./fileio.h:80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ In file included from Regex.c:54: ./regex.h:144:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from url.c:86: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./regex.h:171:2: warning: REGEX_POSIX defined but REG_EXTENDED not found. [-W#warnings] url.c#warning REGEX_POSIX defined but REG_EXTENDED not found.:95:21: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] ^ temp = (Url *) malloc(sizeof(Url)); ^ url.c:95:21: note: include the header or explicitly provide a declaration for 'malloc' url.c:118:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(url); ^ url.c:141:9: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(u,"telnet://"); ^ url.c:141:9: note: include the header or explicitly provide a declaration for 'strcpy' url.c:146:18: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] cp = u + strlen(u); ^ url.c:146:18: note: include the header or explicitly provide a declaration for 'strlen' url.c:156:8: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (strncmp(path, "GET /", 5) == 0) { ^ url.c:156:8: note: include the header or explicitly provide a declaration for 'strncmp' url.c:171:7: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(u, path + 4); ^ url.c:171:7: note: include the header or explicitly provide a declaration for 'strcat' url.c:172:16: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] atsign = strchr(u, '@'); ^ url.c:172:16: note: include the header or explicitly provide a declaration for 'strchr' url.c:247:8: warning: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (strncasecmp("ftp:", urlcp, 4)==0) ^ url.c:247:8: note: include the header or explicitly provide a declaration for 'strncasecmp' url.c:279:14: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration] urlcp = strdup(urlcp); /* This lets us scribble on the string */ ^ url.c:279:14: note: include the header or explicitly provide a declaration for 'strdup' url.c:281:11In file included from Regex.c:55: warning: implicitly declaring library function 'strstr' with type 'char *(const char *, const char *)' [-Wimplicit-function-declaration] : cp = strstr(urlcp, "://"); /* skip over servicetype + "://" */In file included from ./Malloc.h:73: In file included from ./Stdlib.h:55: In file included from ./compatible.h:358: ./string.h:92:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ^ url.c:281:11: note: include the header or explicitly provide a declaration for 'strstr' url.c:345:20: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] URLsetPort(url, atoi(cp2)); ^ In file included from fileio.c:160: In file included from ./fileio.h:78: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from Regex.c:55: In file included from ./Malloc.h:73: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from Regex.c:55: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ Regex.c:62:1: error: unknown type name 'regex_t' regex_t preg; ^ Regex.c:67:5: warning: implicit declaration of function 'regfree' is invalid in C99 [-Wimplicit-function-declaration] regfree(&preg); ^ Regex.c:71:10: warning: implicit declaration of function 'regcomp' is invalid in C99 [-Wimplicit-function-declaration] return regcomp(&preg, regex, REG_NOSUB) ? "regcomp error" : NULL; ^ Regex.c:71:32: error: use of undeclared identifier 'REG_NOSUB' return regcomp(&preg, regex, REG_NOSUB) ? "regcomp error" : NULL; ^ Regex.c:75:12: warning: implicit declaration of function 'regexec' is invalid in C99 [-Wimplicit-function-declaration] return ! regexec(&preg, string, 0, NULL, 0); ^ 10 warnings and 2 errors generated. gmake[1]: *** [Makefile:33: Regex.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... In file included from fileio.c:160: In file included from ./fileio.h:80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from fileio.c:160: In file included from ./fileio.h:81: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from fileio.c:161: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ fileio.c:234:22: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (FileIO *) malloc(sizeof(FileIO)); ^ fileio.c:234:22: note: include the header or explicitly provide a declaration for 'malloc' fileio.c:264:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(fio); ^ fileio.c:495:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] length = strlen(str); ^ fileio.c:495:15: note: include the header or explicitly provide a declaration for 'strlen' fileio.c:548:4: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(newbuf, fio->buf+FIOgetBufIndex(fio), newbuflen); ^ fileio.c:548:4: note: include the header or explicitly provide a declaration for 'memcpy' fileio.c:829:22: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration] argv[argc++] = strdup(buf); ^ fileio.c:829:22: note: include the header or explicitly provide a declaration for 'strdup' fileio.c:896:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(argv[i]); ^ In file included from RBTree.c:36: In file included from ./Malloc.h:73: In file included from ./Stdlib.h:55: In file included from ./compatible.h:358: ./string.h:92:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from RBTree.c:36: In file included from ./Malloc.h:73: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ 17 warnings generated. ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from RBTree.c:36: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ RBTree.c:75:28: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (RBTree_node*) malloc(sizeof(RBTree_node)); ^ RBTree.c:75:28: note: include the header or explicitly provide a declaration for 'malloc' RBTree.c:96:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(rbt_node); ^ RBTree.c:401:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(rbt); ^ 8 warnings generated. 12 warnings generated. 29 warnings generated. gmake[1]: Leaving directory '/opt/work/net/gopher/work/gopher-release-3.0.17/object' gmake: *** [Makefile:162: object/libgopher.a] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/gopher *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/gopher