=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for dpbox-6.00.00nb3 gcc -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -DNO_SHELL -c filesys.c clang: warning: optimization flag '-fno-strength-reduce' is not supported 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); ^ filesys.c:800:3: error: use of undeclared identifier 'DTA' DTA dirinfo; ^ warning: format specifies type 'char *' but the argument has type '' [-Wformat] filesys.c:806:33: error: use of undeclared identifier 'dirinfo' sprintf(STR1, "%s%s", name, dirinfo.d_fname); ^ filesys.c:826:12: error: use of undeclared identifier 'minhandle' if (k2 < minhandle) ^ filesys.c:828:22: error: use of undeclared identifier 'FO_READ' k1 = sfopen(filea, FO_READ); ^ ./filesys.h:196:53: note: expanded from macro 'sfopen' #define sfopen(name, mode) open_locked(false, name, mode) ^ filesys.c:829:12: error: use of undeclared identifier 'minhandle' if (k1 < minhandle) ^ filesys.c:831:25: error: use of undeclared identifier 'SFSEEKEND' fsize = sfseek(0, k1, SFSEEKEND); ^ filesys.c:832:17: error: use of undeclared identifier 'SFSEEKSET' sfseek(0, k1, SFSEEKSET); ^ filesys.c:845:22: error: use of undeclared identifier 'SFSEEKSET' sfseek(ab, k1, SFSEEKSET); ^ 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); ^ filesys.c:895:22: error: use of undeclared identifier 'FO_READ' k1 = sfopen(filea, FO_READ); ^ ./filesys.h:196:53: note: expanded from macro 'sfopen' #define sfopen(name, mode) open_locked(false, name, mode) ^ 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); ^ filesys.c:900:17: error: use of undeclared identifier 'SFSEEKSET' sfseek(0, k1, SFSEEKSET); ^ filesys.c:939:29: error: use of undeclared identifier 'SFSEEKSET' err = sfseek(start, k1, SFSEEKSET); ^ filesys.c:943:26: error: use of undeclared identifier 'FC_FILE' k2 = sfcreate(fileb, FC_FILE); ^ ./filesys.h:195:54: note: expanded from macro 'sfcreate' #define sfcreate(name, mode) open_locked(true, name, mode) ^ 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); ^ warning: format specifies type 'int' but the argument has type '' [-Wformat] filesys.c:991:48: error: use of undeclared identifier 'extsep' while (exist((sprintf(try, "%s%c%.3d", name, extsep, extnum++), try))); ^ filesys.c:1003:17: error: use of undeclared identifier 'minhandle'; did you mean 'handle'? if (*handle < minhandle) ^~~~~~~~~ handle filesys.c:998:22: note: 'handle' declared here void str2file(short *handle, const char *line, boolean crlf) ^ filesys.c:1003:15: warning: ordered comparison between pointer and integer ('int' and 'short *') if (*handle < minhandle) ~~~~~~~ ^ ~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 7 warnings and 20 errors generated. Makefile.netbsd:76: recipe for target 'filesys.o' failed gmake: *** [filesys.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/ham/dpbox *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/ham/dpbox