=> 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 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 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] #include ^~~~~~~~~~ In file included from STRstring.c:63: 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 ^~~~~~~~~~ In file included from Sockets.c:99: 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 ^~~~~~~~~~ ./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 STRstring.c:63: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ STRstring.c:74:24: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] 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] temp = (String *) malloc(sizeof(String)); ^ #include ^~~~~~~~~~ STRstring.c:74:24: note: include the header or explicitly provide a declaration for 'malloc' 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] In file included from #include ^~~~~~~~~~ VIews.c:72: In file included from ./VIews.h:97: STRstring.c:90:9: warning: In file included from implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]./BLblock.h:64: In file included from ./GSgopherobj.h:130: In file included from In file included from GDgopherdir.cBLblock.c::15779: In file included from ./GDgopherdir.h In file included from Sockets.c:In file included from 101: In file included from ./BLblock.h:./fileio.h52:: ./util.h:: 64./util.h:10: free(st->data); warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]80 : :64: ^10 : warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]#include ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] :# include ^~~~~~~~~~ 50: #include ^~~~~~~~~~ STRstring.c:143:10: warning: In file included from implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen(str)+1; /** Don't forget the '\0' **/ ^ ^~~~~~~~~~ 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] ./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 ^~~~~~~~~~ STRstring.c:143:10: note: include the header or explicitly provide a declaration for 'strlen' #include ^~~~~~~~~~ STRstring.c:157:20: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration]./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 ^~~~~~~~~~ temp = (char *) realloc(st->data, sizeof(char) * len); ^ 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' In file included from GSgopherobj.c:352: In file included from ./GSgopherobj.h:124: In file included from In file included from GDgopherdir.c:157: In file included from DAarray.c:51: In file included from ./Malloc.h:73: ./stdlib.hIn file included from :60:14: STRstring.c:191:./GDgopherdir.h6: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] warning strcat(temp, cp); ^ : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ./BLblock.h:STRstring.cIn file included from :# include VIews.c191In file included from 52:50 ^~~~~~~~~~ : util.c:73 :: ./util.h6In file included from ./GSgopherobj.h:137: ::64: ./util.h ::./Malloc.h124:79 :note10:: include the header or explicitly provide a declaration for 'strcat':64:: 10STRstring.c: warning: In file included from Sockets.c:non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]:warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 108: In file included from ./BLblock.h10:#include 195: ^~~~~~~~~~ In file included from ./Malloc.h:673:: ./stdlib.h::#include ^~~~~~~~~~60 :warning14: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] free(temp); ^ #include ^~~~~~~~~~ : warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 52# include ^~~~~~~~~~ : ./util.h:VIews.c:92:11:In file included from util.c:14064 warning: illegal character encoding in string literal [-Winvalid-source-encoding]: In file included from ./stdlib.hSTRstring.c:::74./fileio.h:78: ./stdlib.h10: : "Franais (Belgium)",warning: 214In file included from :non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 10:11 ^~~~#include ./STRstring.hVIews.cBLblock.c:79: ::76:74: 10: warning: ::non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]93In file included from :warning#include warning11: : : warningnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ^~~~~~~~~~./BLblock.h#include 10: ^~~~~~~~~~ : warning: : ^~~~~~~~~~ 64implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] return(strcmp(cp1, cp2));#include ^~~~~~~~~~ ^./stdlib.h./stdlib.hIn file included from : STRstring.cillegal character encoding in string literal [-Winvalid-source-encoding]./GSgopherobj.h "Franais (Canada)", ^~~~::214130: ./STRstring.h 79:11:80 :: 1079::VIews.c: 10:: warning:1094: warning: In file included from ./fileio.h:In file included from ::11non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 80#include : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]warning: ./stdlib.hnote warning: ^~~~~~~~~~#include ^~~~~~~~~~: : 60non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] :: include the header or explicitly provide a declaration for 'strcmp'GSgopherobj.c#include illegal character encoding in string literal [-Winvalid-source-encoding] "Franais (Suisse)", ^~~~~~~~~~: 352: In file included from ./GSgopherobj.h ^~~~:130: 14In file included from Sockets.c:In file included from ./fileio.hVIews.c:95::11108: warning : ./Malloc.h:80 :In file included from DAarray.c:5179: :illegal character encoding in string literal [-Winvalid-source-encoding] 10: :./Malloc.h:79 :10: "Franais",: ./stdlib.h: warningwarning: : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 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]60:14#include : warning : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ^~~~ ^~~~~~~~~~# include #include ^~~~~~~~~~ ^~~~~~~~~~ VIews.c:104:11: Sockets.cwarning:125:51: : warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] illegal character encoding in string literal [-Winvalid-source-encoding] "Espaol", ^~~~ # include ^~~~~~~~~~ perror("server: can't turn off linger sockopt"),exit(-1); ^ DAarray.c:74:25:In file included from util.c:140 Sockets.c:125:51:: In file included from VIews.cwarning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]./fileio.h:78: In file included from ./STRstring.h:80: ./stdlib.h:60In file included from GDgopherdir.cnote::157: In file included from ./GDgopherdir.h:123: :850:include the header or explicitly provide a declaration for 'exit' warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]: :14 if (strcasecmp(ANSILangs[i], cp) == 0) ^ :VIews.c:123:8: note: include the header or explicitly provide a declaration for 'strcasecmp' warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 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:# include Sockets.c : ^~~~~~~~~~./stdlib.h temp = (DynArray*) malloc(sizeof(DynArray));:74 VIews.c:: 10: 10: 201:warning: warning136: ^25 23:: non-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] : warning: #include implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] ^~~~~~~~~~ DAarray.c warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]:#include ^~~~~~~~~~ if ( hp!=NULL && strlen(hp->h_name) > strlen(DNSname) ) ^ ./stdlib.h:79 :10 temp = (VIewobj *) malloc(sizeof(VIewobj));74:25 Sockets.c:201:: notewarning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]: : ^include the header or explicitly provide a declaration for 'malloc' #include ^~~~~~~~~~ VIews.c:136:25: note: include the header or explicitly provide a declaration for 'malloc' 23./stdlib.h./stdlib.h: note: include the header or explicitly provide a declaration for 'strlen' :74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]./stdlib.hVIews.c:::7479:Sockets.c DAarray.c:#include 103:169: :10:2026 ^~~~~~~~~~:10: : : warning: 6 : warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]warning : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 4#include In file included from free(da->objects);BLblock.c:80: ^~~~~~~~~~ warning./stdlib.h:79./stdlib.hnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]: :10: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] ./Malloc.h ^ : warning: 79:: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration]warning free(vi);:79 ^ 10:#include : ^~~~~~~~~~10:DAarray.c:129non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]:23 strncpy( DNSname, hp->h_name, MAXHOSTNAMELEN );: warning : :VIews.cwarning : warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]implicitly declaring library function 'realloc' with type 'void *(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 = (char **) realloc(da->objects, size*sizeof(char*));#include #include Sockets.c195#include ^~~~~~~~~~ ^~~~~~~~~~ : :6 202 ^~~~~~~~~~ : ^ :4 warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]DAarray.c ::129 :23: note: include the header or explicitly provide a declaration for 'realloc' note: include the header or explicitly provide a declaration for 'strncpy' strcat(tmpstr, VIgetType(vi)); BLblock.c:92:26: warningIn file included from ^DAarray.cGSgopherobj.c::132:34 : VIews.c:195:6: note: include the header or explicitly provide a declaration for 'strcat' implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] : warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] 360: ./regex.h:144:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] temp = (Blockobj *) malloc(sizeof(Blockobj));In file included from util.cGDgopherdir.c:158: ./Malloc.h#include ^ ^~~~~~~~~ ::79 179: perror("Out of memory!!!\n"), exit(-1);10VIews.c:BLblock.c ^:30:./regex.h warning:230:10:: 92DAarray.c:: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]:warning :warning: 171132 : implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] :#include 26: perror("signal died:\n"), exit(-1); Sockets.c13 34 warning:implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] ^:468 : note: if (strlen(line) >= 200)note: ^~~~~~~~~~4: util.cwarning:s: 2 generated: . include the header or explicitly provide a declaration for 'malloc' ^: warning include the header or explicitly provide a declaration for 'exit' 179:: REGEX_POSIX defined but REG_EXTENDED not found. [-W#warnings] VIews.c:230:GDgopherdir.cimplicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]#warning REGEX_POSIX defined but REG_EXTENDED not found. :177:29: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] 10 ^ temp = (GopherDirObj*) malloc(sizeof(GopherDirObj));: ^note30: include the header or explicitly provide a declaration for 'strlen' : note: include the header or explicitly provide a declaration for 'exit' BLblock.cGDgopherdir.c: strcpy(ipnum, inet_ntoa(sa.sin_addr)); ^ VIews.c::177260:29::Sockets.c:468158In file included from GSgopherobj.c:364: ./Malloc.h:79::10:note : warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]include the header or explicitly provide a declaration for 'malloc': 4util.c:33811 6:15::#include warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] : ^~~~~~~~~~ cp = strchr(line,'<'); ^ warning: VIews.cimplicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] length = strlen(stringptr); : ^ note: :include the header or explicitly provide a declaration for 'strcpy'260 :11: note: include the header or explicitly provide a declaration for 'strchr' warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] GDgopherdir.c free(bl); ^ :198:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(gd); ^ util.c:338:15: note: include the header or explicitly provide a declaration for 'strlen' 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: note: include the header or explicitly provide a declaration for 'strcpy' clang -O2 -O2 -I.. -I. -I.. -c compatible.c GDgopherdir.c:276:11: warningGSgopherobj.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' : util.c:480:29implicit declaration of function 'strcoll' is invalid in C99 [-Wimplicit-function-declaration] return(strcoll(GSgetTitle(*gs1), GSgetTitle(*gs2))); ^ : 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:438:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(gs); ^ GSgopherobj.c:455:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(gs->gplus); ^ 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: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' GSgopherobj.c:595:10: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration] cp = strdup(cp); ^ 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' BLblock.c:449:8: GDgopherdir.c:456:15: GSgopherobj.c:655:4: warningwarning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] warning: strcpy(url, path); ^ implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] : implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] if (strcmp(BLgetName(BLAgetEntry(bla,i)), bname)==0) ^ GSgopherobj.c:655:4: note: include the header or explicitly provide a declaration for 'strcpy' ((cp2 = strchr(cp1, '\n')) != NULL)) { ^ GDgopherdir.c:456:15: note: include the header or explicitly provide a declaration for 'strchr' 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' BLblock.c:449:8: note: include the header or explicitly provide a declaration for 'strcmp' GSgopherobj.c:745:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(Askmoo[i++]); ^ GSgopherobj.cGDgopherdir.c:562:16: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] :747:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if ((int) strlen(text) <= 1) free(Askmoo); ^ ^ 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' 9 warnings generated. 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' 10 warnings generated. 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)); ^ 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); ^ 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 url.c 18 warnings generated. clang -O2 -O2 -I.. -I. -I.. -c Debug.c clang -O2 -O2 -I.. -I. -I.. -c Regex.c 9 warnings generated. 9 warnings generated. 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 fileio.c clang -O2 -O2 -I.. -I. -I.. -DLOCALEDIR=\"/opt/pkg/etc/gopher/gophernls\" -c ./Locale.c 7 warnings generated. 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 ^~~~~~~~~~ 12 warnings generated. 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 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 ^~~~~~~~~~ ./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 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 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] #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. 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 ^~~~~~~~~~ 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 ^~~~~~~~~~ 17 warnings generated. 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); ^ 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