=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg.bulk/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg.bulk/sbin/pkg_admin -K /opt/pkg.bulk/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] 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; ^ 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; ^ box_mem.c:296:27: error: use of undeclared identifier 'FO_READ' k = sfopen(msgidlog, FO_READ); ^ box_mem.c:297:14: error: use of undeclared identifier 'minhandle' if (k >= minhandle) { ^ box_mem.c:355:23: error: use of undeclared identifier 'FO_READ' k = sfopen(msgidlog, FO_READ); ^ box_mem.c:356:11: error: use of undeclared identifier 'minhandle' if (k >= minhandle) { ^ box.c:510:3: error: use of undeclared identifier 'extsep' idxfname(STR1, brett); ^ ./filesys.h:199:76: note: expanded from macro 'idxfname' box_mem.c:358#define idxfname(fname, board) sprintf(fname, "%s%s%c%s", indexdir, board, extsep, EXT_IDX) ^ :28: error: use of undeclared identifier 'SFSEEKSET' sfseek(p1->offset, k, SFSEEKSET); ^ box.c:516:25: error: use of undeclared identifier 'FO_READ' k = open_index(brett, FO_READ, true, true); ^ box_mem.c:387:25: error: use of undeclared identifier 'FO_RW' k = sfopen(msgidlog, FO_RW); ^ box.c:517:11: error: use of undeclared identifier 'minhandle' if (k < minhandle) ^ 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); ^ box_mem.c:388:11: error: use of undeclared identifier 'minhandle' if (k < minhandle) ^ box.c:582:25: error: use of undeclared identifier 'FO_RW' log = sfopen(boxlog, FO_RW); ^ box_mem.c:389:29: error: use of undeclared identifier 'FC_FILE' box.c:586:14 k = sfcreate(msgidlog, FC_FILE);: error: ^use of undeclared identifier 'minhandle' if (log >= minhandle && lastlog > 0) { ^ box_mem.c:390:11: error: use of undeclared identifier 'minhandle' if (k < minhandle) ^ box.c:603:box_mem.c:397:25:29 error: use of undeclared identifier 'SFSEEKSET' if (sfseek(seek, k, SFSEEKSET) != seek) { ^ 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); ^ filesys.c:806:33: error: use of undeclared identifier 'dirinfo' sprintf(STR1, "%s%s", name, dirinfo.d_fname); ^ box_mem.c:399:33: : error: use of undeclared identifier 'SFSEEKSET' error if (sfseek(seekpos, log, SFSEEKSET) != seekpos) ^ : use of undeclared identifier 'SFSEEKEND' bullidseek = sfseek(0, k, SFSEEKEND) / sizeof(bidtype); ^ filesys.c:808:22: error: use of undeclared identifier 'dirinfo' result = sfnext(&dirinfo); ^ filesys.c:826:12: error: use of undeclared identifier 'minhandle' if (k2 < minhandle) ^ box.c:615:4: error: use of undeclared identifier 'extsep' idxfname(hs, logptr->brett); ^ ./filesys.h:199box_mem.cfilesys.c::76: note: expanded from macro 'idxfname'405::25828: error: use of undeclared identifier 'SFSEEKSET' :22: error: use of undeclared identifier 'FO_READ' #define idxfname(fname, board) sprintf(fname, "%s%s%c%s", indexdir, board, extsep, EXT_IDX) k1 = sfopen(filea, FO_READ); ^ ^ if (sfseek(seek, k, SFSEEKSET) != seek) { ^ box.c:616:23: error: use of undeclared identifier 'FO_RW' list = sfopen(hs, FO_RW); ^ filesys.c:829:12: error: use of undeclared identifier 'minhandle' if (k1 < minhandle) ^ clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] box_mem.c:407:33: error: use of undeclared identifier 'SFSEEKEND' bullidseek = sfseek(0, k, SFSEEKEND) / sizeof(bidtype); ^ box.c:617:16: error: use of undeclared identifier 'minhandle' if (list >= minhandle) { ^ filesys.c:831:25: error: use of undeclared identifier 'SFSEEKEND' fsize = sfseek(0, k1, SFSEEKEND); ^ box_mem.c:427:27: error: use of undeclared identifier 'FO_RW' filesys.c:832:17: error *k = sfopen(msgidlog, FO_RW); ^ : use of undeclared identifier 'SFSEEKSET' sfseek(0, k1, SFSEEKSET); ^ box.c:680:27: error: use of undeclared identifier 'FO_READ' k = sfopen(temperase, FO_READ); ^ box_mem.c:428:12: error: use of undeclared identifier 'minhandle' if (*k < minhandle) ^ filesys.cbox_mem.c:430:18: error: use of undeclared identifier 'SFSEEKSET' sfseek(at, *k, SFSEEKSET); ^ :845:22: error: use of undeclared identifier 'SFSEEKSET' sfseek(ab, k1, SFSEEKSET); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] box.c:681:12: error: use of undeclared identifier 'minhandle' if (k >= minhandle) { ^ filesys.c:891:24: warning: passing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign] sfgetdatime(filea, &ddate, &dtime); ^~~~~~ ./filesys.h:144:54: note: passing argument to parameter 'date' here extern short sfgetdatime(char *name, unsigned short *date, ^ filesys.c:891:32: warning: passing 'short *' to parameter of type 'unsigned short *' converts between pointers to integer types with different sign [-Wpointer-sign] sfgetdatime(filea, &ddate, &dtime); ^~~~~~ ./filesys.h:145:21: note: passing argument to parameter 'time' here unsigned short *time); ^ box.c:682:27: error: use of undeclared identifier 'SFSEEKSET' if (sfseek(*seekp, k, SFSEEKSET) == *seekp) { ^ filesys.c:895:22: error: use of undeclared identifier 'FO_READ' k1 = sfopen(filea, FO_READ); ^ box.c:755:3: error: use of undeclared identifier 'extsep' idxfname(fname, 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) ^ filesys.c:896:12: error: use of undeclared identifier 'minhandle' if (k1 < minhandle) ^ filesys.c:899:25: error: use of undeclared identifier 'SFSEEKEND' fsize = sfseek(0, k1, SFSEEKEND); ^ 20 errors generated. box.c:761:11: error: use of undeclared identifier 'nohandle' list = nohandle; ^ filesys.c:900:17: error: use of undeclared identifier 'SFSEEKSET' sfseek(0, k1, SFSEEKSET); ^ box.c:763:29: error: use of undeclared identifier 'FO_RW' list = open_index(brett, FO_RW, true, true); ^ filesys.c:939:29gmake: *** [Makefile.netbsd:76: box_mem.o] Error 1 : error: use of undeclared identifier 'SFSEEKSET' gmake: *** Waiting for unfinished jobs.... err = sfseek(start, k1, SFSEEKSET); ^ box.c:765:14: error: use of undeclared identifier 'minhandle' if (list < minhandle) ^ filesys.c:943:26: error: use of undeclared identifier 'FC_FILE' k2 = sfcreate(fileb, FC_FILE); ^ clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] fatal error: too many errors emitted, stopping now [-ferror-limit=] 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); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] gmake: *** [Makefile.netbsd:76: filesys.o] Error 1 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; ^ clang: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] 20 errors generated. In file included from box_sf.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); ^ gmake: *** [Makefile.netbsd:76: box.o] Error 1 ./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_sf.c:197:5: warning: 'snprintf' will always overflow; destination buffer has size 81, but size argument is 255 [-Wbuiltin-memcpy-chk-size] snprintf(user[unr]->fbbprop[x].line, 255, "%s P %s %s %s %s 1000", ^ /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ box_sys.c:116:52: error: use of undeclared identifier 'extsep' snprintf(base, 255, "%sdigimap%cstn", 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); ^ box_sys.c:158:45: error: use of undeclared identifier 'extsep' sprintf(hs, "%sprefix%cinf", boxsysdir, extsep); ^ ./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_sf.c:240:27: error: use of undeclared identifier 'FO_READ' k = sfopen(resume_inf, FO_READ); ^ box_sys.c:754:43: error: use of undeclared identifier 'extsep' sprintf(hs, "%s%s%cpwd", boxsfdir, w, extsep); ^ box_sys.c:850:72: error: use of undeclared identifier 'extsep' sprintf(arg, "%sboxlog%d%cbox -a -TN 1500", boxprotodir, clock_.mon, extsep); ^ box_sys.c:870:9: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] if (compare(call, "PATH")) show_u_path(unr); ^ ~~~~~~ box_sf.c:241:11: error: use of undeclared identifier 'minhandle' ./tools.h:113:48 if (k < minhandle) ^ : note: expanded from macro 'compare' #define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ ~~~ box_sys.c:871:box_sf.c9: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] :270:29: error: if (compare(call, "ALL")) show_u_all(unr);use of undeclared identifier 'FC_FILE' ^ ~~~~~ ./tools.h:113:48: note: expanded from macro 'compare' k = sfcreate(resume_inf, FC_FILE);#define compare(w, cmd) (*w && (strstr(cmd, w) == cmd)) ^ ~~~ ^ box_sys.c:913:46: error: use of undeclared identifier 'extsep' sprintf(hs, "%s%s%cpwd", boxsfdir, STR1, extsep); ^ box_sub.c:457:22: error: use of undeclared identifier 'FO_READ' k = sfopen(boxlog, FO_READ); ^ box_sys.c:968:22: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(w, "%d", strlen(ufil.password)); ~~ ^~~~~~~~~~~~~~~~~~~~~ %lu /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__) ^~~~~~~~~~~ box_sub.c:458:11: error: use of undeclared identifier 'minhandle' if (k < minhandle) ^ box_sf.c:271: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: box_sys.c11:1012:20:unknown type name 'DTA' error: use of undeclared identifier 'FO_READ': error: use of undeclared identifier 'minhandle' if (k < minhandle) ih = sfopen(ifn, FO_READ);box_sub.c: ^ extern short sffirst(char *pfad, short attr, DTA *dirr); 524 ^: ^ 22: error: use of undeclared identifier 'FO_READ' k = sfopen(boxlog, FO_READ); ^ ./filesys.h:149:21: error: box_sf.c:431:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] unknown type name 'DTA'box_sys.c:1013:12: error: use of undeclared identifier 'minhandle' checksum8_buf(puffer, blen, chksum); ^~~~~~ if (ih < minhandle) {./crc.hextern short sfnext(DTA *dirr); ^ :28 ^ box_sub.c:525:42: note: passing argument to parameter 'adr' here :11: error: ./filesys.huse of undeclared identifier 'minhandle' : if (k < minhandle) {extern void checksum8_buf(unsigned char *adr, long size, unsigned short *crc); ^ 180: ^26 : error: unknown type name 'time_t'; did you mean 'size_t'? box_sf.c:438:14: box_sys.cextern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */ ^~~~~~ size_t warning:: 1238:42:passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] error: use of undeclared identifier 'extsep' /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h crcfbb_buf(puffer, blen, bcrc); sprintf(hs, "%s%s%cpwd", boxsfdir, par, extsep); ^ :31:32: note: 'size_t' declared here ^~~~~~ typedef __darwin_size_t size_t; ^ ./crc.h:box_sub.c:726:22: error: 24:39: note: passing argument to parameter 'adr' here use of undeclared identifier 'FO_READ' extern void crcfbb_buf(unsigned char *adr, long size, unsigned short *crc); ^ k = sfopen(boxlog, FO_READ); ^ box_sub.c:727:11: error: use of undeclared identifier 'minhandle' if (k < minhandle) ^ box_sf.cbox_sys.c::497:1840:4516: : errorwarning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]: use of undeclared identifier 'extsep' box_sub.c:792:22: error: use of undeclared identifier 'FO_READ' k = sfopen(boxlog, FO_READ); ^ box_sub.c:793:11: error: use of undeclared identifier 'minhandle' if (k < minhandle) ^ sprintf(hs, "%sctext%cnew", boxstatdir, extsep); ^ crcfbb_buf(puffer, size, &sf_crc); ^~~~~~ box_sub.c./crc.h:24:39: note: passing argument to parameter 'adr' here :797:24: error: use of undeclared identifier 'SFSEEKEND' extern void crcfbb_buf(unsigned char *adr, long size, unsigned short *crc);box_sys.c:1862:43: error: end = sfseek(0, k, SFSEEKEND) / sizeof(boxlogstruct); ^ use of undeclared identifier 'extsep' ^ sprintf(hs, "%sctext%cnew", boxstatdir, extsep); ^ 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:box_sys.c note: passing argument to parameter 'adr' here :1879:45: error: use of undeclared identifier 'extsep' extern void crcthp_buf(unsigned char *adr, long size, unsigned short *crc); ^ sprintf(STR1, "%sctext%cnew", boxstatdir, extsep); ^ box_sub.c:800:24: error: use of undeclared identifier 'SFSEEKSET' if (sfseek(seekp, k, SFSEEKSET) != seekp) { ^ box_sys.c:1880:22: error: use of undeclared identifier 'FC_FILE' k = sfcreate(STR1, FC_FILE); ^ box_send.c:39:12: error: use of undeclared identifier 'nohandle' return nohandle; ^ box_sys.c:1881:12: 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_sub.c:809:24: errorbox_sys.c: :2020:61clangbox_send.c:74:use of undeclared identifier 'SFSEEKCUR' :21: warning seekp = sfseek(0, k, SFSEEKCUR); error: ^ : use of undeclared identifier 'extsep'optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] box_sf.c sprintf(STR1, "%s%s%cMSG", boxstatdir, user[unr]->call, extsep); ^: : error: use of undeclared identifier 'SFSEEKSET' sfseek(0, *kanal, SFSEEKSET); ^ 659:30: error: use of undeclared identifier 'FO_READ' fhandle = sfopen(tempname, FO_READ); ^ box_send.c:115box_sf.c:661:17: error: use of undeclared identifier 'minhandle'; did you mean 'fhandle'? box_sys.c:2312::3918: error: use of undeclared identifier 'extsep' : sprintf(ofi, "%sout%s%ctrn", rd, w, extsep); box_sub.c:1304: if (fhandle < minhandle) warning ^~~~~~~~~: 45: fhandlepassing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ error crcthp_buf(puffer, psize, &crc); : ^~~~~~ use of undeclared identifier 'extsep'box_sf.c:620: 22: note: 'fhandle' declared here ./crc.h sprintf(STR1, "%sproto%clst", boxstatdir, extsep); short x, FORLIM, fhandle; ^: 23:39: box_sf.c :661:15 ^ : warning: self-comparison always evaluates to false [-Wtautological-compare] note: passing argument to parameter 'adr' here if (fhandle < minhandle) ^ extern void crcthp_buf(unsigned char *adr, long size, unsigned short *crc); ^ box_sub.c:1305:20: error: use of undeclared identifier 'FO_READ' k = sfopen(STR1, FO_READ); ^ box_sys.c:2446:28: error: use of undeclared identifier 'minhandle' if (WITH->yapp->filefd < minhandle) { ^ box_send.c:124:13: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] crcthp_buf(puffer, ct, &crc); ^~~~~~ ./crc.h:23:39:box_sub.c:1306:11: error: use of undeclared identifier 'minhandle' if (k < minhandle) note: passing argument to parameter 'adr' here fatal error ^: extern void crcthp_buf(unsigned char *adr, long size, unsigned short *crc); ^ too many errors emitted, stopping now [-ferror-limit=] box_sf.c:708:30: error: use of undeclared identifier 'FO_READ' fhandle = sfopen(tempname, FO_READ); ^ box_send.c:141:23: error: use of undeclared identifier 'SFSEEKSET' sfseek(0, *kanal, SFSEEKSET); ^ 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_sub.cbox_sf.c:710:15: warning: self-comparison always evaluates to false [-Wtautological-compare] :1323:47: error: use of undeclared identifier 'extsep' if (fhandle < minhandle) ^ sprintf(STR1, "%sproto%clst", boxstatdir, extsep); ^ box_send.c:288:31: error: use of undeclared identifier 'minhandle' invalid = (WITH->sendchan < minhandle); ^ box_sub.c:1327:45: error: box_send.c:362:22: error: use of undeclared identifier 'nohandle' use of undeclared identifier 'extsep' WITH->sendchan = nohandle; ^box_sf.c:713 sprintf(STR1, "%sproto%clst", boxstatdir, extsep);:27: error: use of undeclared identifier 'SFSEEKSET' sfseek(offset, fhandle, SFSEEKSET); ^ ^ box_send.c:472:27: error: use of undeclared identifier 'extsep' newmaildir, WITH->call, extsep, strcpy(STR7, sname)); ^ box_send.c:475:27: error: use of undeclared identifier 'extsep' newmaildir, WITH->call, extsep, strcpy(STR1, sname)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] box_send.c:479:27: error: use of undeclared identifier 'extsep' newmaildir, WITH->call, extsep, strcpy(STR7, sname)); ^ box_send.c:482:27: error: use of undeclared identifier 'extsep' newmaildir, WITH->call, extsep, strcpy(STR1, sname)); ^ box_send.c:487:20: error: use of undeclared identifier 'extsep' newmaildir, extsep, strcpy(STR1, sname)); ^ box_send.c:490:20: error: use of undeclared identifier 'extsep' newmaildir, extsep, strcpy(STR1, sname)); ^ box_sf.cbox_send.c:842:3: error: use of undeclared identifier 'extsep' 3:493:36 idxfname(index, brett);: error: use of undeclared identifier 'FC_FILE' warning ^ WITH->sendchan = sfcreate(sname, FC_FILE);s and 20 errors generated. ./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' list = sfopen(index, FO_RW); ^ box_send.c:494:24: error: use of undeclared identifier 'minhandle'; did you mean 'handle'? gmake: *** [Makefile.netbsd:76: box_sys.o] Error 1 if (WITH->sendchan < minhandle) {box_sf.c:849: 15 ^~~~~~~~~: handleerror : box_send.cuse of undeclared identifier 'minhandle': 433 if (list >= minhandle) { ^ :12: note: 'handle' declared here short k, handle; ^ box_sf.c:870:31: error: use of undeclared identifier 'FO_RW' list = sfopen(index, FO_RW); ^ box_sf.c:973:46: error: use of undeclared identifier 'extsep' sprintf(hs, "%simport%c001", newmaildir, extsep); ^ box_send.c:495:22: error: use of undeclared identifier 'nohandle'; did you mean 'handle'?box_sf.c : WITH->sendchan = nohandle; ^~~~~~~~975 : handle23 :box_send.c :error433: :use of undeclared identifier 'FC_FILE'12 : k = sfcreate(hs, FC_FILE); ^ note: 'handle' declared here short k, handle; ^ box_sf.c:976:14: error: use of undeclared identifier 'minhandle' if (k >= minhandle) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] box_send.c:510:12: error: use of undeclared identifier 'nohandle' handle = nohandle; ^ In file included from boxdbox.c:13: 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; ^ 20 errors generated. fatal error: too many errors emitted, stopping now [-ferror-limit=] gmake: *** [Makefile.netbsd:76: box_sub.o] Error 1 boxdbox.c:47:47: error: use of undeclared identifier 'extsep' sprintf(STR1, "%sdiebox%cimp", boxprotodir, extsep); ^ 2 warnings and 20 errors generated. boxdbox.c:58:47: error: use of undeclared identifier 'extsep' sprintf(STR1, "%sdiebox%cimp", boxprotodir, 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); ^ boxdbox.c:193:14: error: use of undeclared identifier 'minhandle' if (flh >= minhandle) { ^ gmake: *** [Makefile.netbsd:76: box_send.o] Error 1 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 /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); ^ 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); ^ 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 /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] 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); ^ boxdbox.c:218:12: error: use of undeclared identifier 'minhandle' if (ph >= minhandle) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 7 warnings and 20 errors generated. 1 warning and 20 errors generated. gmake: *** [Makefile.netbsd:76: boxdbox.o] Error 1 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