Closed gingerbeardman closed 6 years ago
Compilation failure when compiling cores for macOS Sierra
Using this guide: https://bot.libretro.com/docs/compilation/osx/
Build should be problem free
symbol(s) not found for architecture x86_64
cc -o fmsx_libretro.dylib -dynamiclib ./libretro.o ./EMULib/EMULib.o ./EMULib/Sound.o ./fMSX/MSX.o ./fMSX/V9938.o ./fMSX/I8251.o ./EMULib/SHA1.o ./EMULib/Floppy.o ./EMULib/FDIDisk.o ./Z80/Z80.o ./EMULib/I8255.o ./EMULib/YM2413.o ./EMULib/AY8910.o ./EMULib/SCC.o ./EMULib/WD1793.o ./libretro-common/file/retro_dirent.o Undefined symbols for architecture x86_64: "_strcp", referenced from: _check_variables in libretro.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [fmsx_libretro.dylib] Error 1 cp "fmsx_libretro.dylib" "/Users/matt/Projects/libretro-super/dist/osx-x86_64/fmsx_libretro.dylib" cp: fmsx_libretro.dylib: No such file or directory 1 core(s) failed: fmsx
./libretro-fetch.sh ./libretro-build.sh fmsx
This is my first time building the cores.
libretro-super https://github.com/libretro/libretro-super/commit/95e99da51cdfa3a3d3552802f799a72d420b5c44
OS: macOS Sierra 10.12.5 (16F73) 64-bit Compiler:
matt$ cc -v Apple LLVM version 8.1.0 (clang-802.0.42) Target: x86_64-apple-darwin16.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
this was due to a typo! strcp (should have been strcmp)
Description
Compilation failure when compiling cores for macOS Sierra
Using this guide: https://bot.libretro.com/docs/compilation/osx/
Expected behavior
Build should be problem free
Actual behavior
symbol(s) not found for architecture x86_64
Steps to reproduce the bug
Bisect Results
This is my first time building the cores.
Version/Commit
libretro-super https://github.com/libretro/libretro-super/commit/95e99da51cdfa3a3d3552802f799a72d420b5c44
Environment information
OS: macOS Sierra 10.12.5 (16F73) 64-bit Compiler: