=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for pcemu-1.01anb3 gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c main.c main.c:113:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(int argc, char **argv) ^ main.c:113:1: note: change return type to 'int' void main(int argc, char **argv) ^~~~ int 1 warning generated. gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c cpu.c gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c bios.c bios.c:531:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ bios.c:565:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ bios.c:1211:13: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ bios.c:1211:13: note: include the header or explicitly provide a declaration for 'exit' 3 warnings generated. gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c vga.c vga.c:157:29: warning: implicitly declaring library function 'abs' with type 'int (int)' if (num == 0 || y2-y1 < abs(num)) ^ vga.c:157:29: note: include the header or explicitly provide a declaration for 'abs' vga.c:639:5: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' memcpy(&memory[0xf0000+VIDEOFUNCTIONALITY], &functionality, sizeof functionality); ^ vga.c:639:5: note: include the header or explicitly provide a declaration for 'memcpy' 2 warnings generated. gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c vgahard.c vgahard.c:45:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static height, width; /* screen size */ ~~~~~~ ^ vgahard.c:45:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static height, width; /* screen size */ ~~~~~~ ^ 2 warnings generated. gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c debugger.c gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c xstuff.c xstuff.c:163:13: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ xstuff.c:163:13: note: include the header or explicitly provide a declaration for 'exit' xstuff.c:468:18: warning: comparison of constant 256 with expression of type 'unsigned char' is always false [-Wtautological-constant-out-of-range-compare] if(c < ' ' || c >= ' ' + sizeof scan_table1) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c hardware.c gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c mfs.c mfs.c:398:40: warning: '/*' within block comment [-Wcomment] /*#define UNDOCUMENTED_FUNCTION_2 0x25 /* Used in DOS 4.0+ */ ^ mfs.c:530:9: warning: implicit declaration of function 'setreuid' is invalid in C99 [-Wimplicit-function-declaration] if (setreuid(geteuid(), getuid()) || ^ mfs.c:531:9: warning: implicit declaration of function 'setregid' is invalid in C99 [-Wimplicit-function-declaration] setregid(getegid(), getgid())) { ^ mfs.c:633:7: warning: implicit declaration of function 'calculate_drive_pointers' is invalid in C99 [-Wimplicit-function-declaration] calculate_drive_pointers(dd); ^ mfs.c:782:19: error: variable has incomplete type 'struct statfs' struct statfs fsbuf; ^ mfs.c:782:12: note: forward declaration of 'struct statfs' struct statfs fsbuf; ^ mfs.c:786:9: warning: implicit declaration of function 'statfs' is invalid in C99 [-Wimplicit-function-declaration] if (statfs(cwd, &fsbuf) >= 0) ^ mfs.c:1219:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cur_ent = dos_readdir(cur_dir)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ mfs.c:1219:20: note: place parentheses around the assignment to silence this warning while (cur_ent = dos_readdir(cur_dir)) { ^ ( ) mfs.c:1219:20: note: use '==' to turn this assignment into an equality comparison while (cur_ent = dos_readdir(cur_dir)) { ^ == mfs.c:1951:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cur_ent = dos_readdir(cur_dir)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ mfs.c:1951:18: note: place parentheses around the assignment to silence this warning while (cur_ent = dos_readdir(cur_dir)) { ^ ( ) mfs.c:1951:18: note: use '==' to turn this assignment into an equality comparison while (cur_ent = dos_readdir(cur_dir)) { ^ == mfs.c:2441:7: warning: comparison of constant 61440 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare] if (IS_REDIRECTED(0x2f)) { ^~~~~~~~~~~~~~~~~~~ ./mfs_link.h:52:46: note: expanded from macro 'IS_REDIRECTED' #define IS_REDIRECTED(i) (memory[(i << 2)+2] != 0xf000) ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ 8 warnings and 1 error generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/emulators/pcemu/work/pcemu1.01alpha *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/emulators/pcemu *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/emulators/pcemu