=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xm7-1020s cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o debug.o -c debug.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o disasm.o -c disasm.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o gui.o -c gui.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o fdc.o -c fdc.c fdc.c:2075:26: warning: passing 'char [129]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file_write(fileh, fdc_fname[i], 128 + 1)) { ^~~~~~~~~~~~ ./device.h:58:35: note: passing argument to parameter 'ptr' here BOOL file_write(int handle, BYTE *ptr, DWORD size); ^ fdc.c:2187:25: warning: passing 'char [129]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file_read(fileh, fname[i], 128 + 1)) { ^~~~~~~~ ./device.h:56:34: note: passing argument to parameter 'ptr' here BOOL file_read(int handle, BYTE *ptr, DWORD size); ^ 2 warnings generated. cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o keyboard.o -c keyboard.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o kanji.o -c kanji.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o tapelp.o -c tapelp.c tapelp.c:441:25: warning: passing 'char [17]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] file_read(tape_fileh, buf, 16); ^~~ ./device.h:56:34: note: passing argument to parameter 'ptr' here BOOL file_read(int handle, BYTE *ptr, DWORD size); ^ tapelp.c:629:25: warning: passing 'char [129]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file_write(fileh, tape_fname, 128 + 1)) { ^~~~~~~~~~ ./device.h:58:35: note: passing argument to parameter 'ptr' here BOOL file_write(int handle, BYTE *ptr, DWORD size); ^ tapelp.c:666:25: warning: passing 'char [129]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file_write(fileh, lp_fname, 128 + 1)) { ^~~~~~~~ ./device.h:58:35: note: passing argument to parameter 'ptr' here BOOL file_write(int handle, BYTE *ptr, DWORD size); ^ tapelp.c:713:24: warning: passing 'char [129]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file_read(fileh, fname, 128 + 1)) { ^~~~~ ./device.h:56:34: note: passing argument to parameter 'ptr' here BOOL file_read(int handle, BYTE *ptr, DWORD size); ^ tapelp.c:759:24: warning: passing 'char [129]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file_read(fileh, lp_fname, 128 + 1)) { ^~~~~~~~ ./device.h:56:34: note: passing argument to parameter 'ptr' here BOOL file_read(int handle, BYTE *ptr, DWORD size); ^ 5 warnings generated. cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o maincpu.o -c maincpu.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o mainmem.o -c mainmem.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o mainetc.o -c mainetc.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o system.o -c system.c system.c:164:25: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file_write(fileh, header, 16)) { ^~~~~~ ./device.h:58:35: note: passing argument to parameter 'ptr' here BOOL file_write(int handle, BYTE *ptr, DWORD size); ^ system.c:244:24: warning: passing 'char [16]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file_read(fileh, header, 16)) { ^~~~~~ ./device.h:56:34: note: passing argument to parameter 'ptr' here BOOL file_read(int handle, BYTE *ptr, DWORD size); ^ 2 warnings generated. cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o multipag.o -c multipag.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o subcpu.o -c subcpu.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o submem.o -c submem.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o display.o -c display.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o subctrl.o -c subctrl.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o tools.o -c tools.c tools.c:61:10: warning: passing 'BYTE [688]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(header, "Default"); ^~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ tools.c:125:25: warning: passing 'char [17]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file_write(fileh, "XM7 TAPE IMAGE 0", 16)) { ^~~~~~~~~~~~~~~~~~ ./device.h:58:35: note: passing argument to parameter 'ptr' here BOOL file_write(int handle, BYTE *ptr, DWORD size); ^ tools.c:195:10: warning: passing 'BYTE [688]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(d77_h, name); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ tools.c:399:10: warning: passing 'BYTE [688]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(d77_h, name); ^~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ tools.c:499:25: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!file_write(filed, header, 16)) { ^~~~~~ ./device.h:58:35: note: passing argument to parameter 'ptr' here BOOL file_write(int handle, BYTE *ptr, DWORD size); ^ 5 warnings generated. cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o ttlpalet.o -c ttlpalet.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o opn.o -c opn.c cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o opna.o -c opna.cpp cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o fmgen.o -c fmgen.cpp fmgen.cpp:179:11: warning: enumeration values 'next' and 'off' not handled in switch [-Wswitch] switch (phase) ^ 1 warning generated. cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o psg.o -c psg.cpp cc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o xw_disp.o -c xw_disp.c xw_disp.c:489:17: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)' buf = (char *)malloc( XSIZE * YSIZE * sizeof(long)); ^ xw_disp.c:489:17: note: please include the header or explicitly provide a declaration for 'malloc' xw_disp.c:495:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xw_disp.c:526:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xw_disp.c:597:3: warning: implicit declaration of function 'mainetc_timer' is invalid in C99 [-Wimplicit-function-declaration] mainetc_timer(); ^ xw_disp.c:650:6: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ xw_disp.c:650:6: note: please include the header or explicitly provide a declaration for 'exit' xw_disp.c:678:50: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'unsigned long' [-Wint-conversion] gc = XCreateGC( dpy, DefaultRootWindow(dpy), NULL, NULL ); ^~~~ /usr/include/sys/null.h:13:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ /usr/pkgsrc/work/emulators/xm7/work/.x11-buildlink/include/X11/Xlib.h:1599:34: note: passing argument to parameter here unsigned long /* valuemask */, ^ xw_disp.c:718:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xw_disp.c:737:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free( imgval ); ^ xw_disp.c:802:3: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] usleep( 10000 ); ^ xw_disp.c:137:1: error: invalid operand for instruction movb %%ax,1(%%edi)\n\ ^ :13:8: note: instantiated into assembly here movb %ax,1(%edi) ^~~~ xw_disp.c:140:1: error: invalid operand for instruction movb %%ax,2(%%edi)\n\ ^ :16:8: note: instantiated into assembly here movb %ax,2(%edi) ^~~~ xw_disp.c:143:1: error: invalid operand for instruction movb %%ax,3(%%edi)\n\ ^ :19:8: note: instantiated into assembly here movb %ax,3(%edi) ^~~~ xw_disp.c:146:1: error: invalid operand for instruction movb %%ax,4(%%edi)\n\ ^ :22:8: note: instantiated into assembly here movb %ax,4(%edi) ^~~~ xw_disp.c:149:1: error: invalid operand for instruction movb %%ax,5(%%edi)\n\ ^ :25:8: note: instantiated into assembly here movb %ax,5(%edi) ^~~~ xw_disp.c:152:1: error: invalid operand for instruction movb %%ax,6(%%edi)\n\ ^ :28:8: note: instantiated into assembly here movb %ax,6(%edi) ^~~~ xw_disp.c:155:1: error: invalid operand for instruction movb %%ax,7(%%edi)" : : ^ :31:8: note: instantiated into assembly here movb %ax,7(%edi) ^~~~ 9 warnings and 7 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/emulators/xm7/work/vm *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/emulators/xm7 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/emulators/xm7