=> 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 filesys.c:11: ./filesys.h:148:46: error: unknown type name 'DTA' extern short sffirst(char *pfad, short attr, DTA *dirr); ^ ./filesys.h:149:21: error: unknown type name 'DTA' extern short sfnext(DTA *dirr); ^ In file included from box_sys.c:15: In file included from ./box_sys.h:5: 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); ^ ./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 /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here typedef __darwin_size_t size_t; ^ 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' 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: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 /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here typedef __darwin_size_t size_t; ^ In file included from box_send.c:13: In file included from ./box_send.h:5: 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.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' 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: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 /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here typedef __darwin_size_t size_t; ^ ./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 /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here typedef __darwin_size_t size_t; ^ box_sys.c:116:52: error: use of undeclared identifier 'extsep' snprintf(base, 255, "%sdigimap%cstn", boxsysdir, extsep); ^ clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] box_sys.c:158:45: error: use of undeclared identifier 'extsep' sprintf(hs, "%sprefix%cinf", boxsysdir, extsep); ^ 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); ^ ./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 /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here typedef __darwin_size_t size_t; ^ box_send.c:39:12: error: use of undeclared identifier 'nohandle' box_sys.c:754:43: error return nohandle; ^ : use of undeclared identifier 'extsep' filesys.c:800:3: error: use of undeclared identifier 'DTA' DTA dirinfo; ^ filesys.c:803:30: error: use of undeclared identifier 'dirinfo' result = sffirst(name, 0, &dirinfo); ^ box_send.c:73:28: error: use of undeclared identifier 'SFSEEKEND' size = sfseek(0, *kanal, SFSEEKEND); ^ sprintf(hs, "%s%s%cpwd", boxsfdir, w, extsep); ^ filesys.c:806:33: error: use of undeclared identifier 'dirinfo' box_send.c:74:21: error: use of undeclared identifier 'SFSEEKSET' sprintf(STR1, "%s%s", name, dirinfo.d_fname); ^ sfseek(0, *kanal, SFSEEKSET); ^ box_mem.c:296:27: error: use of undeclared identifier 'FO_READ' k = sfopen(msgidlog, FO_READ); ^ box_send.c:115box_mem.c:297:14: error: use of undeclared identifier 'minhandle':18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] crcthp_buf(puffer, psize, &crc); ^~~~~~ ./crc.h:23 if (k >= minhandle) { ^filesys.c:808:22: error: use of undeclared identifier 'dirinfo' result = sfnext(&dirinfo); ^ box_sys.c:850:72: error: use of undeclared identifier 'extsep' sprintf(arg, "%sboxlog%d%cbox -a -TN 1500", boxprotodir, clock_.mon, extsep); ^ box_sub.c:457:22: error: use of undeclared identifier 'FO_READ' k = sfopen(boxlog, FO_READ); ^ box_sys.c:870:9: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]: filesys.c:826 if (compare(call, "PATH")) show_u_path(unr); ^ ~~~~~~ :./tools.h12: error: use of undeclared identifier 'minhandle' box_mem.c:355 if (k2 < minhandle)::113:48: note: expanded from macro 'compare' 23: error: use of undeclared identifier 'FO_READ' #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ ~~~ 39: note: passing argument to parameter 'adr' here box_sub.c:458:11: error: use of undeclared identifier 'minhandle' box_sys.c:871:9: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] ^ k = sfopen(msgidlog, FO_READ); ^ extern void crcthp_buf(unsigned char *adr, long size, unsigned short *crc); ^ if (k < minhandle) ^ box_send.c:124:13: warningbox.c:510:3: error: use of undeclared identifier 'extsep' if (compare(call, "ALL")) show_u_all(unr); ^ ~~~~~: idxfname(STR1, brett); ^ ./tools.h:113:48filesys.c:828::box_sub.c./filesys.h22: errorbox_mem.cpassing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]: : use of undeclared identifier 'FO_READ' crcthp_buf(puffer, ct, &crc); note ^~~~~~: ::524199 expanded from macro 'compare' :./crc.h k1 = sfopen(filea, FO_READ);76:: 23 ^: 39356: note: expanded from macro 'idxfname' note: passing argument to parameter 'adr' here #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ ~~~ #define idxfname(fname, board) sprintf(fname, "%s%s%c%s", indexdir, board, extsep, EXT_IDX) ^ :22: extern void crcthp_buf(unsigned char *adr, long size, unsigned short *crc); error ^ filesys.c:829:12: error: use of undeclared identifier 'minhandle' :: 11: if (k1 < minhandle) use of undeclared identifier 'FO_READ' ^errorbox.c: use of undeclared identifier 'minhandle' In file included from if (k >= minhandle) {:516:25: error: use of undeclared identifier 'FO_READ' ^box_sf.c k = open_index(brett, FO_READ, true, true); ^ box_sys.c:913:46: :14: In file included from ./main.h:10: In file included from ./pastrix.h:71: error: use of undeclared identifier 'extsep' k = sfopen(boxlog, FO_READ); sprintf(hs, "%s%s%cpwd", boxsfdir, STR1, extsep); ^ box.c:517 ^box_mem.cbox_send.c:141filesys.c./filesys.h::831148:::46:25 :23box_sys.c:: 968error: 22error:: unknown type name 'DTA'warning : box_sub.c358:: use of undeclared identifier 'SFSEEKEND' ::extern short sffirst(char *pfad, short attr, DTA *dirr);: fsize = sfseek(0, k1, SFSEEKEND); format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 11: sprintf(w, "%d", strlen(ufil.password)); 525 28error : ^ error: : use of undeclared identifier 'SFSEEKSET' ^:11 use of undeclared identifier 'minhandle' ~~ ^~~~~~~~~~~~~~~~~~~~~ %lu sfseek(0, *kanal, SFSEEKSET);./filesys.h:149:: if (k < minhandle) error ^: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h21::47 filesys.c::56832:: 17note: box.cuse of undeclared identifier 'SFSEEKSET' error ^ error: : expanded from macro 'sprintf'error : sfseek(p1->offset, k, SFSEEKSET);unknown type name 'DTA' ^ use of undeclared identifier 'minhandle' extern short sfnext(DTA *dirr); ^ __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ : use of undeclared identifier 'SFSEEKSET' box_mem.c:387:25: sfseek(0, k1, SFSEEKSET);:582:25: error: use of undeclared identifier 'FO_RW' error: use of undeclared identifier 'FO_RW'box_send.c log = sfopen(boxlog, FO_RW);: 288 ^: ^31 if (k < minhandle) { ^ ./filesys.h:180:26: box_sys.c :1012:20: error: use of undeclared identifier 'FO_READ' k = sfopen(msgidlog, FO_RW); ih = sfopen(ifn, FO_READ);: error: use of undeclared identifier 'minhandle' error box.c : invalid = (WITH->sendchan < minhandle); ^: ^unknown type name 'time_t'; did you mean 'size_t'? 586:14: error: use of undeclared identifier 'minhandle' extern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */ ^~~~~~ size_t filesys.c ^ box_sub.c:726:22: error: use of undeclared identifier 'FO_READ' if (log >= minhandle && lastlog > 0) { k = sfopen(boxlog, FO_READ); ^ box_mem.c:388 ^:11box_sys.c:::/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h error: use of undeclared identifier 'minhandle' :31:32: note: 'size_t' declared here 1013:12: error: box_sub.c if (k < minhandle):727:11: error: use of undeclared identifier 'minhandle' use of undeclared identifier 'minhandle' typedef __darwin_size_t size_t; if (k < minhandle) box_send.c :845362:22::box.c: if (ih < minhandle) {603 ^ ^ error ^ ^ 22: error: : use of undeclared identifier 'nohandle' :29: error: use of undeclared identifier 'SFSEEKSET' box_mem.c:389:29:In file included from boxdbox.c:13use of undeclared identifier 'SFSEEKSET': if (sfseek(seekpos, log, SFSEEKSET) != seekpos) error: use of undeclared identifier 'FC_FILE' In file included from ./main.h WITH->sendchan = nohandle; k = sfcreate(msgidlog, FC_FILE);: 10 ^ : In file included from ./pastrix.h:71: ./filesys.h: 148:46box_sub.c ^ :box_sys.c:1238:42 : error: use of undeclared identifier 'extsep' :792 sprintf(hs, "%s%s%cpwd", boxsfdir, par, extsep); ^ :22: box_mem.c:390:11: box.c sfseek(ab, k1, SFSEEKSET);error ^: use of undeclared identifier 'FO_READ' error:615:4: error: use of undeclared identifier 'extsep' idxfname(hs, logptr->brett); ^ ^ error: use of undeclared identifier 'minhandle' k = sfopen(boxlog, FO_READ); : unknown type name 'DTA' ^ if (k < minhandle) extern short sffirst(char *pfad, short attr, DTA *dirr); ^ ./filesys.h:199:76filesys.c:891:24:: ^ warning: passing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign] box_send.c:472:27: error: use of undeclared identifier 'extsep' note: ./filesys.hexpanded from macro 'idxfname': sfgetdatime(filea, &ddate, &dtime); ^~~~~~ box_sub.c./filesys.h:144:54: note: box_mem.c:397::149793:passing argument to parameter 'date' here21 :11box_sys.c newmaildir, WITH->call, extsep, strcpy(STR7, sname));extern short sfgetdatime(char *name, unsigned short *date,25:1840: : #define idxfname(fname, board) sprintf(fname, "%s%s%c%s", indexdir, board, extsep, EXT_IDX) ^: errorerror: unknown type name 'DTA':45 error: ^ ^: use of undeclared identifier 'SFSEEKSET'errorextern short sfnext(DTA *dirr); : use of undeclared identifier 'minhandle' if (sfseek(seek, k, SFSEEKSET) != seek) {filesys.c :891: : use of undeclared identifier 'extsep' 32: sprintf(hs, "%sctext%cnew", boxstatdir, extsep); ^ box_send.c : box.c:616 ^: 23475 warning: passing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign] : error: if (k < minhandle)use of undeclared identifier 'FO_RW' box_sys.c ^ ::1862./filesys.h ^box_sf.c sfgetdatime(filea, &ddate, &dtime); :27::180:26 : error: error43 ^~~~~~197 list = sfopen(hs, FO_RW);: : : unknown type name 'time_t'; did you mean 'size_t'?use of undeclared identifier 'extsep' box_sub.c: ./filesys.h 797:145box_mem.c::21extern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */ 399:33error:24 ^~~~~~ : : :: error: use of undeclared identifier 'extsep'5:use of undeclared identifier 'SFSEEKEND' newmaildir, WITH->call, extsep, strcpy(STR1, sname)); ^ error bullidseek = sfseek(0, k, SFSEEKEND) / sizeof(bidtype); : ^ ^ : warning note size_t: use of undeclared identifier 'SFSEEKEND'box_send.cpassing argument to parameter 'time' here: 479:27 unsigned short *time); sprintf(hs, "%sctext%cnew", boxstatdir, extsep); :: 'snprintf' will always overflow; destination buffer has size 81, but size argument is 255 [-Wbuiltin-memcpy-chk-size]error: use of undeclared identifier 'extsep' box_mem.c: box.c:617: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h16405 newmaildir, WITH->call, extsep, strcpy(STR7, sname)); snprintf(user[unr]->fbbprop[x].line, 255, "%s P %s %s %s %s 1000", end = sfseek(0, k, SFSEEKEND) / sizeof(boxlogstruct); : : ^ ^:31 ^ ^ :25error: use of undeclared identifier 'minhandle': ^ 32 if (list >= minhandle) { ^error: use of undeclared identifier 'SFSEEKSET' : note: 'size_t' declared here filesys.c:895:box_sub.cbox_sys.cbox_send.c:/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h::1879 if (sfseek(seek, k, SFSEEKSET) != seek) { 22::45:800typedef __darwin_size_t size_t; 57:482:box.c ^3 ^:: : 24: error27: error note error error: : use of undeclared identifier 'extsep': use of undeclared identifier 'extsep': use of undeclared identifier 'SFSEEKSET' : use of undeclared identifier 'FO_READ' sprintf(STR1, "%sctext%cnew", boxstatdir, extsep);:680 newmaildir, WITH->call, extsep, strcpy(STR1, sname)); ^ k1 = sfopen(filea, FO_READ); ^ ^ :27: error: use of undeclared identifier 'FO_READ' box_send.c:487:20:box_mem.c:407:33: error: use of undeclared identifier 'SFSEEKEND' error: use of undeclared identifier 'extsep' expanded from macro 'snprintf' k = sfopen(temperase, FO_READ); if (sfseek(seekp, k, SFSEEKSET) != seekp) { __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) newmaildir, extsep, strcpy(STR1, sname)); ^filesys.cbox_sys.c:896 ^ ^ :1880 ^ :12 : : bullidseek = sfseek(0, k, SFSEEKEND) / sizeof(bidtype); ^ 22: error: use of undeclared identifier 'FC_FILE' k = sfcreate(STR1, FC_FILE); ^ box_send.c:490:20: error: use of undeclared identifier 'extsep' newmaildir, extsep, strcpy(STR1, sname)); ^ box_sf.c:240:27: error: use of undeclared identifier 'FO_READ' k = sfopen(resume_inf, FO_READ); ^ box_send.c:493:36: error: use of undeclared identifier 'FC_FILE' box_mem.c WITH->sendchan = sfcreate(sname, FC_FILE); error: use of undeclared identifier 'minhandle' : if (k1 < minhandle)427:27 : ^ box.c:681:12 box_sf.cbox_sub.c::box_sys.c241::11:: 8091881:: 12: 24 errorerror: ^: use of undeclared identifier 'minhandle'use of undeclared identifier 'FO_RW' filesys.c if (k < minhandle):error error: *k = sfopen(msgidlog, FO_RW);: use of undeclared identifier 'minhandle'boxdbox.cuse of undeclared identifier 'minhandle' error ^ : ^: if (k >= minhandle) {899 : :25 if (k >= minhandle) {47 : ^47: error: use of undeclared identifier 'SFSEEKEND' ^box_sf.cbox_send.cuse of undeclared identifier 'SFSEEKCUR' fsize = sfseek(0, k1, SFSEEKEND); :: 494 :270: ^: errorbox_mem.c: seekp = sfseek(0, k, SFSEEKCUR);428:12: error: use of undeclared identifier 'minhandle' 29 if (*k < minhandle) ^ : error: use of undeclared identifier 'FC_FILE' : use of undeclared identifier 'extsep' 24 k = sfcreate(resume_inf, FC_FILE);:filesys.c : sprintf(STR1, "%sdiebox%cimp", boxprotodir, extsep); box.c ^900error:682 ^ box_sys.c:: : use of undeclared identifier 'minhandle'; did you mean 'handle'? ^ 2020box_mem.c17:: 430:61: error: use of undeclared identifier 'extsep' error: use of undeclared identifier 'SFSEEKSET' : sfseek(0, k1, SFSEEKSET); 27 ^: boxdbox.cbox_sf.c sprintf(STR1, "%s%s%cMSG", boxstatdir, user[unr]->call, extsep); : if (WITH->sendchan < minhandle) {error : ^~~~~~~~~use of undeclared identifier 'SFSEEKSET' ^ handle if (sfseek(*seekp, k, SFSEEKSET) == *seekp) {271 ^ :58:filesys.c:939:29: error: use of undeclared identifier 'SFSEEKSET' :11: error: use of undeclared identifier 'minhandle' box_send.c:433 err = sfseek(start, k1, SFSEEKSET);: if (k < minhandle)box_sub.c box.c ^12: 18::: ^note47: error: use of undeclared identifier 'extsep' : 755: 'handle' declared hereerror sprintf(STR1, "%sdiebox%cimp", boxprotodir, extsep);: use of undeclared identifier 'SFSEEKSET': 1304:453box_sys.c:2312:: sfseek(at, *k, SFSEEKSET); : short k, handle; error39 ^: ^errorbox_sf.c: use of undeclared identifier 'extsep' filesys.c:use of undeclared identifier 'extsep': ^ error: use of undeclared identifier 'extsep': idxfname(fname, brett); ^ 943: sprintf(STR1, "%sproto%clst", boxstatdir, extsep); ^ 26: error: boxdbox.c:168:3use of undeclared identifier 'FC_FILE'./filesys.h: fatal error sprintf(ofi, "%sout%s%ctrn", rd, w, extsep); box_send.c: too many errors emitted, stopping now [-ferror-limit=]431::495:22box_sub.c k2 = sfcreate(fileb, FC_FILE); :199error: ^:: 17: ^:1305 errorwarning: :20:76: error: use of undeclared identifier 'FO_READ'use of undeclared identifier 'nohandle'; did you mean 'handle'?use of undeclared identifier 'DTA' : passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] note WITH->sendchan = nohandle; k = sfopen(STR1, FO_READ); ^~~~~~~~ handle: expanded from macro 'idxfname' DTA dirinfo; ^ checksum8_buf(puffer, blen, chksum); ^~~~~~ ^./crc.h:box_sys.c#define idxfname(fname, board) sprintf(fname, "%s%s%c%s", indexdir, board, extsep, EXT_IDX) ^ :2446:28filesys.c:944: 15: error: use of undeclared identifier 'minhandle' 28 if (k2 >= minhandle) { ^boxdbox.c:192::box_send.c:433:12: note23: :42'handle' declared here: 20 errorerror: : use of undeclared identifier 'minhandle' : note short k, handle; error if (WITH->yapp->filefd < minhandle) { s box.cfilesys.c generated ^ box_sub.cuse of undeclared identifier 'FC_FILE': ::9691306:: passing argument to parameter 'adr' here:24 ^fatal error. : 11:761: error: flh = sfcreate(fmn, FC_FILE);11:: use of undeclared identifier 'minhandle'warningtoo many errors emitted, stopping now [-ferror-limit=] : ^ error: use of undeclared identifier 'nohandle' list = nohandle;passing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign] extern void checksum8_buf(unsigned char *adr, long size, unsigned short *crc);box_send.c:510:12: error: use of undeclared identifier 'nohandle' ^ if (k < minhandle) ^ handle = nohandle;box_sf.c:438:14: sfsetdatime(fileb, &ddate, &dtime); warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ crcfbb_buf(puffer, blen, bcrc); ^~~~~~ boxdbox.c ^ box_sub.c:1323:47: error: use of undeclared identifier 'extsep'./crc.hbox.c:24: ^~~~~~ 39:: 193 sprintf(STR1, "%sproto%clst", boxstatdir, extsep); ^ :763:29: error: use of undeclared identifier 'FO_RW' note: passing argument to parameter 'adr' here ./filesys.h:146:extern void crcfbb_buf(unsigned char *adr, long size, unsigned short *crc); ^ list = open_index(brett, FO_RW, true, true); ^ box_sub.c:1327:45: error: use of undeclared identifier 'extsep' :fatal error: too many errors emitted, stopping now [-ferror-limit=]54: note: passing argument to parameter 'date' here 14gmake: *** [Makefile.netbsd:76: box_mem.o] Error 1 : sprintf(STR1, "%sproto%clst", boxstatdir, extsep); ^ error: box_sf.c:497:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]gmake: *** Waiting for unfinished jobs.... extern short sfsetdatime(char *name, unsigned short *date, use of undeclared identifier 'minhandle' ^ crcfbb_buf(puffer, size, &sf_crc); filesys.c:969:32: warning: ^~~~~~passing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign] if (flh >= minhandle) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] ./crc.h:24:39: note: passing argument to parameter 'adr' here box.c:765:14: error: use of undeclared identifier 'minhandle' sfsetdatime(fileb, &ddate, &dtime); if (list < minhandle) ^ ^~~~~~ extern void crcfbb_buf(unsigned char *adr, long size, unsigned short *crc); ^ ./filesys.h:147:21: note: passing argument to parameter 'time' here unsigned short *time); ^ box_sf.c:511:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] crcthp_buf(puffer, size, &sf_crc); ^~~~~~ ./crc.h:23:39: note: passing argument to parameter 'adr' here 2 warnings and 20 errors generated. extern void crcthp_buf(unsigned char *adr, long size, unsigned short *crc);fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 ^ warnings and 20 errors generated. boxdbox.c:195:34: error: use of undeclared identifier 'allquant' sprintf(STR1, "%s%c%c%c", p, allquant, extsep, allquant); ^ fatal errorboxdbox.c:195:44: error: use of undeclared identifier 'extsep' : too many errors emitted, stopping now [-ferror-limit=] 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); ^ box_sf.c:659:30: error: use of undeclared identifier 'FO_READ' fhandle = sfopen(tempname, FO_READ); ^ box_sf.c:661: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:661:15: warning: self-comparison always evaluates to false [-Wtautological-compare] if (fhandle < minhandle) ^ boxdbox.c:196:33: error: use of undeclared identifier 'dirinfo'; did you mean 'dprintf'? result = sffirst(STR1, 16, &dirinfo); ^~~~~~~ dprintf box_sf.c:708:30: error: use of undeclared identifier 'FO_READ' /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h fhandle = sfopen(tempname, FO_READ);:352:5: note: 'dprintf' declared here ^ int dprintf(int, const char * __restrict, ...) __printflike(2, 3) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); ^ gmake: *** [Makefile.netbsd:76: box_send.o] Error 1 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 /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/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); ^ gmake: *** [Makefile.netbsd:76: box_sys.o] Error 1 box_sf.cboxdbox.c:205:23: error: use of undeclared identifier 'FO_READ' :710:17: error: use of undeclared identifier 'minhandle'; did you mean 'fhandle'? flh = sfopen(fmn, FO_READ); ^ if (fhandle < minhandle) ^~~~~~~~~ fhandle box_sf.c:620:22: note: 'fhandle' declared here 4 warnings and 20 errors generated. short x, FORLIM, fhandle; ^ box_sf.c:710:15: warning: self-comparison always evaluates to false [-Wtautological-compare] if (fhandle < minhandle) ^ boxdbox.c:206:16: error: use of undeclared identifier 'minhandle' if (flh >= minhandle) { ^ box_sf.c:713:27: error: use of undeclared identifier 'SFSEEKSET' sfseek(offset, fhandle, SFSEEKSET); ^ box_sf.c:842:3: error: use of undeclared identifier 'extsep' idxfname(index, brett); ^ ./filesys.h:199:76: note: expanded from macro 'idxfname' #define idxfname(fname, board) sprintf(fname, "%s%s%c%s", indexdir, board, extsep, EXT_IDX) ^ box_sf.c:848:25: error: use of undeclared identifier 'FO_RW' boxdbox.c list = sfopen(index, FO_RW);: 215 ^: 48: gmake: *** [Makefile.netbsd:76: filesys.o] Error 1 20 errors generated. box_sf.c:849:15: error: use of undeclared identifier 'minhandle' if (list >= minhandle) { ^ error: use of undeclared identifier 'dirsep'; did you mean 'strsep'? sprintf(prot, "%s%s%cprotfile.dat", p, board, dirsep); ^~~~~~ strsep /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/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] box_sf.c sprintf(prot, "%s%s%cprotfile.dat", p, board, dirsep); ~~ ^~~~~~ /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ boxdbox.c:217:20: error: use of undeclared identifier 'FO_READ' ph = sfopen(prot, FO_READ); ^ :870:31: error: use of undeclared identifier 'FO_RW' list = sfopen(index, FO_RW); ^ gmake: *** [Makefile.netbsd:76: box_sub.o] Error 1 boxdbox.c:218:12: error: use of undeclared identifier 'minhandle' if (ph >= minhandle) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] box_sf.c:973:46: error: use of undeclared identifier 'extsep' sprintf(hs, "%simport%c001", newmaildir, extsep); ^ box_sf.c:975:23: error: use of undeclared identifier 'FC_FILE' k = sfcreate(hs, FC_FILE); ^ box_sf.c:976:14: error: use of undeclared identifier 'minhandle' if (k >= minhandle) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. gmake: *** [Makefile.netbsd:76: boxdbox.o] Error 1 20 errors generated. 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