qemu-ios icon indicating copy to clipboard operation
qemu-ios copied to clipboard

Failing to compile on macOS Sonoma 14.1.1 [M1 Pro]

Open miklosakos opened this issue 2 years ago • 4 comments
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

miklosakos avatar Nov 09 '23 16:11 miklosakos

I had the same issue and fixed it by updating meson with brew upgrade meson. I now have meson 1.3.0 which works.

Vbitz avatar Dec 26 '23 05:12 Vbitz

@miklosakos did the suggestion by @Vbitz fix your issue?

devos50 avatar Jan 01 '24 16:01 devos50

I was away for 2 weeks, will check soon.

miklosakos avatar Jan 01 '24 16:01 miklosakos

Fixed by #108.

ChaseKnowlden avatar Jan 01 '24 23:01 ChaseKnowlden