qemu-ios
qemu-ios copied to clipboard
Failing to compile on macOS Sonoma 14.1.1 [M1 Pro]
trafficstars
Full terminal output:
miklos_akos@YiffBook-Pro build % ../configure --enable-sdl --disable-cocoa --target-list=arm-softmmu --disable-capstone --disable-pie --disable-slirp --extra-cflags=-I/opt/homebrew/opt/openssl@3/include --extra-ldflags='-L/opt/homebrew/opt/openssl@3/lib -lcrypto'
The Meson build system
Version: 1.1.1
Source dir: /Users/miklos_akos/qemu-ios
Build dir: /Users/miklos_akos/qemu-ios/build
Build type: native build
Project name: qemu
Project version: 7.2.50
../meson.build:1:0: ERROR: Unable to detect linker for compiler `cc -Wl,--version -I/opt/homebrew/opt/openssl@3/include -L/opt/homebrew/opt/openssl@3/lib -lcrypto`
stdout:
stderr: ld: unknown options: --version
clang: error: linker command failed with exit code 1 (use -v to see invocation)
A full log can be found at /Users/miklos_akos/qemu-ios/build/meson-logs/meson-log.txt
ERROR: meson setup failed
miklos_akos@YiffBook-Pro build %
Attached the meson-log.txt file: meson-log.txt
I had the same issue and fixed it by updating meson with brew upgrade meson. I now have meson 1.3.0 which works.
@miklosakos did the suggestion by @Vbitz fix your issue?
I was away for 2 weeks, will check soon.
Fixed by #108.