=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for pcemu-1.01anb3 --- main.o --- --- cpu.o --- --- bios.o --- --- vga.o --- --- cpu.o --- gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c cpu.c --- main.o --- gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c main.c --- bios.o --- gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c bios.c --- vga.o --- gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c vga.c vga.c: In function 'scroll': vga.c:157:29: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] if (num == 0 || y2-y1 < abs(num)) ^~~ vga.c: In function 'init_vga': vga.c:639:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(&memory[0xf0000+VIDEOFUNCTIONALITY], &functionality, sizeof functionality); ^~~~~~ vga.c:639:5: warning: incompatible implicit declaration of built-in function 'memcpy' vga.c:639:5: note: include '' or provide a declaration of 'memcpy' --- bios.o --- bios.c: In function 'set_int': bios.c:169:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned loc = (unsigned)routine; ^ --- cpu.o --- cpu.c: In function 'i_gobios': cpu.c:3608:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] routine = (void (*)(void))dest; ^ --- bios.o --- bios.c: In function 'init_bios': bios.c:1211:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ bios.c:1211:13: warning: incompatible implicit declaration of built-in function 'exit' bios.c:1211:13: note: include '' or provide a declaration of 'exit' bios.c:1228:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ bios.c:1228:9: note: include '' or provide a declaration of 'exit' bios.c: In function 'set_boot_file': bios.c:1252:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ bios.c:1252:9: note: include '' or provide a declaration of 'exit' --- vgahard.o --- 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 defaults to 'int' in declaration of 'height' [-Wimplicit-int] static height, width; /* screen size */ ^~~~~~ vgahard.c:45:16: warning: type defaults to 'int' in declaration of 'width' [-Wimplicit-int] static height, width; /* screen size */ ^~~~~ --- debugger.o --- gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c debugger.c --- xstuff.o --- gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c xstuff.c --- hardware.o --- gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c hardware.c --- xstuff.o --- xstuff.c: In function 'load_font': xstuff.c:163:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ xstuff.c:163:13: warning: incompatible implicit declaration of built-in function 'exit' xstuff.c:163:13: note: include '' or provide a declaration of 'exit' xstuff.c: In function 'start_X': xstuff.c:245:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xstuff.c:245:9: note: include '' or provide a declaration of 'exit' xstuff.c:271:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xstuff.c:271:9: note: include '' or provide a declaration of 'exit' xstuff.c:278:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xstuff.c:278:9: note: include '' or provide a declaration of 'exit' --- mfs.o --- gcc -I/usr/X11R7/include -O2 -pipe -DBOOT720 -DBIGCASE -DINLINE_FUNCTIONS -DBOOTFILE=\"/usr/pkg/lib/pcemu/DriveA\" -c mfs.c mfs.c:429:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] u_short com_psp = (u_short) NULL; ^ In file included from mfs.c:349:0: mfs.c: In function 'select_drive': mfs.h:367:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.h:70:39: note: in definition of macro 'Read2Bytes' #define Read2Bytes(t,x) (t)(*(BYTE *)(x) + (*((BYTE *)(x) + 1) << 8)) ^ mfs.c:630:27: note: in expansion of macro 'cds_flags_r' if (dos_roots[dd] && (cds_flags_r(drive_cds(dd)) & ^~~~~~~~~~~ mfs.c:630:39: note: in expansion of macro 'drive_cds' if (dos_roots[dd] && (cds_flags_r(drive_cds(dd)) & ^~~~~~~~~ mfs.h:367:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.h:70:39: note: in definition of macro 'Read2Bytes' #define Read2Bytes(t,x) (t)(*(BYTE *)(x) + (*((BYTE *)(x) + 1) << 8)) ^ mfs.c:630:27: note: in expansion of macro 'cds_flags_r' if (dos_roots[dd] && (cds_flags_r(drive_cds(dd)) & ^~~~~~~~~~~ mfs.c:630:39: note: in expansion of macro 'drive_cds' if (dos_roots[dd] && (cds_flags_r(drive_cds(dd)) & ^~~~~~~~~ mfs.h:367:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.h:70:56: note: in definition of macro 'Read2Bytes' #define Read2Bytes(t,x) (t)(*(BYTE *)(x) + (*((BYTE *)(x) + 1) << 8)) ^ mfs.c:630:27: note: in expansion of macro 'cds_flags_r' if (dos_roots[dd] && (cds_flags_r(drive_cds(dd)) & ^~~~~~~~~~~ mfs.c:630:39: note: in expansion of macro 'drive_cds' if (dos_roots[dd] && (cds_flags_r(drive_cds(dd)) & ^~~~~~~~~ mfs.h:367:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.h:70:56: note: in definition of macro 'Read2Bytes' #define Read2Bytes(t,x) (t)(*(BYTE *)(x) + (*((BYTE *)(x) + 1) << 8)) ^ mfs.c:630:27: note: in expansion of macro 'cds_flags_r' if (dos_roots[dd] && (cds_flags_r(drive_cds(dd)) & ^~~~~~~~~~~ mfs.c:630:39: note: in expansion of macro 'drive_cds' if (dos_roots[dd] && (cds_flags_r(drive_cds(dd)) & ^~~~~~~~~ mfs.c:633:7: warning: implicit declaration of function 'calculate_drive_pointers' [-Wimplicit-function-declaration] calculate_drive_pointers(dd); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from mfs.c:349:0: mfs.h:367:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:643:11: note: in expansion of macro 'drive_cds' if (drive_cds(dd) == sda_cds) ^~~~~~~~~ mfs.h:367:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:643:11: note: in expansion of macro 'drive_cds' if (drive_cds(dd) == sda_cds) ^~~~~~~~~ mfs.h:367:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:651:11: note: in expansion of macro 'drive_cds' if (drive_cds(dd) == esdi_cds) ^~~~~~~~~ mfs.h:367:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:651:11: note: in expansion of macro 'drive_cds' if (drive_cds(dd) == esdi_cds) ^~~~~~~~~ mfs.h:367:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:732:9: note: in expansion of macro 'drive_cds' cds = drive_cds(current_drive); ^~~~~~~~~ mfs.h:367:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:732:9: note: in expansion of macro 'drive_cds' cds = drive_cds(current_drive); ^~~~~~~~~ mfs.c: In function 'init_drive': mfs.c:917:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ((int) NULL); ^ In file included from mfs.c:349:0: mfs.c: In function 'calculate_drive_pointers': mfs.h:367:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:1653:9: note: in expansion of macro 'drive_cds' cds = drive_cds(dd); ^~~~~~~~~ mfs.h:367:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:1653:9: note: in expansion of macro 'drive_cds' cds = drive_cds(dd); ^~~~~~~~~ mfs.c: In function 'RedirectDevice': mfs.h:367:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:2489:9: note: in expansion of macro 'drive_cds' cds = drive_cds(current_drive); ^~~~~~~~~ mfs.h:367:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:2489:9: note: in expansion of macro 'drive_cds' cds = drive_cds(current_drive); ^~~~~~~~~ mfs.c: In function 'CancelRedirection': mfs.h:367:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:2544:9: note: in expansion of macro 'drive_cds' cds = drive_cds(current_drive); ^~~~~~~~~ mfs.h:367:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define drive_cds(dd) ((cds_t)(((int)cds_base)+(cds_record_size*(dd)))) ^ mfs.c:2544:9: note: in expansion of macro 'drive_cds' cds = drive_cds(current_drive); ^~~~~~~~~ mfs.c: In function 'dos_fs_redirect': mfs.c:3558:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while ((int) hlist_stack_indx != (int) NULL) { ^ --- pcemu --- gcc -I/usr/X11R7/include -O2 -pipe -o pcemu main.o cpu.o bios.o vga.o vgahard.o debugger.o xstuff.o hardware.o mfs.o -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -lXext -lX11