=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for dpbox-6.00.00nb3 gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c filesys.c gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c box.c gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c box_mem.c gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c box_send.c gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c box_sf.c gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c box_sub.c gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c box_sys.c gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c boxdbox.c clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] In file included from box_mem.c:13: In file included from ./boxlocal.h:6: In file included from ./pastrix.h:71: ./filesys.h:148:46: error: unknown type name 'DTA' In file included from box_sub.c:47: In file included from ./main.h:10: In file included from ./pastrix.h:71: ./filesys.h:148:46: error: unknown type name 'DTA'extern short sffirst(char *pfad, short attr, DTA *dirr); ^ In file included from box_send.c:13: extern short sffirst(char *pfad, short attr, DTA *dirr); ^ In file included from ./box_send.h:5: In file included from ./pastrix.h./filesys.h:149:21: error: unknown type name 'DTA' ./filesys.hextern short sfnext(DTA *dirr);In file included from :box.c:14: In file included from ./main.h:10: In file included from ./pastrix.h:71: ./filesys.h:148:46: error: unknown type name 'DTA' 71: ./filesys.h:148:46: error: unknown type name 'DTA' :149:extern short sffirst(char *pfad, short attr, DTA *dirr); ^ 21: error: unknown type name 'DTA' extern short sfnext(DTA *dirr); ^ ^ extern short sffirst(char *pfad, short attr, DTA *dirr); ^ ./filesys.h:149:21: error: unknown type name 'DTA' extern short sfnext(DTA *dirr); ^ ./filesys.h:149:21: error: unknown type name 'DTA' extern short sfnext(DTA *dirr); ^ ./filesys.h:180:26: error: unknown type name 'time_t'; did you mean 'size_t'? In file included from ./filesys.h:180:26: error: ./filesys.h:180:26: error: unknown type name 'time_t'; did you mean 'size_t'?box_sf.c:./filesys.hunknown type name 'time_t'; did you mean 'size_t'? extern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */ ^~~~~~ extern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */14:In file included from filesys.c:extern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */ size_t11 180 : :26 ^~~~~~ : : size_t In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.herror: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h: ^~~~~~ ./main.hunknown type name 'time_t'; did you mean 'size_t'?31:./filesys.h :148:31:32::4632 extern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */ In file included from :box_sys.c size_t10: :: error ^~~~~~ :15In file included from ./pastrix.hnote: size_t: 'size_t' declared here:: In file included from noteunknown type name 'DTA'./box_sys.h/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h : 71:: :'size_t' declared here5extern short sffirst(char *pfad, short attr, DTA *dirr);: : ./filesys.h:148typedef __darwin_size_t size_t;31 31 ^typedef __darwin_size_t size_t;In file included from ./pastrix.h : 46 ^ :::32: : ^./filesys.h: 149 note:21: errorerror: unknown type name 'DTA': 32: note: 71unknown type name 'DTA': ./filesys.h:148:46: 'size_t' declared here extern short sffirst(char *pfad, short attr, DTA *dirr);error : typedef __darwin_size_t size_t; ^ : 'size_t' declared here extern short sfnext(DTA *dirr); ^ ^ unknown type name 'DTA' typedef __darwin_size_t size_t; ^ extern short sffirst(char *pfad, short attr, DTA *dirr); ^ ./filesys.h:149:21: error: unknown type name 'DTA' extern short sfnext(DTA *dirr); ^ ./filesys.h:149:21: error: unknown type name 'DTA' extern short sfnext(DTA *dirr); ^ ./filesys.h:180:26: error: unknown type name 'time_t'; did you mean 'size_t'? extern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */ ^~~~~~ size_t ./filesys.h/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here :180:26: error: unknown type name 'time_t'; did you mean 'size_t'? extern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */ ^~~~~~ size_t /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h:31:32:typedef __darwin_size_t size_t; note: 'size_t' declared here ^ typedef __darwin_size_t size_t; ^ box_mem.c:296:27: error: use of undeclared identifier 'FO_READ' k = sfopen(msgidlog, FO_READ); ^ box_sub.c:457:22: error: use of undeclared identifier 'FO_READ' k = sfopen(boxlog, FO_READ); ^ box_sub.c:458:11: error: use of undeclared identifier 'minhandle' if (k < minhandle) ^ box_mem.c:297:14: error: use of undeclared identifier 'minhandle' if (k >= minhandle) { ^box_sub.c:524:22: error: use of undeclared identifier 'FO_READ' k = sfopen(boxlog, FO_READ); ^ box_send.c:39:12: error: use of undeclared identifier 'nohandle' return nohandle; ^ box_sub.c:525:11: error: use of undeclared identifier 'minhandle' if (k < minhandle) { ^ box_send.c:73:28: error: use of undeclared identifier 'SFSEEKEND' size = sfseek(0, *kanal, SFSEEKEND); ^ box_mem.c:355:23: error: use of undeclared identifier 'FO_READ' k = sfopen(msgidlog, FO_READ); ^ box_sf.c:197:5: warning: 'snprintf' will always overflow; destination buffer has size 81, but size argument is 255 [-Wbuiltin-memcpy-chk-size]box_send.c:74:21: error: use of undeclared identifier 'SFSEEKSET' sfseek(0, *kanal, SFSEEKSET); ^ box.c:510:3: error: use of undeclared identifier 'extsep' idxfname(STR1, brett); ^ ./filesys.h:199:76: note: expanded from macro 'idxfname' snprintf(user[unr]->fbbprop[x].line, 255, "%s P %s %s %s %s 1000",#define idxfname(fname, board) sprintf(fname, "%s%s%c%s", indexdir, board, extsep, EXT_IDX) ^ box_send.c ^ :115:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: crcthp_buf(puffer, psize, &crc); ^~~~~~ note: expanded from macro 'snprintf' ./crc.h:box.c23: __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)39: note filesys.c:: passing argument to parameter 'adr' here 800:3: error: use of undeclared identifier 'DTA' :extern void crcthp_buf(unsigned char *adr, long size, unsigned short *crc); ^ 516 ^:box_mem.c: DTA dirinfo;box_send.c: ^124356:25: 13:box_sub.c error:72611: error: use of undeclared identifier 'minhandle' : :use of undeclared identifier 'FO_READ' if (k >= minhandle) {:22: error: use of undeclared identifier 'FO_READ' warning ^ : k = sfopen(boxlog, FO_READ);passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] k = open_index(brett, FO_READ, true, true); ^ box_sf.c: crcthp_buf(puffer, ct, &crc);240 ^: ^~~~~~ 27: error: use of undeclared identifier 'FO_READ'filesys.c ./crc.h: k = sfopen(resume_inf, FO_READ); ^ 803:23box_mem.c:39: note:358:28: :30:box_sub.c: passing argument to parameter 'adr' hereerror: :727: box.c:11: error: 517error: use of undeclared identifier 'minhandle' use of undeclared identifier 'SFSEEKSET'extern void crcthp_buf(unsigned char *adr, long size, unsigned short *crc); box_sf.c:241:11:11use of undeclared identifier 'dirinfo': ^ if (k < minhandle): error: use of undeclared identifier 'minhandle' result = sffirst(name, 0, &dirinfo); sfseek(p1->offset, k, SFSEEKSET); ^ error: use of undeclared identifier 'minhandle' if (k < minhandle) if (k < minhandle) ^ ^ ^ ^ box_sub.c:792:22: error: use of undeclared identifier 'FO_READ' filesys.c k = sfopen(boxlog, FO_READ);box_send.c:806:33: error: use of undeclared identifier 'dirinfo' : sprintf(STR1, "%s%s", name, dirinfo.d_fname);141 ^ : ^ 23: error: box_mem.c:387box_sys.c:25: use of undeclared identifier 'SFSEEKSET':116error:52: use of undeclared identifier 'FO_RW': box.cerror:: 582 sfseek(0, *kanal, SFSEEKSET); ^:filesys.c:box_sub.c k = sfopen(msgidlog, FO_RW);25use of undeclared identifier 'extsep' :808: snprintf(base, 255, "%sdigimap%cstn", boxsysdir, extsep); ^ box_sf.cerror ^ :270:29: :: 793:11: error: use of undeclared identifier 'minhandle'22 :error : erroruse of undeclared identifier 'FC_FILE': use of undeclared identifier 'FO_RW'box_mem.c if (k < minhandle) ^ k = sfcreate(resume_inf, FC_FILE);use of undeclared identifier 'dirinfo' log = sfopen(boxlog, FO_RW); : result = sfnext(&dirinfo); box_sys.c ^: 388:11:box_send.c :288 ^158:31: error: use of undeclared identifier 'minhandle' 45: box_sub.c:797:24error ^: error: : use of undeclared identifier 'extsep': erroruse of undeclared identifier 'minhandle' : box.c if (k < minhandle)use of undeclared identifier 'SFSEEKEND' ^ end = sfseek(0, k, SFSEEKEND) / sizeof(boxlogstruct); ^ :586 sprintf(hs, "%sprefix%cinf", boxsysdir, extsep); ^ invalid = (WITH->sendchan < minhandle); ^ box_sf.c:271:11: error: use of undeclared identifier 'minhandle' :14 if (k < minhandle) ^ box_sub.c:800:filesys.c::826:12: error: use of undeclared identifier 'minhandle' if (k2 < minhandle) ^ error: use of undeclared identifier 'minhandle' 24: box_mem.c:389:29: if (log >= minhandle && lastlog > 0) {error: use of undeclared identifier 'FC_FILE' error: use of undeclared identifier 'SFSEEKSET' ^ if (sfseek(seekp, k, SFSEEKSET) != seekp) { ^ k = sfcreate(msgidlog, FC_FILE); ^ box_send.c :filesys.c:828:22: error: use of undeclared identifier 'FO_READ' k1 = sfopen(filea, FO_READ); ^ 362:22: error: box_sf.cuse of undeclared identifier 'nohandle' :431:17:box_mem.c warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] : WITH->sendchan = nohandle; 390:11: error: use of undeclared identifier 'minhandle' checksum8_buf(puffer, blen, chksum); if (k < minhandle) ^ ^~~~~~ ^ ./crc.h:28filesys.c:829::42: note: passing argument to parameter 'adr' here box.cextern void checksum8_buf(unsigned char *adr, long size, unsigned short *crc); ^ 12: box_sys.cerror:603:29: errorbox_sf.c: :use of undeclared identifier 'SFSEEKSET'438:14: :box_mem.c ::warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 754use of undeclared identifier 'minhandle' box_sub.c:809:24: crcfbb_buf(puffer, blen, bcrc);397: :box_send.c:472:25 if (k1 < minhandle) if (sfseek(seekpos, log, SFSEEKSET) != seekpos): error: ^~~~~~ ^ error: 27 ^ 43use of undeclared identifier 'SFSEEKCUR': error: : seekp = sfseek(0, k, SFSEEKCUR); ^ ./crc.h:24:39: note: passing argument to parameter 'adr' here use of undeclared identifier 'SFSEEKSET' extern void crcfbb_buf(unsigned char *adr, long size, unsigned short *crc); ^box.c:615:errorfilesys.c:831use of undeclared identifier 'extsep': 4: if (sfseek(seek, k, SFSEEKSET) != seek) {: error: use of undeclared identifier 'extsep'use of undeclared identifier 'extsep'box_sf.c newmaildir, WITH->call, extsep, strcpy(STR7, sname)); 25 :497 ^ :: sprintf(hs, "%s%s%cpwd", boxsfdir, w, extsep); ^ idxfname(hs, logptr->brett); ^ 16: error: use of undeclared identifier 'SFSEEKEND' clang: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^box_send.c:475 fsize = sfseek(0, k1, SFSEEKEND);./filesys.hbox_mem.c:: warning crcfbb_buf(puffer, size, &sf_crc); ^27: ^~~~~~box_sub.c: 1304: :45:199:76399box_sys.c:33 :./crc.h :: error:850: note:error: use of undeclared identifier 'SFSEEKEND' use of undeclared identifier 'extsep':filesys.c: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument]expanded from macro 'idxfname'72: bullidseek = sfseek(0, k, SFSEEKEND) / sizeof(bidtype); error : use of undeclared identifier 'extsep'error: newmaildir, WITH->call, extsep, strcpy(STR1, sname)); 24 832 ^ : ^: use of undeclared identifier 'extsep'39: : sprintf(arg, "%sboxlog%d%cbox -a -TN 1500", boxprotodir, clock_.mon, extsep);17 box_send.c note : error: #define idxfname(fname, board) sprintf(fname, "%s%s%c%s", indexdir, board, extsep, EXT_IDX) ^: sprintf(STR1, "%sproto%clst", boxstatdir, extsep); passing argument to parameter 'adr' here :479 ^ extern void crcfbb_buf(unsigned char *adr, long size, unsigned short *crc); ^box_mem.c:405:25: 27use of undeclared identifier 'SFSEEKSET' :box_sys.c box.c: ^ errorerror: use of undeclared identifier 'extsep' sfseek(0, k1, SFSEEKSET); newmaildir, WITH->call, extsep, strcpy(STR7, sname)); ^: ^ :870box_sf.c:: box_sub.c:9511::16 use of undeclared identifier 'SFSEEKSET'616 : if (sfseek(seek, k, SFSEEKSET) != seek) { 23 ^ 1305:20: error: use of undeclared identifier 'FO_READ' :: warning errorbox_send.c: filesys.c:: warning k = sfopen(STR1, FO_READ);:box_mem.c: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ : use of undeclared identifier 'FO_RW'845 crcthp_buf(puffer, size, &sf_crc); ::22482 407 list = sfopen(hs, FO_RW);:: error27 ^~~~~~ ^ :: 33./crc.h: errorresult of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]: use of undeclared identifier 'SFSEEKSET': error: use of undeclared identifier 'extsep'use of undeclared identifier 'SFSEEKEND' : newmaildir, WITH->call, extsep, strcpy(STR1, sname)); 23:39: bullidseek = sfseek(0, k, SFSEEKEND) / sizeof(bidtype); ^ ^box.c: if (compare(call, "PATH")) show_u_path(unr);box_sub.c sfseek(ab, k1, SFSEEKSET); note: passing argument to parameter 'adr' here : ^ ~~~~~~extern void crcthp_buf(unsigned char *adr, long size, unsigned short *crc); box_mem.c ^ 6171306::16 ^ ./tools.h:box_send.cfilesys.c: 113error: :487::11:427use of undeclared identifier 'minhandle' 48::891::20: 24::27 error if (list >= minhandle) { ^: use of undeclared identifier 'extsep' error: use of undeclared identifier 'minhandle' note if (k < minhandle) ^: box_sf.c: newmaildir, extsep, strcpy(STR1, sname)); 659error: :30: ^ use of undeclared identifier 'FO_RW' error: use of undeclared identifier 'FO_READ' : warning : box_sub.cpassing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign]:1323:expanded from macro 'compare' *k = sfopen(msgidlog, FO_RW); ^ fhandle = sfopen(tempname, FO_READ);47: error : use of undeclared identifier 'extsep' #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ sprintf(STR1, "%sproto%clst", boxstatdir, extsep);box_send.c: sfgetdatime(filea, &ddate, &dtime); 490: ^~~~~~ ^ ~~~ ^ ./filesys.h:box.c:680:27: error: use of undeclared identifier 'FO_READ' box_sys.c: k = sfopen(temperase, FO_READ); ^ 871:box_sub.c9:1327:45144:: 54:20: box_mem.c noteerror: :: 428error: use of undeclared identifier 'extsep' :12:box_sf.c: box.c:passing argument to parameter 'date' here 661warning sprintf(STR1, "%sproto%clst", boxstatdir, extsep);extern short sfgetdatime(char *name, unsigned short *date,::68117:: ^use of undeclared identifier 'extsep' : ^ error: newmaildir, extsep, strcpy(STR1, sname));use of undeclared identifier 'minhandle'; did you mean 'fhandle'? filesys.c12 if (fhandle < minhandle) ^~~~~~~~~result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]:errorfatal error fhandle if (compare(call, "ALL")) show_u_all(unr);: : too many errors emitted, stopping now [-ferror-limit=]error: : use of undeclared identifier 'minhandle' ^ ~~~~~ ^ box_sf.cuse of undeclared identifier 'minhandle':620 891 :32 : :warning22: if (k >= minhandle) { if (*k < minhandle) note./tools.h: : 113 ^:48: : 'fhandle' declared herenote: ^ passing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign]expanded from macro 'compare' box_send.c:493:36: error: use of undeclared identifier 'FC_FILE' #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ ~~~ sfgetdatime(filea, &ddate, &dtime); ^~~~~~ box_mem.c:430 short x, FORLIM, fhandle;./filesys.h:145:21: note: passing argument to parameter 'time' here :18: WITH->sendchan = sfcreate(sname, FC_FILE); unsigned short *time); ^ ^ ^ error: use of undeclared identifier 'SFSEEKSET' box.cbox_sys.c:913: sfseek(at, *k, SFSEEKSET);46: error: use of undeclared identifier 'extsep' :682: 27filesys.c: error sprintf(hs, "%s%s%cpwd", boxsfdir, STR1, extsep);box_sf.c:661: ^ ^ :15:use of undeclared identifier 'SFSEEKSET' :895:22: error: use of undeclared identifier 'FO_READ' if (sfseek(*seekp, k, SFSEEKSET) == *seekp) { ^ k1 = sfopen(filea, FO_READ); ^ box_send.c:494:24 warning: self-comparison always evaluates to false [-Wtautological-compare] box_sys.cfatal error: too many errors emitted, stopping now [-ferror-limit=] if (fhandle < minhandle) ^ : error: use of undeclared identifier 'minhandle'; did you mean 'handle'? :968 if (WITH->sendchan < minhandle) { ^~~~~~~~~ handle :22: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] box_send.c:433:12: note sprintf(w, "%d", strlen(ufil.password));: box.c:755:3: error: use of undeclared identifier 'extsep' 'handle' declared here idxfname(fname, brett); short k, handle; ^ ^ ~~ ^~~~~~~~~~~~~~~~~~~~~ %lu ./filesys.h/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47filesys.c:896box_sf.c:199:76: note: expanded from macro 'idxfname' :12: #define idxfname(fname, board) sprintf(fname, "%s%s%c%s", indexdir, board, extsep, EXT_IDX) ^ error: use of undeclared identifier 'minhandle':708:30: error: if (k1 < minhandle) ^ box_send.c:495:22: error: use of undeclared identifier 'nohandle'; did you mean 'handle'? 20 errors generated. WITH->sendchan = nohandle; ^~~~~~~~ handle box.c::761:11: filesys.c:899:error25: error56: use of undeclared identifier 'SFSEEKEND' : box_send.c:433use of undeclared identifier 'FO_READ':12: fsize = sfseek(0, k1, SFSEEKEND);: note use of undeclared identifier 'nohandle' fhandle = sfopen(tempname, FO_READ); list = nohandle; ^ ^ : expanded from macro 'sprintf' ^ note: 'handle' declared here short k, handle; ^ __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ box_sf.c:710:17: error: use of undeclared identifier 'minhandle'; did you mean 'fhandle'? if (fhandle < minhandle) ^~~~~~~~~ fhandle box_sf.c:620:22: note: 'fhandle' declared here short x, FORLIM, fhandle; ^ box_sf.c:710:15: warning: self-comparison always evaluates to false [-Wtautological-compare] if (fhandle < minhandle) ^ box.c:763:29: error: use of undeclared identifier 'FO_RW' gmake: *** [Makefile.netbsd:76: box_mem.o] Error 1 list = open_index(brett, FO_RW, true, true); ^ gmake: *** Waiting for unfinished jobs.... box_sf.c:713:27: error: use of undeclared identifier 'SFSEEKSET' sfseek(offset, fhandle, SFSEEKSET); ^ box_sys.c:1012:20: error: use of undeclared identifier 'FO_READ' ih = sfopen(ifn, FO_READ); ^ filesys.c:900:17: error: use of undeclared identifier 'SFSEEKSET' sfseek(0, k1, SFSEEKSET); ^ box_send.c:510:12: error: use of undeclared identifier 'nohandle' box_sys.c:1013:12 handle = nohandle; ^box_sf.c: error: use of undeclared identifier 'minhandle' if (ih < minhandle) { ^ :842:3: error: use of undeclared identifier 'extsep' box.cIn file included from boxdbox.c:13: In file included from : idxfname(index, brett); ^ ./main.h:10: In file included from ./pastrix.h:filesys.c:939:29./filesys.h:: error: use of undeclared identifier 'SFSEEKSET'199 71765:14:: error: use of undeclared identifier 'minhandle' : err = sfseek(start, k1, SFSEEKSET); ^ ./filesys.h:148:46: error: unknown type name 'DTA' 76: note: expanded from macro 'idxfname' if (list < minhandle) ^ #define idxfname(fname, board) sprintf(fname, "%s%s%c%s", indexdir, board, extsep, EXT_IDX) ^ extern short sffirst(char *pfad, short attr, DTA *dirr); filesys.c:943 ^ box_sys.cfatal error: too many errors emitted, stopping now [-ferror-limit=] :1238:42: error: :26: error: use of undeclared identifier 'FC_FILE' ./filesys.h:149:use of undeclared identifier 'extsep'box_sf.c21:848:25 k2 = sfcreate(fileb, FC_FILE);fatal error: : too many errors emitted, stopping now [-ferror-limit=] : sprintf(hs, "%s%s%cpwd", boxsfdir, par, extsep); ^ error: use of undeclared identifier 'FO_RW' ^ list = sfopen(index, FO_RW); ^ error: unknown type name 'DTA' extern short sfnext(DTA *dirr); ^ filesys.c:944:15: error: use of undeclared identifier 'minhandle' if (k2 >= minhandle) { ^ filesys.c:969:24: warning: passing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign] sfsetdatime(fileb, &ddate, &dtime); ^~~~~~ ./filesys.h:146:54: note: passing argument to parameter 'date' here extern short sfsetdatime(char *name, unsigned short *date, ^ filesys.c:969:32: warning: passing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign] sfsetdatime(fileb, &ddate, &dtime); ^~~~~~ ./filesys.h:147:21: note: passing argument to parameter 'time' here unsigned short *time); ^ 20 errors generated. fatal error: too many errors emitted, stopping now [-ferror-limit=] ./filesys.h:180:26: error: unknown type name 'time_t'; did you mean 'size_t'? box_sf.c:849:15: error: use of undeclared identifier 'minhandle' extern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */ ^~~~~~ size_t if (list >= minhandle) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h2:31:32: note: 'size_t' declared here warnings and 20 errors generated. typedef __darwin_size_t size_t; ^ gmake: *** [Makefile.netbsd:76: box_sub.o] Error 1 4 warnings and 20 errors generated. box_sf.c:870:31: error: use of undeclared identifier 'FO_RW' list = sfopen(index, FO_RW); ^ box_sys.c:1840:45: error: use of undeclared identifier 'extsep' sprintf(hs, "%sctext%cnew", boxstatdir, extsep); ^ box_sys.c:1862:43: error: use of undeclared identifier 'extsep' sprintf(hs, "%sctext%cnew", boxstatdir, extsep); ^ gmake: *** [Makefile.netbsd:76: filesys.o] Error 1 box_sys.c:1879:45: error: use of undeclared identifier 'extsep' sprintf(STR1, "%sctext%cnew", boxstatdir, extsep); ^ box_sf.c:973:46: error: use of undeclared identifier 'extsep' sprintf(hs, "%simport%c001", newmaildir, extsep); ^ box_sys.c:1880:22: error: use of undeclared identifier 'FC_FILE' k = sfcreate(STR1, FC_FILE); ^ box_sf.c:975:23: error: use of undeclared identifier 'FC_FILE' k = sfcreate(hs, FC_FILE); ^ box_sys.c:1881:12: error: use of undeclared identifier 'minhandle' if (k >= minhandle) { ^ box_sf.c:976:14: error: use of undeclared identifier 'minhandle' if (k >= minhandle) { ^ gmake: *** [Makefile.netbsd:76: box_send.o] Error 1 box_sys.c:2020:61: error: use of undeclared identifier 'extsep' sprintf(STR1, "%s%s%cMSG", boxstatdir, user[unr]->call, extsep); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] boxdbox.c:47:47: error: use of undeclared identifier 'extsep' sprintf(STR1, "%sdiebox%cimp", boxprotodir, extsep); ^ boxdbox.c:58:47: error: use of undeclared identifier 'extsep' sprintf(STR1, "%sdiebox%cimp", boxprotodir, extsep); ^ box_sys.c:2312:39: error: use of undeclared identifier 'extsep' sprintf(ofi, "%sout%s%ctrn", rd, w, extsep); ^ boxdbox.c:168:3: error: use of undeclared identifier 'DTA' DTA dirinfo; ^ boxdbox.c:192:23: error: use of undeclared identifier 'FC_FILE' flh = sfcreate(fmn, FC_FILE); ^ box_sys.c:2446:28: error: use of undeclared identifier 'minhandle' if (WITH->yapp->filefd < minhandle) { ^ boxdbox.c:193:14: error: use of undeclared identifier 'minhandle' if (flh >= minhandle) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] boxdbox.c:195:34: error: use of undeclared identifier 'allquant' sprintf(STR1, "%s%c%c%c", p, allquant, extsep, allquant); ^ boxdbox.c:195:44: error: use of undeclared identifier 'extsep' sprintf(STR1, "%s%c%c%c", p, allquant, extsep, allquant); ^ boxdbox.c:195:52: error: use of undeclared identifier 'allquant' sprintf(STR1, "%s%c%c%c", p, allquant, extsep, allquant); ^ boxdbox.c:196:33: error: use of undeclared identifier 'dirinfo'; did you mean 'dprintf'? result = sffirst(STR1, 16, &dirinfo); ^~~~~~~ dprintf /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:352:5: note: 'dprintf' declared here int dprintf(int, const char * __restrict, ...) __printflike(2, 3) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); ^ boxdbox.c:198:22: error: use of undeclared identifier 'dirinfo' str2file(&flh, dirinfo.d_fname, true); ^ boxdbox.c:199:24: error: use of undeclared identifier 'dirinfo'; did you mean 'dprintf'? result = sfnext(&dirinfo); ^~~~~~~ dprintf /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:352:5: note: 'dprintf' declared here int dprintf(int, const char * __restrict, ...) __printflike(2, 3) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); ^ boxdbox.c:205:23: error: use of undeclared identifier 'FO_READ' flh = sfopen(fmn, FO_READ); ^ boxdbox.c:206:16: error: use of undeclared identifier 'minhandle' if (flh >= minhandle) { ^ boxdbox.c:215:48: error: use of undeclared identifier 'dirsep'; did you mean 'strsep'? sprintf(prot, "%s%s%cprotfile.dat", p, board, dirsep); ^~~~~~ strsep /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:165:7: note: 'strsep' declared here char *strsep(char **__stringp, const char *__delim); ^ boxdbox.c:215:48: warning: format specifies type 'int' but the argument has type 'char *(*)(char **, const char *)' [-Wformat] sprintf(prot, "%s%s%cprotfile.dat", p, board, dirsep); ~~ ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ boxdbox.c:217:20: error: use of undeclared identifier 'FO_READ' ph = sfopen(prot, FO_READ); ^ 3 warnings and 20 errors generated. boxdbox.c:218:12: error: use of undeclared identifier 'minhandle' if (ph >= minhandle) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] gmake: *** [Makefile.netbsd:76: box_sys.o] Error 1 1 warning and 20 errors generated. 20 errors generated. gmake: *** [Makefile.netbsd:76: boxdbox.o] Error 1 gmake: *** [Makefile.netbsd:76: box.o] Error 1 7 warnings and 20 errors generated. gmake: *** [Makefile.netbsd:76: box_sf.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/ham/dpbox *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/ham/dpbox