=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for dosbox-0.74nb4
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- all-recursive ---
Making all in cpu
--- all-recursive ---
Making all in core_full
Making all in core_normal
Making all in core_dyn_x86
Making all in core_dynrec
--- callback.o ---
--- cpu.o ---
--- flags.o ---
--- modrm.o ---
--- callback.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT callback.o -MD -MP -MF .deps/callback.Tpo -c -o callback.o callback.cpp
--- cpu.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT cpu.o -MD -MP -MF .deps/cpu.Tpo -c -o cpu.o cpu.cpp
--- flags.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT flags.o -MD -MP -MF .deps/flags.Tpo -c -o flags.o flags.cpp
--- modrm.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT modrm.o -MD -MP -MF .deps/modrm.Tpo -c -o modrm.o modrm.cpp
mv -f .deps/modrm.Tpo .deps/modrm.Po
--- core_full.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT core_full.o -MD -MP -MF .deps/core_full.Tpo -c -o core_full.o core_full.cpp
--- callback.o ---
callback.cpp:435:43: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                E_Exit("CALLBACK:Setup:Illegal type %d",type);
                                                    ~~  ^~~~
                                                    %lu
--- cpu.o ---
cpu.cpp:348:63: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                E_Exit("Illegal TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype);
                                                         ~~                 ^~~~~~~~~~~~~~~~
                                                         %lx
cpu.cpp:502:36: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        E_Exit("Task switch CS Type %d",cs_desc.Type());
                                                    ~~  ^~~~~~~~~~~~~~
                                                    %lu
cpu.cpp:724:75: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        E_Exit("INT:Gate Selector points to illegal descriptor with type %x",cs_desc.Type());
                                                                                                         ~~  ^~~~~~~~~~~~~~
                                                                                                         %lx
cpu.cpp:754:51: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num);
                                                        ~~             ^~~~~~~~~~~
                                                        %lX
cpu.cpp:754:63: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num);
                                                                   ~~              ^~~
                                                                   %lX
cpu.cpp:901:45: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        E_Exit("IRET:Illegal descriptor type %X",n_cs_desc.Type());
                                                             ~~  ^~~~~~~~~~~~~~~~
                                                             %lX
cpu.cpp:1058:44: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        E_Exit("JMP Illegal descriptor type %X",desc.Type());
                                                            ~~  ^~~~~~~~~~~
                                                            %lX
cpu.cpp:1294:49: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        E_Exit("CALL:Descriptor type %x unsupported",call.Type());
                                                     ~~              ^~~~~~~~~~~
                                                     %lx
cpu.cpp:1352:50: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                E_Exit("RET from illegal descriptor type %X",desc.Type());
                                                                         ~~  ^~~~~~~~~~~
                                                                         %lX
cpu.cpp:1397:50: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                E_Exit("RET from illegal descriptor type %X",desc.Type());              // or #GP(selector)
                                                                         ~~  ^~~~~~~~~~~
                                                                         %lX
cpu.cpp:1508:72: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                if (!cpu_tss.SetSelector(selector)) E_Exit("LTR failed, selector=%X",selector);
                                                                                 ~~  ^~~~~~~~
                                                                                 %lX
--- flags.o ---
mv -f .deps/flags.Tpo .deps/flags.Po
--- paging.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT paging.o -MD -MP -MF .deps/paging.Tpo -c -o paging.o paging.cpp
--- callback.o ---
1 warning generated.
mv -f .deps/callback.Tpo .deps/callback.Po
--- core_normal.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT core_normal.o -MD -MP -MF .deps/core_normal.Tpo -c -o core_normal.o core_normal.cpp
--- cpu.o ---
11 warnings generated.
mv -f .deps/cpu.Tpo .deps/cpu.Po
--- core_simple.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT core_simple.o -MD -MP -MF .deps/core_simple.Tpo -c -o core_simple.o core_simple.cpp
--- paging.o ---
mv -f .deps/paging.Tpo .deps/paging.Po
--- core_prefetch.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT core_prefetch.o -MD -MP -MF .deps/core_prefetch.Tpo -c -o core_prefetch.o core_prefetch.cpp
--- core_full.o ---
mv -f .deps/core_full.Tpo .deps/core_full.Po
--- core_dyn_x86.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT core_dyn_x86.o -MD -MP -MF .deps/core_dyn_x86.Tpo -c -o core_dyn_x86.o core_dyn_x86.cpp
mv -f .deps/core_dyn_x86.Tpo .deps/core_dyn_x86.Po
--- core_dynrec.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT core_dynrec.o -MD -MP -MF .deps/core_dynrec.Tpo -c -o core_dynrec.o core_dynrec.cpp
In file included from core_dynrec.cpp:137:
./core_dynrec/cache.h:503:82: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                        if (written>block->cache.size+CACHE_MAXSIZE) E_Exit("CacheBlock overrun 1 %d",written-block->cache.size);       
                                                                                                  ~~  ^~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                                  %lu
./core_dynrec/cache.h:504:59: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size);     
                                                            ~~          ^~~~~~~
                                                            %lu
./core_dynrec/cache.h:504:67: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size);     
                                                                    ~~          ^~~~~~~~~~~~~~~~~
                                                                    %lu
In file included from core_dynrec.cpp:157:
In file included from ./core_dynrec/decoder.h:24:
./core_dynrec/decoder_opcodes.h:1135:10: warning: enumeration values 'LOOP_NONE' and 'LOOP_JCXZ' not handled in switch [-Wswitch]
        switch (type) {
                ^
In file included from core_dynrec.cpp:157:
In file included from ./core_dynrec/decoder.h:26:
./core_dynrec/dyn_fpu.h:386:59: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",decode.modrm.reg,decode.modrm.rm);
                                                                   ~~                 ^~~~~~~~~~~~~~~~
                                                                   %lu
./core_dynrec/dyn_fpu.h:386:76: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",decode.modrm.reg,decode.modrm.rm);
                                                                                  ~~                   ^~~~~~~~~~~~~~~
                                                                                  %lu
--- core_normal.o ---
mv -f .deps/core_normal.Tpo .deps/core_normal.Po
--- core_prefetch.o ---
mv -f .deps/core_prefetch.Tpo .deps/core_prefetch.Po
--- core_simple.o ---
mv -f .deps/core_simple.Tpo .deps/core_simple.Po
--- core_dynrec.o ---
6 warnings generated.
mv -f .deps/core_dynrec.Tpo .deps/core_dynrec.Po
--- libcpu.a ---
rm -f libcpu.a
ar cru libcpu.a callback.o cpu.o flags.o  modrm.o core_full.o paging.o  core_normal.o core_simple.o  core_prefetch.o core_dyn_x86.o  core_dynrec.o 
ranlib libcpu.a
Making all in debug
--- debug.o ---
--- debug_gui.o ---
--- debug_disasm.o ---
--- debug_win32.o ---
--- debug.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.cpp
--- debug_gui.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT debug_gui.o -MD -MP -MF .deps/debug_gui.Tpo -c -o debug_gui.o debug_gui.cpp
--- debug_win32.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT debug_win32.o -MD -MP -MF .deps/debug_win32.Tpo -c -o debug_win32.o debug_win32.cpp
--- debug_disasm.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT debug_disasm.o -MD -MP -MF .deps/debug_disasm.Tpo -c -o debug_disasm.o debug_disasm.cpp
--- debug.o ---
mv -f .deps/debug.Tpo .deps/debug.Po
--- debug_win32.o ---
mv -f .deps/debug_win32.Tpo .deps/debug_win32.Po
--- debug_gui.o ---
mv -f .deps/debug_gui.Tpo .deps/debug_gui.Po
--- debug_disasm.o ---
mv -f .deps/debug_disasm.Tpo .deps/debug_disasm.Po
--- libdebug.a ---
rm -f libdebug.a
ar cru libdebug.a debug.o debug_gui.o  debug_disasm.o debug_win32.o 
ranlib libdebug.a
Making all in dos
--- dos.o ---
--- dos_devices.o ---
--- dos_execute.o ---
--- dos_files.o ---
--- dos_devices.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_devices.o -MD -MP -MF .deps/dos_devices.Tpo -c -o dos_devices.o dos_devices.cpp
--- dos_files.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_files.o -MD -MP -MF .deps/dos_files.Tpo -c -o dos_files.o dos_files.cpp
--- dos_execute.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_execute.o -MD -MP -MF .deps/dos_execute.Tpo -c -o dos_execute.o dos_execute.cpp
--- dos.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos.o -MD -MP -MF .deps/dos.Tpo -c -o dos.o dos.cpp
--- dos_execute.o ---
mv -f .deps/dos_execute.Tpo .deps/dos_execute.Po
--- dos_ioctl.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_ioctl.o -MD -MP -MF .deps/dos_ioctl.Tpo -c -o dos_ioctl.o dos_ioctl.cpp
--- dos_devices.o ---
mv -f .deps/dos_devices.Tpo .deps/dos_devices.Po
--- dos_memory.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_memory.o -MD -MP -MF .deps/dos_memory.Tpo -c -o dos_memory.o dos_memory.cpp
--- dos_files.o ---
mv -f .deps/dos_files.Tpo .deps/dos_files.Po
--- dos_misc.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_misc.o -MD -MP -MF .deps/dos_misc.Tpo -c -o dos_misc.o dos_misc.cpp
--- dos.o ---
mv -f .deps/dos.Tpo .deps/dos.Po
--- dos_classes.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_classes.o -MD -MP -MF .deps/dos_classes.Tpo -c -o dos_classes.o dos_classes.cpp
--- dos_ioctl.o ---
mv -f .deps/dos_ioctl.Tpo .deps/dos_ioctl.Po
--- dos_programs.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_programs.o -MD -MP -MF .deps/dos_programs.Tpo -c -o dos_programs.o dos_programs.cpp
--- dos_memory.o ---
mv -f .deps/dos_memory.Tpo .deps/dos_memory.Po
--- dos_tables.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_tables.o -MD -MP -MF .deps/dos_tables.Tpo -c -o dos_tables.o dos_tables.cpp
--- dos_misc.o ---
mv -f .deps/dos_misc.Tpo .deps/dos_misc.Po
--- drives.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT drives.o -MD -MP -MF .deps/drives.Tpo -c -o drives.o drives.cpp
--- dos_classes.o ---
mv -f .deps/dos_classes.Tpo .deps/dos_classes.Po
--- drive_virtual.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT drive_virtual.o -MD -MP -MF .deps/drive_virtual.Tpo -c -o drive_virtual.o drive_virtual.cpp
--- dos_tables.o ---
mv -f .deps/dos_tables.Tpo .deps/dos_tables.Po
--- drive_local.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT drive_local.o -MD -MP -MF .deps/drive_local.Tpo -c -o drive_local.o drive_local.cpp
--- drive_virtual.o ---
mv -f .deps/drive_virtual.Tpo .deps/drive_virtual.Po
--- drive_cache.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT drive_cache.o -MD -MP -MF .deps/drive_cache.Tpo -c -o drive_cache.o drive_cache.cpp
--- drives.o ---
mv -f .deps/drives.Tpo .deps/drives.Po
--- drive_fat.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT drive_fat.o -MD -MP -MF .deps/drive_fat.Tpo -c -o drive_fat.o drive_fat.cpp
--- dos_programs.o ---
mv -f .deps/dos_programs.Tpo .deps/dos_programs.Po
--- drive_iso.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT drive_iso.o -MD -MP -MF .deps/drive_iso.Tpo -c -o drive_iso.o drive_iso.cpp
--- drive_local.o ---
mv -f .deps/drive_local.Tpo .deps/drive_local.Po
--- dos_mscdex.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_mscdex.o -MD -MP -MF .deps/dos_mscdex.Tpo -c -o dos_mscdex.o dos_mscdex.cpp
--- drive_fat.o ---
mv -f .deps/drive_fat.Tpo .deps/drive_fat.Po
--- dos_keyboard_layout.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dos_keyboard_layout.o -MD -MP -MF .deps/dos_keyboard_layout.Tpo -c -o dos_keyboard_layout.o dos_keyboard_layout.cpp
--- drive_cache.o ---
drive_cache.cpp:448:23: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buffer,"%d",info->shortNr);
                                ~~  ^~~~~~~~~~~~~
                                %lu
1 warning generated.
mv -f .deps/drive_cache.Tpo .deps/drive_cache.Po
--- cdrom.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT cdrom.o -MD -MP -MF .deps/cdrom.Tpo -c -o cdrom.o cdrom.cpp
--- drive_iso.o ---
mv -f .deps/drive_iso.Tpo .deps/drive_iso.Po
--- cdrom_ioctl_win32.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT cdrom_ioctl_win32.o -MD -MP -MF .deps/cdrom_ioctl_win32.Tpo -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp
mv -f .deps/cdrom_ioctl_win32.Tpo .deps/cdrom_ioctl_win32.Po
--- cdrom_aspi_win32.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT cdrom_aspi_win32.o -MD -MP -MF .deps/cdrom_aspi_win32.Tpo -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp
mv -f .deps/cdrom_aspi_win32.Tpo .deps/cdrom_aspi_win32.Po
--- cdrom_ioctl_linux.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT cdrom_ioctl_linux.o -MD -MP -MF .deps/cdrom_ioctl_linux.Tpo -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp
--- dos_mscdex.o ---
mv -f .deps/dos_mscdex.Tpo .deps/dos_mscdex.Po
--- cdrom_image.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT cdrom_image.o -MD -MP -MF .deps/cdrom_image.Tpo -c -o cdrom_image.o cdrom_image.cpp
--- dos_keyboard_layout.o ---
mv -f .deps/dos_keyboard_layout.Tpo .deps/dos_keyboard_layout.Po
--- cdrom_ioctl_os2.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT cdrom_ioctl_os2.o -MD -MP -MF .deps/cdrom_ioctl_os2.Tpo -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp
--- cdrom.o ---
mv -f .deps/cdrom.Tpo .deps/cdrom.Po
--- cdrom_ioctl_linux.o ---
mv -f .deps/cdrom_ioctl_linux.Tpo .deps/cdrom_ioctl_linux.Po
--- cdrom_ioctl_os2.o ---
mv -f .deps/cdrom_ioctl_os2.Tpo .deps/cdrom_ioctl_os2.Po
--- cdrom_image.o ---
mv -f .deps/cdrom_image.Tpo .deps/cdrom_image.Po
--- libdos.a ---
rm -f libdos.a
ar cru libdos.a dos.o dos_devices.o  dos_execute.o dos_files.o dos_ioctl.o  dos_memory.o dos_misc.o dos_classes.o  dos_programs.o dos_tables.o drives.o  drive_virtual.o drive_local.o  drive_cache.o drive_fat.o drive_iso.o  dos_mscdex.o dos_keyboard_layout.o  cdrom.o cdrom_ioctl_win32.o  cdrom_aspi_win32.o cdrom_ioctl_linux.o  cdrom_image.o cdrom_ioctl_os2.o 
ranlib libdos.a
Making all in fpu
--- fpu.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT fpu.o -MD -MP -MF .deps/fpu.Tpo -c -o fpu.o fpu.cpp
fpu.cpp:389:58: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",group,sub);
                                                           ~~                 ^~~~~
                                                           %lu
fpu.cpp:389:64: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",group,sub);
                                                                          ~~        ^~~
                                                                          %lu
2 warnings generated.
mv -f .deps/fpu.Tpo .deps/fpu.Po
--- libfpu.a ---
rm -f libfpu.a
ar cru libfpu.a fpu.o 
ranlib libfpu.a
Making all in gui
--- sdlmain.o ---
--- sdl_mapper.o ---
--- render.o ---
--- render_scalers.o ---
--- sdlmain.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT sdlmain.o -MD -MP -MF .deps/sdlmain.Tpo -c -o sdlmain.o sdlmain.cpp
--- sdl_mapper.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT sdl_mapper.o -MD -MP -MF .deps/sdl_mapper.Tpo -c -o sdl_mapper.o sdl_mapper.cpp
--- render.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT render.o -MD -MP -MF .deps/render.Tpo -c -o render.o render.cpp
--- render_scalers.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT render_scalers.o -MD -MP -MF .deps/render_scalers.Tpo -c -o render_scalers.o render_scalers.cpp
--- render.o ---
render.cpp:484:40: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
--- sdlmain.o ---
sdlmain.cpp:239:111: warning: format specifies type 'int' but the argument has type 'Bits' (aka 'long') [-Wformat]
                sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram);
                                                                                 ~~~                                        ^~~~~~~~~~~~~~~~~~
                                                                                 %2ld
sdlmain.cpp:241:105: warning: format specifies type 'int' but the argument has type 'Bits' (aka 'long') [-Wformat]
                sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram);
                                                                           ~~~                                        ^~~~~~~~~~~~~~~~~~
                                                                           %2ld
--- render.o ---
                E_Exit("RENDER:Wrong source bpp %d", render.src.bpp );
                                                ~~   ^~~~~~~~~~~~~~
                                                %lu
render.cpp:543:29: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        LOG_MSG("Frame Skip at %d",render.frameskip.max);
                               ~~  ^~~~~~~~~~~~~~~~~~~~
                               %lu
render.cpp:551:29: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        LOG_MSG("Frame Skip at %d",render.frameskip.max);
                               ~~  ^~~~~~~~~~~~~~~~~~~~
                               %lu
--- sdlmain.o ---
sdlmain.cpp:443:135: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                if (sdl.surface == NULL) E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",sdl.desktop.full.width,sdl.desktop.full.height,bpp,SDL_GetError());
                                                                                                           ~~                                                     ^~~
                                                                                                           %lu
sdlmain.cpp:450:64: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                                    ~~            ^~~~~
                                                                                    %lu
sdlmain.cpp:450:70: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                                       ~~               ^~~~~~
                                                                                       %lu
sdlmain.cpp:450:77: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                                          ~~                   ^~~
                                                                                          %lu
sdlmain.cpp:472:61: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                          ~~            ^~~~~
                                                                          %lu
sdlmain.cpp:472:67: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                             ~~               ^~~~~~
                                                                             %lu
sdlmain.cpp:472:74: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                                ~~                   ^~~
                                                                                %lu
--- render.o ---
3 warnings generated.
mv -f .deps/render.Tpo .deps/render.Po
--- midi.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT midi.o -MD -MP -MF .deps/midi.Tpo -c -o midi.o midi.cpp
--- sdlmain.o ---
sdlmain.cpp:1532:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        printf(message);
               ^~~~~~~
--- sdl_mapper.o ---
sdl_mapper.cpp:544:52: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%s axis %d %d",group->ConfigStart(),axis,positive ? 1 : 0);
                                     ~~                          ^~~~
                                     %lu
sdl_mapper.cpp:547:49: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%s Axis %d%s",group->BindStart(),axis,positive ? "+" : "-");
                                     ~~                       ^~~~
                                     %lu
sdl_mapper.cpp:562:51: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%s button %d",group->ConfigStart(),button);
                                       ~~                       ^~~~~~
                                       %lu
sdl_mapper.cpp:565:49: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%s Button %d",group->BindStart(),button);
                                       ~~                     ^~~~~~
                                       %lu
sdl_mapper.cpp:586:51: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%s hat %d %d",group->ConfigStart(),hat,dir);
                                    ~~                          ^~~
                                    %lu
sdl_mapper.cpp:589:49: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%s Hat %d %s",group->BindStart(),hat,(dir==SDL_HAT_UP)?"up":
                                    ~~                        ^~~
                                    %lu
sdl_mapper.cpp:606:33: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(configname,"stick_%d",emustick);
                                          ~~  ^~~~~~~~
                                          %lu
sdl_mapper.cpp:659:94: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats);
                                                ~~                                                         ^~~~
                                                %lu
sdl_mapper.cpp:659:99: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats);
                                                         ~~                                                     ^~~~~~~
                                                         %lu
sdl_mapper.cpp:659:107: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats);
                                                                        ~~                                              ^~~~
                                                                        %lu
sdl_mapper.cpp:1590:4: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        key,
                        ^~~
sdl_mapper.cpp:1688:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
                           ~~       ^~~~~
                           %lu
sdl_mapper.cpp:1688:36: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
                              ~~          ^~~~
                              %lu
sdl_mapper.cpp:1695:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
                           ~~       ^~~~~
                           %lu
sdl_mapper.cpp:1695:36: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
                              ~~          ^~~~
                              %lu
sdl_mapper.cpp:1701:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jbutton_%d_%d",stick,button);
                             ~~     ^~~~~
                             %lu
sdl_mapper.cpp:1701:36: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jbutton_%d_%d",stick,button);
                                ~~        ^~~~~~
                                %lu
sdl_mapper.cpp:1707:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jbutton_%d_%d",stick,button);
                             ~~     ^~~~~
                             %lu
sdl_mapper.cpp:1707:36: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jbutton_%d_%d",stick,button);
                                ~~        ^~~~~~
                                %lu
sdl_mapper.cpp:1713:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir);
                          ~~        ^~~~~~
                          %lu
sdl_mapper.cpp:1713:37: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir);
                             ~~            ^~~~
                             %lu
sdl_mapper.cpp:1713:42: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir);
                                ~~              ^~~~
                                %lu
sdl_mapper.cpp:1720:23: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"mod_%d",_mod);
                         ~~  ^~~~
                         %lu
sdl_mapper.cpp:2061:62: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key);
                                             ~~                            ^~~~~~~~~~~~~~~~~~
                                             %lu
--- midi.o ---
mv -f .deps/midi.Tpo .deps/midi.Po
--- sdl_gui.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT sdl_gui.o -MD -MP -MF .deps/sdl_gui.Tpo -c -o sdl_gui.o sdl_gui.cpp
mv -f .deps/sdl_gui.Tpo .deps/sdl_gui.Po
--- sdlmain.o ---
10 warnings generated.
mv -f .deps/sdlmain.Tpo .deps/sdlmain.Po
--- sdl_mapper.o ---
24 warnings generated.
mv -f .deps/sdl_mapper.Tpo .deps/sdl_mapper.Po
--- render_scalers.o ---
mv -f .deps/render_scalers.Tpo .deps/render_scalers.Po
--- libgui.a ---
rm -f libgui.a
ar cru libgui.a sdlmain.o sdl_mapper.o  render.o render_scalers.o midi.o  sdl_gui.o 
ranlib libgui.a
Making all in hardware
--- all-recursive ---
Making all in serialport
--- directserial.o ---
--- libserial.o ---
--- serialdummy.o ---
--- serialport.o ---
--- directserial.o ---
c++ -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT directserial.o -MD -MP -MF .deps/directserial.Tpo -c -o directserial.o directserial.cpp
--- libserial.o ---
c++ -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT libserial.o -MD -MP -MF .deps/libserial.Tpo -c -o libserial.o libserial.cpp
--- serialdummy.o ---
c++ -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT serialdummy.o -MD -MP -MF .deps/serialdummy.Tpo -c -o serialdummy.o serialdummy.cpp
--- serialport.o ---
c++ -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT serialport.o -MD -MP -MF .deps/serialport.Tpo -c -o serialport.o serialport.cpp
--- libserial.o ---
mv -f .deps/libserial.Tpo .deps/libserial.Po
--- softmodem.o ---
c++ -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT softmodem.o -MD -MP -MF .deps/softmodem.Tpo -c -o softmodem.o softmodem.cpp
--- serialport.o ---
In file included from serialport.cpp:35:
./softmodem.h:95:51: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len);
                                                                         ~~   ^~~~
                                                                         %lu
./softmodem.h:129:52: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len);
                                                                          ~~   ^~~~
                                                                          %lu
serialport.cpp:274:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                                COMNUMBER, framingErrors, parityErrors, overrunErrors,
                                ^~~~~~~~~
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
serialport.cpp:274:16: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                COMNUMBER, framingErrors, parityErrors, overrunErrors,
                                           ^~~~~~~~~~~~~
serialport.cpp:274:31: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                COMNUMBER, framingErrors, parityErrors, overrunErrors,
                                                          ^~~~~~~~~~~~
serialport.cpp:274:45: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                COMNUMBER, framingErrors, parityErrors, overrunErrors,
                                                                        ^~~~~~~~~~~~~
serialport.cpp:275:5: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                overrunIF0,txOverrunErrors, breakErrors);
                                ^~~~~~~~~~
serialport.cpp:275:16: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                overrunIF0,txOverrunErrors, breakErrors);
                                           ^~~~~~~~~~~~~~~
serialport.cpp:275:33: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                overrunIF0,txOverrunErrors, breakErrors);
                                                            ^~~~~~~~~~~
serialport.cpp:1140:25: warning: format specifies type 'unsigned int *' but the argument has type 'Bitu *' (aka 'unsigned long *') [-Wformat]
        if(sscanf(tmpchar,"%u",data)!=1) return false;
                           ~~  ^~~~
                           %lu
serialport.cpp:1264:41: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                                LOG_MSG("Invalid type for serial%d",i+1);
                                                                ~~  ^~~
                                                                %lu
--- directserial.o ---
directserial.cpp:46:35: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
        LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str());
                        ~~               ^~~~~~~~~
                        %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
directserial.cpp:51:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                        COMNUMBER, tmpstring.c_str());
                        ^~~~~~~~~
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
directserial.cpp:278:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                        COMNUMBER, baudrate,bytelength,parity,stopbits);
                        ^~~~~~~~~
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
directserial.cpp:278:15: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        COMNUMBER, baudrate,bytelength,parity,stopbits);
                                   ^~~~~~~~
directserial.cpp:294:54: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER);
                               ~~                                  ^~~~~~~~~
                               %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
5 warnings generated.
mv -f .deps/directserial.Tpo .deps/directserial.Po
--- misc_util.o ---
c++ -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT misc_util.o -MD -MP -MF .deps/misc_util.Tpo -c -o misc_util.o misc_util.cpp
--- serialdummy.o ---
mv -f .deps/serialdummy.Tpo .deps/serialdummy.Po
--- nullmodem.o ---
c++ -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT nullmodem.o -MD -MP -MF .deps/nullmodem.Tpo -c -o nullmodem.o nullmodem.cpp
--- serialport.o ---
11 warnings generated.
mv -f .deps/serialport.Tpo .deps/serialport.Po
--- softmodem.o ---
In file included from softmodem.cpp:31:
./softmodem.h:95:51: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len);
                                                                         ~~   ^~~~
                                                                         %lu
./softmodem.h:129:52: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len);
                                                                          ~~   ^~~~
                                                                          %lu
softmodem.cpp:149:10: warning: enumeration value 'ResBUSY' not handled in switch [-Wswitch]
        switch (response)
                ^
softmodem.cpp:274:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                while(waitingclientsocket=serversocket->Accept())
                      ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
softmodem.cpp:274:28: note: place parentheses around the assignment to silence this warning
                while(waitingclientsocket=serversocket->Accept())
                                         ^
                      (                                         )
softmodem.cpp:274:28: note: use '==' to turn this assignment into an equality comparison
                while(waitingclientsocket=serversocket->Accept())
                                         ^
                                         ==
softmodem.cpp:280:58: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                        LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport);
                                       ~~                                     ^~~~~~~~~
                                       %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
softmodem.cpp:280:68: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport);
                                                                         ~~             ^~~~~~~~~~
                                                                         %lu
softmodem.cpp:283:60: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport);
                                      ~~                                 ^~~~~~~~~
                                      %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
softmodem.cpp:283:70: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport);
                                                                  ~~               ^~~~~~~~~~
                                                                  %lu
softmodem.cpp:513:56: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf));
                                                                              ~~          ^~~~~~~~~~~~~~~~~~~
                                                                              %lu
softmodem.cpp:533:58: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf));
                                                                               ~~           ^~~~~~~~~~~~~~~~~~~
                                                                               %lu
softmodem.cpp:542:49: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf));
                                                             ~~      ^~~~~~~~~~~~~~~~~~~
                                                             %lu
--- misc_util.o ---
mv -f .deps/misc_util.Tpo .deps/misc_util.Po
--- nullmodem.o ---
nullmodem.cpp:108:46: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                                                LOG_MSG("Serial%d: Connection failed.",COMNUMBER);
                                                               ~~                      ^~~~~~~~~
                                                               %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
nullmodem.cpp:121:42: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                                        LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf);
                                                       ~~                   ^~~~~~~~~
                                                       %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
nullmodem.cpp:136:59: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                                        LOG_MSG("Serial%d: -socket start parameter missing.",COMNUMBER);
                                                       ~~                                    ^~~~~~~~~
                                                       %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
nullmodem.cpp:143:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                                COMNUMBER);
                                ^~~~~~~~~
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
nullmodem.cpp:161:43: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                        LOG_MSG("Serial%d: Waiting for DTR...",COMNUMBER);
                                       ~~                      ^~~~~~~~~
                                       %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
nullmodem.cpp:169:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                        COMNUMBER,serverport);
                        ^~~~~~~~~
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
nullmodem.cpp:224:42: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                LOG_MSG("Serial%d: Connection failed.",idnumber+1);
                               ~~                      ^~~~~~~~~~
                               %lu
nullmodem.cpp:234:38: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
        LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf);
                       ~~                   ^~~~~~~~~~
                       %lu
nullmodem.cpp:242:36: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
        LOG_MSG("Serial%d: Disconnected.",COMNUMBER);
                       ~~                 ^~~~~~~~~
                       %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
nullmodem.cpp:386:54: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                                LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf);
                                               ~~                                ^~~~~~~~~
                                               %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
nullmodem.cpp:460:55: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                                LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data);
                                               ~~                                 ^~~~~~~~~
                                               %lu
../../../include/serialport.h:174:19: note: expanded from macro 'COMNUMBER'
#define COMNUMBER idnumber+1
                  ^~~~~~~~~~
--- softmodem.o ---
11 warnings generated.
mv -f .deps/softmodem.Tpo .deps/softmodem.Po
--- nullmodem.o ---
11 warnings generated.
mv -f .deps/nullmodem.Tpo .deps/nullmodem.Po
--- libserial.a ---
rm -f libserial.a
ar cru libserial.a directserial.o libserial.o  serialdummy.o serialport.o softmodem.o  misc_util.o nullmodem.o 
ranlib libserial.a
--- adlib.o ---
--- dma.o ---
--- gameblaster.o ---
--- hardware.o ---
--- adlib.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT adlib.o -MD -MP -MF .deps/adlib.Tpo -c -o adlib.o adlib.cpp
--- dma.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dma.o -MD -MP -MF .deps/dma.Tpo -c -o dma.o dma.cpp
--- gameblaster.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT gameblaster.o -MD -MP -MF .deps/gameblaster.Tpo -c -o gameblaster.o gameblaster.cpp
--- hardware.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT hardware.o -MD -MP -MF .deps/hardware.Tpo -c -o hardware.o hardware.cpp
--- adlib.o ---
adlib.cpp:657:11: warning: enumeration values 'OPL_none' and 'OPL_cms' not handled in switch [-Wswitch]
        switch ( oplmode ) {
                 ^
--- hardware.o ---
In file included from hardware.cpp:36:
./../libs/zmbv/zmbv.cpp:342:11: warning: 5 enumeration values not handled in switch: 'ZMBV_FORMAT_NONE', 'ZMBV_FORMAT_1BPP', 'ZMBV_FORMAT_2BPP'... [-Wswitch]
                switch (format) {
                        ^
./../libs/zmbv/zmbv.cpp:463:11: warning: 5 enumeration values not handled in switch: 'ZMBV_FORMAT_NONE', 'ZMBV_FORMAT_1BPP', 'ZMBV_FORMAT_2BPP'... [-Wswitch]
                switch (format) {
                        ^
./../libs/zmbv/zmbv.cpp:487:11: warning: 5 enumeration values not handled in switch: 'ZMBV_FORMAT_NONE', 'ZMBV_FORMAT_1BPP', 'ZMBV_FORMAT_2BPP'... [-Wswitch]
                switch (format) {
                        ^
hardware.cpp:122:81: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext);
                                 ~~~~                                                  ^~~~
                                 %03lu
--- dma.o ---
mv -f .deps/dma.Tpo .deps/dma.Po
--- iohandler.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT iohandler.o -MD -MP -MF .deps/iohandler.Tpo -c -o iohandler.o iohandler.cpp
--- gameblaster.o ---
mv -f .deps/gameblaster.Tpo .deps/gameblaster.Po
--- joystick.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT joystick.o -MD -MP -MF .deps/joystick.Tpo -c -o joystick.o joystick.cpp
--- iohandler.o ---
iohandler.cpp:119:60: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        } else E_Exit("IO_readHandler allready installed port %x",port);
                                                              ~~  ^~~~
                                                              %lx
iohandler.cpp:134:61: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        } else E_Exit("IO_writeHandler allready installed port %x",port);
                                                               ~~  ^~~~
                                                               %lx
--- hardware.o ---
4 warnings generated.
mv -f .deps/hardware.Tpo .deps/hardware.Po
--- keyboard.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT keyboard.o -MD -MP -MF .deps/keyboard.Tpo -c -o keyboard.o keyboard.cpp
mv -f .deps/keyboard.Tpo .deps/keyboard.Po
--- memory.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT memory.o -MD -MP -MF .deps/memory.Tpo -c -o memory.o memory.cpp
--- iohandler.o ---
2 warnings generated.
mv -f .deps/iohandler.Tpo .deps/iohandler.Po
--- mixer.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT mixer.o -MD -MP -MF .deps/mixer.Tpo -c -o mixer.o mixer.cpp
--- joystick.o ---
mv -f .deps/joystick.Tpo .deps/joystick.Po
--- pcspeaker.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT pcspeaker.o -MD -MP -MF .deps/pcspeaker.Tpo -c -o pcspeaker.o pcspeaker.cpp
--- memory.o ---
memory.cpp:562:62: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize);
                                                                    ~~     ^~~~~~~
                                                                    %lu
--- adlib.o ---
1 warning generated.
mv -f .deps/adlib.Tpo .deps/adlib.Po
--- pic.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT pic.o -MD -MP -MF .deps/pic.Tpo -c -o pic.o pic.cpp
--- memory.o ---
1 warning generated.
mv -f .deps/memory.Tpo .deps/memory.Po
--- sblaster.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT sblaster.o -MD -MP -MF .deps/sblaster.Tpo -c -o sblaster.o sblaster.cpp
--- pcspeaker.o ---
mv -f .deps/pcspeaker.Tpo .deps/pcspeaker.Po
--- tandy_sound.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT tandy_sound.o -MD -MP -MF .deps/tandy_sound.Tpo -c -o tandy_sound.o tandy_sound.cpp
--- pic.o ---
pic.cpp:204:67: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val);
                                                     ~~                         ^~~
                                                     %lx
pic.cpp:205:84: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val);
                                                      ~~                                         ^~~
                                                      %lx
2 warnings generated.
mv -f .deps/pic.Tpo .deps/pic.Po
--- timer.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT timer.o -MD -MP -MF .deps/timer.Tpo -c -o timer.o timer.cpp
--- tandy_sound.o ---
tandy_sound.cpp:408:45: warning: '&' within '|' [-Wbitwise-op-parentheses]
                tandy.dac.frequency = tandy.dac.frequency & 0xf00 | (Bit8u)(data&0xff);
                                      ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ~
tandy_sound.cpp:408:45: note: place parentheses around the '&' expression to silence this warning
                tandy.dac.frequency = tandy.dac.frequency & 0xf00 | (Bit8u)(data&0xff);
                                                          ^
                                      (                          )
tandy_sound.cpp:421:45: warning: '&' within '|' [-Wbitwise-op-parentheses]
                tandy.dac.frequency = tandy.dac.frequency & 0x00ff | (((Bit8u)(data&0xf))<<8);
                                      ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ~
tandy_sound.cpp:421:45: note: place parentheses around the '&' expression to silence this warning
                tandy.dac.frequency = tandy.dac.frequency & 0x00ff | (((Bit8u)(data&0xf))<<8);
                                                          ^
                                      (                           )
tandy_sound.cpp:446:44: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        LOG_MSG("Tandy DAC: Read from unknown %X",port);
                                              ~~  ^~~~
                                              %lX
3 warnings generated.
mv -f .deps/tandy_sound.Tpo .deps/tandy_sound.Po
--- vga.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga.o -MD -MP -MF .deps/vga.Tpo -c -o vga.o vga.cpp
--- mixer.o ---
mv -f .deps/mixer.Tpo .deps/mixer.Po
--- vga_attr.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_attr.o -MD -MP -MF .deps/vga_attr.Tpo -c -o vga_attr.o vga_attr.cpp
--- timer.o ---
mv -f .deps/timer.Tpo .deps/timer.Po
--- vga_crtc.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_crtc.o -MD -MP -MF .deps/vga_crtc.Tpo -c -o vga_crtc.o vga_crtc.cpp
mv -f .deps/vga_crtc.Tpo .deps/vga_crtc.Po
--- vga.o ---
mv -f .deps/vga.Tpo .deps/vga.Po
--- vga_dac.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_dac.o -MD -MP -MF .deps/vga_dac.Tpo -c -o vga_dac.o vga_dac.cpp
--- vga_draw.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_draw.o -MD -MP -MF .deps/vga_draw.Tpo -c -o vga_draw.o vga_draw.cpp
--- vga_dac.o ---
mv -f .deps/vga_dac.Tpo .deps/vga_dac.Po
--- vga_gfx.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_gfx.o -MD -MP -MF .deps/vga_gfx.Tpo -c -o vga_gfx.o vga_gfx.cpp
mv -f .deps/vga_gfx.Tpo .deps/vga_gfx.Po
--- vga_other.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_other.o -MD -MP -MF .deps/vga_other.Tpo -c -o vga_other.o vga_other.cpp
vga_other.cpp:240:10: warning: 13 enumeration values not handled in switch: 'M_CGA2', 'M_CGA4', 'M_EGA'... [-Wswitch]
        switch (vga.mode) {
                ^
--- vga_attr.o ---
mv -f .deps/vga_attr.Tpo .deps/vga_attr.Po
--- vga_memory.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_memory.o -MD -MP -MF .deps/vga_memory.Tpo -c -o vga_memory.o vga_memory.cpp
--- vga_other.o ---
1 warning generated.
mv -f .deps/vga_other.Tpo .deps/vga_other.Po
--- vga_misc.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_misc.o -MD -MP -MF .deps/vga_misc.Tpo -c -o vga_misc.o vga_misc.cpp
mv -f .deps/vga_misc.Tpo .deps/vga_misc.Po
--- vga_seq.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_seq.o -MD -MP -MF .deps/vga_seq.Tpo -c -o vga_seq.o vga_seq.cpp
mv -f .deps/vga_seq.Tpo .deps/vga_seq.Po
--- vga_xga.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_xga.o -MD -MP -MF .deps/vga_xga.Tpo -c -o vga_xga.o vga_xga.cpp
vga_xga.cpp:108:55: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        LOG_MSG("XGA: Unhandled multifunction command %x", regselect);
                                                                      ~~   ^~~~~~~~~
                                                                      %lx
vga_xga.cpp:329:48: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode);
                                                                      ~~   ^~~~~~~
                                                                      %lx
vga_xga.cpp:433:49: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode);
                                                                              ~~   ^~~~~~~
                                                                              %lx
vga_xga.cpp:505:49: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        LOG_MSG("XGA: DrawRect: Needs mixmode %x", mixmode);
                                                                              ~~   ^~~~~~~
                                                                              %lx
vga_xga.cpp:643:9: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
--- sblaster.o ---
mv -f .deps/sblaster.Tpo .deps/sblaster.Po
--- vga_xga.o ---
                                                                xga.waitcmd.buswidth);
                                                                ^~~~~~~~~~~~~~~~~~~~
vga_xga.cpp:691:11: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
                                                                                (mixmode >> 5) & 0x03);
                                                                                ^~~~~~~~~~~~~~~~~~~~~
vga_xga.cpp:710:58: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        LOG_MSG("XGA: DrawBlitWait: Unhandled mixmode: %d", mixmode);
                                                                                       ~~   ^~~~~~~
                                                                                       %lu
--- vga_s3.o ---
--- vga_xga.o ---
vga_xga.cpp:976:9: warning: 14 enumeration values not handled in switch: 'M_CGA2', 'M_CGA4', 'M_EGA'... [-Wswitch]
        switch(XGA_COLOR_MODE) {
               ^
vga_xga.cpp:31:25: note: expanded from macro 'XGA_COLOR_MODE'
#define XGA_COLOR_MODE          vga.s3.xga_color_mode
                                ^
vga_xga.cpp:995:9: warning: 14 enumeration values not handled in switch: 'M_CGA2', 'M_CGA4', 'M_EGA'... [-Wswitch]
        switch(XGA_COLOR_MODE) {
               ^
vga_xga.cpp:31:25: note: expanded from macro 'XGA_COLOR_MODE'
#define XGA_COLOR_MODE          vga.s3.xga_color_mode
                                ^
vga_xga.cpp:1167:58: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len);
                                                         ~~                   ^~~~
                                                         %lx
--- vga_s3.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_s3.o -MD -MP -MF .deps/vga_s3.Tpo -c -o vga_s3.o vga_s3.cpp
--- vga_xga.o ---
vga_xga.cpp:1167:64: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len);
                                                                 ~~                 ^~~
                                                                 %lx
vga_xga.cpp:1167:69: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len);
                                                                         ~~              ^~~
                                                                         %lx
--- vga_s3.o ---
mv -f .deps/vga_s3.Tpo .deps/vga_s3.Po
--- vga_tseng.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_tseng.o -MD -MP -MF .deps/vga_tseng.Tpo -c -o vga_tseng.o vga_tseng.cpp
--- vga_draw.o ---
mv -f .deps/vga_draw.Tpo .deps/vga_draw.Po
--- vga_paradise.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT vga_paradise.o -MD -MP -MF .deps/vga_paradise.Tpo -c -o vga_paradise.o vga_paradise.cpp
--- vga_memory.o ---
mv -f .deps/vga_memory.Tpo .deps/vga_memory.Po
--- cmos.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT cmos.o -MD -MP -MF .deps/cmos.Tpo -c -o cmos.o cmos.cpp
--- vga_xga.o ---
12 warnings generated.
mv -f .deps/vga_xga.Tpo .deps/vga_xga.Po
--- disney.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT disney.o -MD -MP -MF .deps/disney.Tpo -c -o disney.o disney.cpp
--- vga_tseng.o ---
mv -f .deps/vga_tseng.Tpo .deps/vga_tseng.Po
--- gus.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT gus.o -MD -MP -MF .deps/gus.Tpo -c -o gus.o gus.cpp
--- disney.o ---
mv -f .deps/disney.Tpo .deps/disney.Po
--- mpu401.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT mpu401.o -MD -MP -MF .deps/mpu401.Tpo -c -o mpu401.o mpu401.cpp
--- cmos.o ---
mv -f .deps/cmos.Tpo .deps/cmos.Po
--- vga_paradise.o ---
mv -f .deps/vga_paradise.Tpo .deps/vga_paradise.Po
--- ipx.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT ipx.o -MD -MP -MF .deps/ipx.Tpo -c -o ipx.o ipx.cpp
--- ipxserver.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT ipxserver.o -MD -MP -MF .deps/ipxserver.Tpo -c -o ipxserver.o ipxserver.cpp
mv -f .deps/ipxserver.Tpo .deps/ipxserver.Po
--- dbopl.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dbopl.o -MD -MP -MF .deps/dbopl.Tpo -c -o dbopl.o dbopl.cpp
--- gus.o ---
mv -f .deps/gus.Tpo .deps/gus.Po
--- mpu401.o ---
mv -f .deps/mpu401.Tpo .deps/mpu401.Po
--- dbopl.o ---
dbopl.cpp:848:10: warning: no case matching constant switch condition '11'
        switch( mode ) {
                ^~~~
dbopl.cpp:1035:38: note: in instantiation of function template specialization 'DBOPL::Channel::BlockTemplate<11>' requested here
                                chan[6].synthHandler = &Channel::BlockTemplate< sm3Percussion >; 
                                                                 ^
dbopl.cpp:938:11: warning: no case matching constant switch condition '11'
                switch( mode ) {
                        ^~~~
dbopl.cpp:848:10: warning: no case matching constant switch condition '10'
        switch( mode ) {
                ^~~~
dbopl.cpp:1037:38: note: in instantiation of function template specialization 'DBOPL::Channel::BlockTemplate<10>' requested here
                                chan[6].synthHandler = &Channel::BlockTemplate< sm2Percussion >; 
                                                                 ^
dbopl.cpp:938:11: warning: no case matching constant switch condition '10'
                switch( mode ) {
                        ^~~~
--- ipx.o ---
mv -f .deps/ipx.Tpo .deps/ipx.Po
--- dbopl.o ---
4 warnings generated.
mv -f .deps/dbopl.Tpo .deps/dbopl.Po
--- libhardware.a ---
rm -f libhardware.a
ar cru libhardware.a adlib.o dma.o  gameblaster.o hardware.o iohandler.o  joystick.o keyboard.o memory.o  mixer.o pcspeaker.o pic.o  sblaster.o tandy_sound.o timer.o  vga.o vga_attr.o vga_crtc.o  vga_dac.o vga_draw.o vga_gfx.o  vga_other.o vga_memory.o vga_misc.o  vga_seq.o vga_xga.o vga_s3.o  vga_tseng.o vga_paradise.o cmos.o  disney.o gus.o mpu401.o ipx.o  ipxserver.o dbopl.o 
ranlib libhardware.a
Making all in libs
--- all-recursive ---
Making all in zmbv
Making all in gui_tk
--- gui_tk.o ---
c++ -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT gui_tk.o -MD -MP -MF .deps/gui_tk.Tpo -c -o gui_tk.o gui_tk.cpp
mv -f .deps/gui_tk.Tpo .deps/gui_tk.Po
--- libgui_tk.a ---
rm -f libgui_tk.a
ar cru libgui_tk.a gui_tk.o 
ranlib libgui_tk.a
Making all in ints
--- mouse.o ---
--- xms.o ---
--- ems.o ---
--- int10.o ---
--- xms.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT xms.o -MD -MP -MF .deps/xms.Tpo -c -o xms.o xms.cpp
--- ems.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT ems.o -MD -MP -MF .deps/ems.Tpo -c -o ems.o ems.cpp
--- int10.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT int10.o -MD -MP -MF .deps/int10.Tpo -c -o int10.o int10.cpp
--- mouse.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT mouse.o -MD -MP -MF .deps/mouse.Tpo -c -o mouse.o mouse.cpp
mv -f .deps/mouse.Tpo .deps/mouse.Po
--- int10_char.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT int10_char.o -MD -MP -MF .deps/int10_char.Tpo -c -o int10_char.o int10_char.cpp
int10_char.cpp:516:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((CurMode->mode == 0x6)/* || (CurMode->mode==0x11)*/) attr = (attr&0x80)|1;
             ~~~~~~~~~~~~~~^~~~~~
int10_char.cpp:516:21: note: remove extraneous parentheses around the comparison to silence this warning
        if ((CurMode->mode == 0x6)/* || (CurMode->mode==0x11)*/) attr = (attr&0x80)|1;
            ~              ^     ~
int10_char.cpp:516:21: note: use '=' to turn this equality comparison into an assignment
        if ((CurMode->mode == 0x6)/* || (CurMode->mode==0x11)*/) attr = (attr&0x80)|1;
                           ^~
                           =
int10_char.cpp:546:11: warning: enumeration values 'MCH_HERC' and 'MCH_TANDY' not handled in switch [-Wswitch]
                switch (machine) {
                        ^
2 warnings generated.
mv -f .deps/int10_char.Tpo .deps/int10_char.Po
--- int10_memory.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT int10_memory.o -MD -MP -MF .deps/int10_memory.Tpo -c -o int10_memory.o int10_memory.cpp
--- xms.o ---
mv -f .deps/xms.Tpo .deps/xms.Po
--- int10_misc.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT int10_misc.o -MD -MP -MF .deps/int10_misc.Tpo -c -o int10_misc.o int10_misc.cpp
--- int10.o ---
mv -f .deps/int10.Tpo .deps/int10.Po
--- int10_memory.o ---
mv -f .deps/int10_memory.Tpo .deps/int10_memory.Po
--- int10_modes.o ---
--- int10_vesa.o ---
--- int10_modes.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT int10_modes.o -MD -MP -MF .deps/int10_modes.Tpo -c -o int10_modes.o int10_modes.cpp
--- int10_vesa.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT int10_vesa.o -MD -MP -MF .deps/int10_vesa.Tpo -c -o int10_vesa.o int10_vesa.cpp
--- int10_modes.o ---
int10_modes.cpp:380:11: warning: 7 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
--- ems.o ---
mv -f .deps/ems.Tpo .deps/ems.Po
--- int10_misc.o ---
mv -f .deps/int10_misc.Tpo .deps/int10_misc.Po
--- int10_modes.o ---
                switch (CurMode->type) {
                        ^
int10_modes.cpp:439:10: warning: enumeration values 'MCH_EGA' and 'MCH_VGA' not handled in switch [-Wswitch]
        switch (machine) {
                ^
int10_modes.cpp:482:9: warning: 14 enumeration values not handled in switch: 'M_EGA', 'M_VGA', 'M_LIN4'... [-Wswitch]
        switch(CurMode->type) {
               ^
int10_modes.cpp:516:10: warning: enumeration values 'MCH_EGA' and 'MCH_VGA' not handled in switch [-Wswitch]
        switch (machine) {
                ^
int10_modes.cpp:723:10: warning: 8 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
        switch (CurMode->type) {
                ^
int10_modes.cpp:878:10: warning: 10 enumeration values not handled in switch: 'M_EGA', 'M_LIN4', 'M_HERC_GFX'... [-Wswitch]
        switch (CurMode->type) {
                ^
--- int10_pal.o ---
--- int10_put_pixel.o ---
--- int10_modes.o ---
int10_modes.cpp:947:10: warning: 8 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
        switch (CurMode->type) {
                ^
int10_modes.cpp:1020:10: warning: 8 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
        switch (CurMode->type) {
                ^
int10_modes.cpp:1058:10: warning: 7 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
        switch (CurMode->type) {
                ^
int10_modes.cpp:1157:11: warning: 7 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
                switch (CurMode->type) {
                        ^
int10_modes.cpp:1238:10: warning: 11 enumeration values not handled in switch: 'M_LIN8', 'M_LIN15', 'M_LIN16'... [-Wswitch]
        switch (CurMode->type) {
                ^
--- int10_pal.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT int10_pal.o -MD -MP -MF .deps/int10_pal.Tpo -c -o int10_pal.o int10_pal.cpp
--- int10_put_pixel.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT int10_put_pixel.o -MD -MP -MF .deps/int10_put_pixel.Tpo -c -o int10_put_pixel.o int10_put_pixel.cpp
--- int10_modes.o ---
int10_modes.cpp:1401:9: warning: 12 enumeration values not handled in switch: 'M_CGA2', 'M_CGA4', 'M_EGA'... [-Wswitch]
        switch(vmodeBlock->type) {
               ^
--- int10_pal.o ---
int10_pal.cpp:37:10: warning: enumeration values 'MCH_HERC' and 'MCH_CGA' not handled in switch [-Wswitch]
        switch (machine) {
                ^
int10_pal.cpp:56:10: warning: enumeration values 'MCH_HERC' and 'MCH_CGA' not handled in switch [-Wswitch]
        switch (machine) {
                ^
int10_pal.cpp:71:10: warning: enumeration values 'MCH_HERC' and 'MCH_CGA' not handled in switch [-Wswitch]
        switch (machine) {
                ^
--- int10_modes.o ---
12 warnings generated.
mv -f .deps/int10_modes.Tpo .deps/int10_modes.Po
--- int10_video_state.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT int10_video_state.o -MD -MP -MF .deps/int10_video_state.Tpo -c -o int10_video_state.o int10_video_state.cpp
--- int10_put_pixel.o ---
mv -f .deps/int10_put_pixel.Tpo .deps/int10_put_pixel.Po
--- int10_pal.o ---
3 warnings generated.
--- int10_vptable.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT int10_vptable.o -MD -MP -MF .deps/int10_vptable.Tpo -c -o int10_vptable.o int10_vptable.cpp
--- int10_pal.o ---
mv -f .deps/int10_pal.Tpo .deps/int10_pal.Po
--- bios.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT bios.o -MD -MP -MF .deps/bios.Tpo -c -o bios.o bios.cpp
--- int10_video_state.o ---
mv -f .deps/int10_video_state.Tpo .deps/int10_video_state.Po
--- bios_disk.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT bios_disk.o -MD -MP -MF .deps/bios_disk.Tpo -c -o bios_disk.o bios_disk.cpp
--- int10_vesa.o ---
int10_vesa.cpp:491:10: warning: 4 enumeration values not handled in switch: 'SVGA_None', 'SVGA_TsengET4K', 'SVGA_TsengET3K'... [-Wswitch]
        switch (svgaCard) {
                ^
--- int10_vptable.o ---
mv -f .deps/int10_vptable.Tpo .deps/int10_vptable.Po
--- bios_keyboard.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT bios_keyboard.o -MD -MP -MF .deps/bios_keyboard.Tpo -c -o bios_keyboard.o bios_keyboard.cpp
--- int10_vesa.o ---
1 warning generated.
mv -f .deps/int10_vesa.Tpo .deps/int10_vesa.Po
--- bios.o ---
mv -f .deps/bios.Tpo .deps/bios.Po
--- bios_disk.o ---
bios_disk.cpp:109:65: warning: format specifies type 'int' but the argument has type 'Bits' (aka 'long') [-Wformat]
                        LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname);
                                             ~~                                      ^~~~~~~~~
                                             %ld
bios_disk.cpp:109:76: warning: format specifies type 'int' but the argument has type 'Bits' (aka 'long') [-Wformat]
                        LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname);
                                                                       ~~                       ^~~~~~~
                                                                       %ld
2 warnings generated.
mv -f .deps/bios_disk.Tpo .deps/bios_disk.Po
--- bios_keyboard.o ---
mv -f .deps/bios_keyboard.Tpo .deps/bios_keyboard.Po
--- libints.a ---
rm -f libints.a
ar cru libints.a mouse.o xms.o ems.o  int10.o int10_char.o int10_memory.o  int10_misc.o int10_modes.o  int10_vesa.o int10_pal.o  int10_put_pixel.o int10_video_state.o  int10_vptable.o bios.o bios_disk.o  bios_keyboard.o 
ranlib libints.a
Making all in misc
--- cross.o ---
--- messages.o ---
--- programs.o ---
--- setup.o ---
--- cross.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT cross.o -MD -MP -MF .deps/cross.Tpo -c -o cross.o cross.cpp
--- messages.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT messages.o -MD -MP -MF .deps/messages.Tpo -c -o messages.o messages.cpp
--- programs.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT programs.o -MD -MP -MF .deps/programs.Tpo -c -o programs.o programs.cpp
--- setup.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT setup.o -MD -MP -MF .deps/setup.Tpo -c -o setup.o setup.cpp
--- messages.o ---
messages.cpp:93:4: warning: expression result unused [-Wunused-value]
                        *parser++;
                        ^~~~~~~~~
1 warning generated.
mv -f .deps/messages.Tpo .deps/messages.Po
--- support.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT support.o -MD -MP -MF .deps/support.Tpo -c -o support.o support.cpp
--- programs.o ---
mv -f .deps/programs.Tpo .deps/programs.Po
--- cross.o ---
mv -f .deps/cross.Tpo .deps/cross.Po
--- setup.o ---
setup.cpp:275:41: warning: format specifies type 'unsigned int *' but the argument has type 'Bitu *' (aka 'unsigned long *') [-Wformat]
                        if(sscanf(in.ToString().c_str(),"%u",&value) == 1) {
                                                         ~~  ^~~~~~
                                                         %lu
setup.cpp:636:31: warning: field width should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat]
                        snprintf(prefix,80, "\n# %*s  ", maxwidth, "");
                                                 ~~^     ~~~~~~~~
setup.cpp:644:27: warning: field width should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat]
                                fprintf(outfile, "# %*s: %s", maxwidth, p->propname.c_str(), help.c_str());
                                                    ~~^       ~~~~~~~~
--- support.o ---
mv -f .deps/support.Tpo .deps/support.Po
--- setup.o ---
3 warnings generated.
mv -f .deps/setup.Tpo .deps/setup.Po
--- libmisc.a ---
rm -f libmisc.a
ar cru libmisc.a cross.o messages.o  programs.o setup.o support.o 
ranlib libmisc.a
Making all in shell
--- shell.o ---
--- shell_batch.o ---
--- shell_cmds.o ---
--- shell_misc.o ---
--- shell.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT shell.o -MD -MP -MF .deps/shell.Tpo -c -o shell.o shell.cpp
--- shell_batch.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT shell_batch.o -MD -MP -MF .deps/shell_batch.Tpo -c -o shell_batch.o shell_batch.cpp
--- shell_cmds.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT shell_cmds.o -MD -MP -MF .deps/shell_cmds.Tpo -c -o shell_cmds.o shell_cmds.cpp
--- shell_misc.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT shell_misc.o -MD -MP -MF .deps/shell_misc.Tpo -c -o shell_misc.o shell_misc.cpp
mv -f .deps/shell_misc.Tpo .deps/shell_misc.Po
--- shell_cmds.o ---
shell_cmds.cpp:379:35: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb);
                             ~~                 ^~~~
                             %lu
shell_cmds.cpp:379:40: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb);
                                ~~~~                 ^~~~
                                %03lu
shell_cmds.cpp:379:45: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb);
                                     ~~~~                 ^~~~
                                     %03lu
shell_cmds.cpp:379:50: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb);
                                          ~~~~                 ^~~~
                                          %03lu
shell_cmds.cpp:383:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%d,%03d,%03d",numm,numk,numb);
                             ~~            ^~~~
                             %lu
shell_cmds.cpp:383:35: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%d,%03d,%03d",numm,numk,numb);
                                ~~~~            ^~~~
                                %03lu
shell_cmds.cpp:383:40: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%d,%03d,%03d",numm,numk,numb);
                                     ~~~~            ^~~~
                                     %03lu
shell_cmds.cpp:387:25: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%d,%03d",numk,numb);
                             ~~       ^~~~
                             %lu
shell_cmds.cpp:387:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buf,"%d,%03d",numk,numb);
                                ~~~~       ^~~~
                                %03lu
shell_cmds.cpp:390:19: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"%d",numb);
                     ~~  ^~~~
                     %lu
--- shell_batch.o ---
mv -f .deps/shell_batch.Tpo .deps/shell_batch.Po
--- shell.o ---
mv -f .deps/shell.Tpo .deps/shell.Po
--- shell_cmds.o ---
10 warnings generated.
mv -f .deps/shell_cmds.Tpo .deps/shell_cmds.Po
--- libshell.a ---
rm -f libshell.a
ar cru libshell.a shell.o shell_batch.o  shell_cmds.o shell_misc.o 
ranlib libshell.a
Making all in platform
--- all-recursive ---
Making all in visualc
--- dosbox.o ---
c++ -DHAVE_CONFIG_H -I. -I..   -I../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -MT dosbox.o -MD -MP -MF .deps/dosbox.Tpo -c -o dosbox.o dosbox.cpp
mv -f .deps/dosbox.Tpo .deps/dosbox.Po
--- dosbox ---
c++  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib  -o dosbox dosbox.o  cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a  hardware/libhardware.a gui/libgui.a  ints/libints.a misc/libmisc.a shell/libshell.a hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a -lSDL_sound  -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -lpng -lz -lSDL_net -lX11 -lGL
cpu/libcpu.a(core_dynrec.o): In function `CreateCacheBlock(CodePageHandlerDynRec*, unsigned int, unsigned long)':
core_dynrec.cpp:(.text+0x2986): relocation truncated to fit: R_X86_64_32S against symbol `Segs' defined in .bss section in cpu/libcpu.a(cpu.o)
core_dynrec.cpp:(.text+0x15290): relocation truncated to fit: R_X86_64_32S against symbol `cpu_regs' defined in .bss section in cpu/libcpu.a(cpu.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [dosbox] Error code 1

make: stopped in /scratch/emulators/dosbox/work/dosbox-0.74/src
1 error

make: stopped in /scratch/emulators/dosbox/work/dosbox-0.74/src
*** [all-recursive] Error code 1

make: stopped in /scratch/emulators/dosbox/work/dosbox-0.74/src
1 error

make: stopped in /scratch/emulators/dosbox/work/dosbox-0.74/src
*** [all-recursive] Error code 1

make: stopped in /scratch/emulators/dosbox/work/dosbox-0.74
1 error

make: stopped in /scratch/emulators/dosbox/work/dosbox-0.74
*** [all] Error code 2

make: stopped in /scratch/emulators/dosbox/work/dosbox-0.74
1 error

make: stopped in /scratch/emulators/dosbox/work/dosbox-0.74
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/emulators/dosbox
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/emulators/dosbox
