=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/xm8", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for xm8-1.70nb17 clang++ -pipe -Os -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DSDL -D_PC8801MA -c -Wall -I/opt/pkg/include/SDL2 -D_THREAD_SAFE -I../UI -I../ePC-8801MA -I../ePC-8801MA/vm -I../ePC-8801MA/vm/pc8801 -I../ePC-8801MA/vm/fmgen ../UI/app.cpp -o ../UI/app.o clang++ -pipe -Os -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DSDL -D_PC8801MA -c -Wall -I/opt/pkg/include/SDL2 -D_THREAD_SAFE -I../UI -I../ePC-8801MA -I../ePC-8801MA/vm -I../ePC-8801MA/vm/pc8801 -I../ePC-8801MA/vm/fmgen ../UI/audio.cpp -o ../UI/audio.o In file included from ../UI/app.cpp:14: ../ePC-8801MA/common.h:117:14: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] 117 | typedef union { | ^ | pair In file included from ../UI/audio.cpp:14: ../ePC-8801MA/common.h../ePC-8801MA/common.h::117148::142: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] 117 | typedef :u nnote: ion { | ^ | pair ../ePC-8801MA/common.h:148:type is not C-compatible due to this member declaration2 : note: type is not C-compatible due to this member declaration 148 | 148i | n liinnlei nveo ivoid readd_2byte sr_elaed__from(uint8 *t) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 149 | { | ~ b 150 | y tes_ le_fb.lr = t[0]; b.h = tom(uint8 *t) [ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1]; 149b | . h{2 =| ~b .h3 150= | 0 ;b . l| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= t[0]; b.h = t[1]; b.h2 =151 b | . h}3 =| 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | } | ~ ~ ../ePC-8801MA/common.h:181:3: note: type is given name 'pair' for linkage purposes by this typedef declaration 181 | } pair; | ^ ../ePC-8801MA/common.h:181:3: note: type is given name 'pair' for linkage purposes by this typedef declaration 181 | } pair; | ^ In file included from ../UI/audio.cpp:15: ../UI/audio.h:60:12: error: unknown type name 'Uint8' 60 | int Write(Uint8 *stream, int len); | ^ In file included from ../UI/app.cpp:16: ../UI/emu_sdl.h:44:19: error: use of undeclared identifier '_MAX_PATH' 44 | _TCHAR base_path[_MAX_PATH * 3]; | ^ ../UI/audio.h:62:45: error: unknown type name 'Uint8' 62 | static void CommonCallback(void *userdata, Uint8 *stream, int len); | ^ ../UI/audio.h:64:16: error: unknown type name 'Uint8' 64 | void Callback(Uint8 *steram, int len); | ^ ../UI/emu_sdl.h:46:19: error: use of undeclared identifier '_MAX_PATH' 46 | _TCHAR bios_path[_MAX_PATH * 3]; | ^ ../UI/audio.h:70:2: error: unknown type name 'SDL_sem' 70 | SDL_sem *audio_sem; | ^ In file included from ../UI/app.cpp:17: In file included from ../ePC-8801MA/emu.h:14: ../ePC-8801MA/config.h:96:26: error: use of undeclared identifier '_MAX_PATH' 96 | _TCHAR initial_disk_dir[_MAX_PATH]; | ^ ../ePC-8801MA/config.h:97:47: error: use of undeclared identifier '_MAX_PATH' 97 | _TCHAR recent_disk_path[MAX_FD][MAX_HISTORY][_MAX_PATH]; | ^ ../UI/audio.h:76:2: error: unknown type name 'SDL_AudioDeviceID' 76 | SDL_AudioDeviceID device_id; | ^ ../ePC-8801MA/config.h:104:26: error: use of undeclared identifier '_MAX_PATH' 104 | _TCHAR initial_tape_dir[_MAX_PATH]; | ^ ../ePC-8801MA/config.h:105:39: error: use of undeclared identifier '_MAX_PATH' 105 | _TCHAR recent_tape_path[MAX_HISTORY][_MAX_PATH]; | ^ ../UI/audio.h:78:2: error: unknown type name 'SDL_AudioSpec' 78 | SDL_AudioSpec device_spec; | ^ ../UI/audio.h:84:2: error: unknown type name 'Uint8' 84 | Uint8 *sample_buffer; | ^ ../ePC-8801MA/config.h:140:24: error: use of undeclared identifier '_MAX_PATH' 140 | _TCHAR fmgen_dll_path[_MAX_PATH]; | ^ In file included from ../UI/app.cpp:21: In file included from ../ePC-8801MA/vm/fmsound.h:16: In file included from ../ePC-8801MA/vm/fmgen/opna.h:11: ../ePC-8801MA/vm/fmgen/fmgen.h:188:15: warning: '__stdcall' calling convention is not supported for this target [-Wignored-attributes] 188 | friend void __stdcall FM_NextPhase(Operator* op); | ^ ../UI/audio.cpp:63:14: error: use of undeclared identifier 'SDL_CreateSemaphore' 63 | audio_sem = SDL_CreateSemaphore(1); | ^ In file included from ../UI/app.cpp:22: ../ePC-8801MA/vm/pc8801/pc88.h:39:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] 39 | typedef struct { | ^ | pc88_crtc_t ../ePC-8801MA/vm/pc8801/pc88.h:68:2: note: type is not C-compatible due to this member declaration 68 | void reset(bool hireso); | ^~~~~~~~~~~~~~~~~~~~~~~ ../ePC-8801MA/vm/pc8801/pc88.h:80:3: note: type is given name 'pc88_crtc_t' for linkage purposes by this typedef declaration 80 | } pc88_crtc_t; | ^ ../ePC-8801MA/vm/pc8801/pc88.h:82:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] 82 | typedef struct { | ^ | pc88_dmac_t ../ePC-8801MA/vm/pc8801/pc88.h:94:2: note: type is not C-compatible due to this member declaration 94 | void write_io8(uint32 addr, uint32 data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ePC-8801MA/vm/pc8801/pc88.h:99:3: note: type is given name 'pc88_dmac_t' for linkage purposes by this typedef declaration 99 | } pc88_dmac_t; | ^ ../ePC-8801MA/vm/pc8801/pc88.h:238:23: error: use of undeclared identifier '_MAX_PATH' 238 | _TCHAR rec_file_path[_MAX_PATH]; | ^ ../ePC-8801MA/vm/pc8801/pc88.h:152:7: warning: 'PC88::update_timing' hides overloaded virtual function [-Woverloaded-virtual] 152 | void update_timing(); | ^ ../ePC-8801MA/vm/device.h:636:15: note: hidden overloaded virtual function 'DEVICE::update_timing' declared here: different number of parameters (3 vs 0) 636 | virtual void update_timing(int new_clocks, double new_frames_per_sec, int new_lines_per_frame) {} | ^ In file included from ../UI/app.cpp:23: ../UI/setting.h:102:2: error: unknown type name 'Uint32' 102 | Uint32 GetDip(); | ^ ../UI/setting.h:106:2: error: unknown type name 'Uint32' 106 | Uint32 GetSystems(); | ^ ../UI/setting.h:122:2: error: unknown type name 'Uint8' 122 | Uint8 GetBrightness(); | ^ ../UI/setting.h:124:21: error: unknown type name 'Uint8' 124 | void SetBrightness(Uint8 bri); | ^ ../UI/setting.h:126:2: error: unknown type name 'Uint8' 126 | Uint8 GetMenuAlpha(); | ^ ../UI/setting.h:140:2: error: unknown type name 'Uint8' 140 | Uint8 GetStatusAlpha(); | ^ ../UI/setting.h:142:22: error: unknown type name 'Uint8' 142 | void SetStatusAlpha(Uint8 alpha); | ^ ../UI/setting.h:184:2: error: unknown type name 'Uint8' 184 | Uint8 GetSoftKeyAlpha(); | ^ ../UI/setting.h:186:23: error: unknown type name 'Uint8' 186 | void SetSoftKeyAlpha(Uint8 alpha); | ^ ../UI/setting.h:188:2: error: unknown type name 'Uint32' 188 | Uint32 GetSoftKeyTime(); | ^ ../UI/setting.h:190:22: error: unknown type name 'Uint32' 190 | void SetSoftKeyTime(Uint32 ms); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] ../UI/audio.cpp:69:19: error: use of undeclared identifier 'SDL_GetNumAudioDevices' 69 | num_of_devices = SDL_GetNumAudioDevices(0); | ^ 5 warnings and 20 errors generated. gmake: *** [makefile:41: ../UI/app.o] Error 1 gmake: *** Waiting for unfinished jobs.... ../UI/audio.cpp:79:23: error: use of undeclared identifier 'SDL_GetAudioDeviceName' 79 | single_len = strlen(SDL_GetAudioDeviceName(loop, 0)); | ^ ../UI/audio.cpp:85:28: error: use of undeclared identifier 'SDL_malloc' 85 | name_of_devices = (char *)SDL_malloc(total_len); | ^ ../UI/audio.cpp:87:3: error: use of undeclared identifier 'SDL_assert' 87 | SDL_assert(false); | ^ ../UI/audio.cpp:92:23: error: use of undeclared identifier 'SDL_GetAudioDeviceName' 92 | single_len = strlen(SDL_GetAudioDeviceName(loop, 0)); | ^ ../UI/audio.cpp:93:15: error: use of undeclared identifier 'SDL_GetAudioDeviceName' 93 | strcpy(ptr, SDL_GetAudioDeviceName(loop, 0)); | ^ ../UI/audio.cpp:115:3: error: use of undeclared identifier 'SDL_free' 115 | SDL_free(name_of_devices); | ^ ../UI/audio.cpp:135:2: error: unknown type name 'SDL_AudioSpec' 135 | SDL_AudioSpec device_want; | ^ ../UI/audio.cpp:151:23: error: use of undeclared identifier 'AUDIO_S16SYS' 151 | device_want.format = AUDIO_S16SYS; | ^ ../UI/audio.cpp:153:32: error: expected ';' after expression 153 | device_want.samples = (Uint16)param->samples; | ^ | ; ../UI/audio.cpp:153:25: error: use of undeclared identifier 'Uint16' 153 | device_want.samples = (Uint16)param->samples; | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. gmake: *** [makefile:41: ../UI/audio.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/xm8 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/xm8