=> 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 touch shared clang -O2 -O2 -I.. -I. -I.. -c BLblock.c 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 BLblock.c:79: 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] #include ^~~~~~~~~~ In file included from 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] #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 util.c:137: ./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 util.c:140: 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 ^~~~~~~~~~ ./STRstring.h:80: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 ^~~~~~~~~~ In file included from STRstring.c:63: In file included from ./Malloc.h:73: ./stdlib.h:60In 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]In file included from GSgopherobj.c:352: In file included from ./GSgopherobj.h:124: In file included from ./BLblock.h#include ^~~~~~~~~~ :52: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] :14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~# include ^~~~~~~~~~ In file included from util.c:140: In file included from ./fileio.h:78: In file included from ./STRstring.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' DAarray.c:103:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(da->objects); ^ In file included from BLblock.c:79: 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 ^~~~~~~~~~ DAarray.c:129:23: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration] temp = (char **) realloc(da->objects, size*sizeof(char*)); ^ DAarray.c:129:23: note: include the header or explicitly provide a declaration for 'realloc' DAarray.c:132:34: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] perror("Out of memory!!!\n"), exit(-1); ^ DAarray.c:132:34: note: include the header or explicitly provide a declaration for 'exit' ./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 ^~~~~~~~~~ util.c:179:30: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] perror("signal died:\n"), exit(-1); ^ util.c:179:30: note: include the header or explicitly provide a declaration for 'exit' ./stdlib.h:74:util.c:338:15: warning10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] : implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] #include ^~~~~~~~~~ length = strlen(stringptr); ^ util.c:338:15: note: include the header or explicitly provide a declaration for 'strlen' ./stdlib.h:In file included from 79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 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 ^~~~~~~~~~ #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] ./stdlib.h:74#include ^~~~~~~~~~ :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] util.c:480:29: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] #include ^~~~~~~~~~ acceptable = (boolean*) malloc(sizeof(boolean) * 256); ^ In file included from STRstring.c:63: ./Malloc.h:79:10util.c:480:29: note: include the header or explicitly provide a declaration for 'malloc' : In file included from GSgopherobj.c:352: In file included from warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] In file included from #include ^~~~~~~~~~ VIews.c:72: In file included from ./VIews.h:97: 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] ./GSgopherobj.h#include ^~~~~~~~~~ :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] STRstring.c:74:24: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] # include ^~~~~~~~~~ In file included from BLblock.c:80: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] temp = (String *) malloc(sizeof(String)); ^ #include ^~~~~~~~~~ STRstring.c:74:24: note: include the header or explicitly provide a declaration for 'malloc' BLblock.c:92:26: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (Blockobj *) malloc(sizeof(Blockobj)); ^ BLblock.c:92:26: note: include the header or explicitly provide a declaration for 'malloc' STRstring.c:90:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(st->data); ^ In file included from Sockets.c:99: In file included from ./compatible.h:358: ./string.h:92:10: BLblock.cwarning:158:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] free(bl); ^ #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' STRstring.c:157:20: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration]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] temp = (char *) realloc(st->data, sizeof(char) * len); ^ # include ^~~~~~~~~~ STRstring.c:157:20: note: include the header or explicitly provide a declaration for 'realloc' STRstring.c:166:6: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(st->data, str); ^ STRstring.c:166:6: note: include the header or explicitly provide a declaration for 'strcpy' BLblock.c:449:8: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(BLgetName(BLAgetEntry(bla,i)), bname)==0) ^ BLblock.c:449:8: note: include the header or explicitly provide a declaration for 'strcmp' STRstring.c:191:6: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(temp, cp); ^ STRstring.c:191:6: note: include the header or explicitly provide a declaration for 'strcat' In file included from Sockets.c:101: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] STRstring.c:195:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] #include ^~~~~~~~~~ free(temp); ^ 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 ^~~~~~~~~~ STRstring.c:214:11: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] return(strcmp(cp1, cp2)); ^ STRstring.c:214:11: note: include the header or explicitly provide a declaration for 'strcmp' ./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 ^~~~~~~~~~ ./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 GSgopherobj.c:360: ./regex.h:144: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] #warning REGEX_POSIX defined but REG_EXTENDED not found. ^ 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] #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 ^~~~~~~~~~ 9 warnings generated. In file included from GDgopherdir.c:158: ./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 VIews.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 ^~~~~~~~~~ VIews.c:92:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Franais (Belgium)", ^~~~ VIews.c:93:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Franais (Canada)", ^~~~ VIews.cGDgopherdir.c:94:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] :177:29: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] "Franais (Suisse)", ^~~~ temp = (GopherDirObj*) malloc(sizeof(GopherDirObj)); ^ VIews.c:95:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] GDgopherdir.c "Franais", ^~~~ :177:29: note: include the header or explicitly provide a declaration for 'malloc' VIews.c:104:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Espaol", ^~~~ VIews.c:123:8: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcasecmp(ANSILangs[i], cp) == 0) ^ VIews.c:123:8: note: include the header or explicitly provide a declaration for 'strcasecmp' GSgopherobj.c:384:27: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (GopherObj *) malloc(sizeof(GopherObj)); ^ GSgopherobj.c:384:27: note: include the header or explicitly provide a declaration for 'malloc' VIews.c:136:25: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (VIewobj *) malloc(sizeof(VIewobj)); ^ VIews.c:136:25: note: include the header or explicitly provide a declaration for 'malloc' VIews.c:169:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(vi); ^ GSgopherobj.c:438:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(gs); ^ VIews.c:195:6: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(tmpstr, VIgetType(vi)); ^ VIews.c:195:6: note: include the header or explicitly provide a declaration for 'strcat' GSgopherobj.c:455:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(gs->gplus); ^ GDgopherdir.cVIews.c:198:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] :230:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] free(gd); ^ if (strlen(line) >= 200) ^ VIews.c:230:10: note: include the header or explicitly provide a declaration for 'strlen' GSgopherobj.c:589:27: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if ((cp != NULL) && (strncmp(cp, "gopher://", 9) == 0)) { ^ GSgopherobj.c:589:27: note: include the header or explicitly provide a declaration for 'strncmp' GSgopherobj.c:592:13: warning: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!(strncasecmp(VIgetType(GSgetView(gs,views)), ^ GSgopherobj.c:592:13: note: include the header or explicitly provide a declaration for 'strncasecmp' VIews.cGSgopherobj.c:260:11: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] :595:10: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration] cp = strchr(line,'<'); ^ cp = strdup(cp); ^ VIews.c:260:11: note: include the header or explicitly provide a declaration for 'strchr' GSgopherobj.c:595:10: note: include the header or explicitly provide a declaration for 'strdup' GSgopherobj.c:598:11: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] cp2 = strchr(cp+10, '/'); ^ GSgopherobj.c:598:11: note: include the header or explicitly provide a declaration for 'strchr' GSgopherobj.c:604:14: warning: implicitly declaring library function 'strstr' with type 'char *(const char *, const char *)' [-Wimplicit-function-declaration] cp2 = strstr(cp2, "%20"); ^ GSgopherobj.c:604:14: note: include the header or explicitly provide a declaration for 'strstr' VIews.c:283:6: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(line, VIgetType(vi)); ^ VIews.c:283:6: noteGDgopherdir.c:276:11: warning: implicit declaration of function 'strcoll' is invalid in C99 [-Wimplicit-function-declaration] : include the header or explicitly provide a declaration for 'strcpy' return(strcoll(GSgetTitle(*gs1), GSgetTitle(*gs2))); ^ In file included from Sockets.c:108: 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] clang -O2 -O2 -I.. -I. -I.. -c compatible.c #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 Sockets.c:108: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ Sockets.c:125:51: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] GSgopherobj.c:655:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] perror("server: can't turn off linger sockopt"),exit(-1); ^ strcpy(url, path); ^ Sockets.c:125:51: note: include the header or explicitly provide a declaration for 'exit' GSgopherobj.c:655:4: note: include the header or explicitly provide a declaration for 'strcpy' GDgopherdir.c:378:10: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(inputline, "INFO")!=0) { ^ GDgopherdir.c:378:10: note: include the header or explicitly provide a declaration for 'strcmp' 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' GDgopherdir.c:456:15: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] ((cp2 = strchr(cp1, '\n')) != NULL)) { ^ GDgopherdir.c:456:15: note: include the header or explicitly provide a declaration for 'strchr' GSgopherobj.c:745:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(Askmoo[i++]); ^ GSgopherobj.c:747:4:Sockets.c:201:23: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if ( hp!=NULL && strlen(hp->h_name) > strlen(DNSname) ) free(Askmoo); ^ ^ Sockets.c:201:23: note: include the header or explicitly provide a declaration for 'strlen' Sockets.c:202:4: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy( DNSname, hp->h_name, MAXHOSTNAMELEN ); ^ Sockets.c:202:4: note: include the header or explicitly provide a declaration for 'strncpy' 13 warnings generated. GDgopherdir.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' 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' GSgopherobj.c:959:13: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(BLgetName(bl), "NOHTML") == 0) ^ 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)); ^ Sockets.c:468:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(ipnum, inet_ntoa(sa.sin_addr)); ^ Sockets.c:468:4: note: include the header or explicitly provide a declaration for 'strcpy' 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); ^ 9 warnings generated. 9 warnings generated. 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 18 warnings generated. 10 warnings generated. clang -O2 -O2 -I.. -I. -I.. -c fileio.c 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: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] note: include the header or explicitly provide a declaration for 'strchr' #include ^~~~~~~~~~ compatible.c:501:18: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] p->pw_uid = atoi(cp2); ^ 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] #include ^~~~~~~~~~ clang -O2 -O2 -I.. -I. -I.. -c RBTree.c 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 ^~~~~~~~~ 7 warnings generated. ./regex.h:171:2: warning: REGEX_POSIX defined but REG_EXTENDED not found. [-W#warnings] #warning REGEX_POSIX defined but REG_EXTENDED not found. ^ 12 warnings generated. In file included from Regex.c:55: 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 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] In file included from #include 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 fileio.c:160: In file included from ./fileio.h:78: ./STRstring.hRegex.c::62:1: error: unknown type name 'regex_t' regex_t preg; ^ 76:10: warning: Regex.c:67:5: warning: implicit declaration of function 'regfree' is invalid in C99 [-Wimplicit-function-declaration] regfree(&preg); ^ non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] Regex.c#include ^~~~~~~~~~ :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. ./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 ^~~~~~~~~~ gmake[1]: *** [Makefile:33: Regex.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... 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 ^~~~~~~~~~ url.c: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:11: warning: implicitly declaring library function 'strstr' with type 'char *(const char *, const char *)' [-Wimplicit-function-declaration] cp = strstr(urlcp, "://"); /* skip over servicetype + "://" */ ^ 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: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 ^~~~~~~~~~ ./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); ^ 17 warnings generated. 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