===> Building for libretro-2048-20181229 clang -pipe -Os -DGIT_VERSION=\"-pkgsrc\" -arch i386 -arch x86_64 -O2 -DNDEBUG -fPIC -mmacosx-version-min=10.1 -c -olibretro.o libretro.c clang -pipe -Os -DGIT_VERSION=\"-pkgsrc\" -arch i386 -arch x86_64 -O2 -DNDEBUG -fPIC -mmacosx-version-min=10.1 -c -ogame_noncairo.o game_noncairo.c clang -pipe -Os -DGIT_VERSION=\"-pkgsrc\" -arch i386 -arch x86_64 -O2 -DNDEBUG -fPIC -mmacosx-version-min=10.1 -c -ogame_shared.o game_shared.c clang -fPIC -mmacosx-version-min=10.1 -dynamiclib -o 2048_libretro.dylib ./libretro.o ./game_noncairo.o ./game_shared.o -L/opt/pkg/lib -arch i386 -arch x86_64 -lm ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS) ld: warning: ignoring file /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/dylib1.o, building for macOS-i386 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libm.tbd, missing required architecture i386 in file /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libm.tbd (3 slices) ld: warning: ignoring file /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libSystem.tbd (3 slices) Undefined symbols for architecture i386: "___error", referenced from: _retro_init in libretro.o _retro_deinit in libretro.o "___stderrp", referenced from: _fallback_log in libretro.o "_calloc", referenced from: _game_init in game_noncairo.o "_cos", referenced from: _cos_interp in game_shared.o (maybe you meant: _cos_interp) "_fclose", referenced from: _retro_init in libretro.o _retro_deinit in libretro.o "_fopen", referenced from: _retro_init in libretro.o _retro_deinit in libretro.o "_fread", referenced from: _retro_init in libretro.o "_free", referenced from: _Draw_string in game_noncairo.o _game_deinit in game_noncairo.o "_fwrite", referenced from: _retro_deinit in libretro.o "_malloc", referenced from: _Draw_string in game_noncairo.o "_memcpy", referenced from: _retro_load_game in libretro.o _retro_serialize in libretro.o _retro_unserialize in libretro.o "_memset", referenced from: _retro_init in libretro.o _retro_deinit in libretro.o _init_game in game_shared.o "_printf", referenced from: _initgraph in game_noncairo.o _game_init in game_noncairo.o "_rand", referenced from: _start_game in game_shared.o _game_update in game_shared.o "_sprintf", referenced from: _retro_init in libretro.o _retro_deinit in libretro.o _render_playing in game_noncairo.o _render_win_or_game_over in game_noncairo.o _render_paused in game_noncairo.o "_srand", referenced from: _game_init in game_noncairo.o "_strerror", referenced from: _retro_init in libretro.o _retro_deinit in libretro.o "_strlen", referenced from: _render_playing in game_noncairo.o _draw_tile in game_noncairo.o _render_win_or_game_over in game_noncairo.o _render_paused in game_noncairo.o "_time", referenced from: _game_init in game_noncairo.o (maybe you meant: _game_get_frame_time, _frame_time , _game_get_delta_score_time ) "_vfprintf", referenced from: _fallback_log in libretro.o "_vsprintf", referenced from: _Draw_text in game_noncairo.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [Makefile.libretro:603: 2048_libretro.dylib] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/libretro-2048 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/libretro-2048