Open matt123491 opened 8 months ago
Have you installed all the relevant packages required for building on your M1 MacBook Air? It's done with brew install glib ninja pixman pkg-config sdl2 And this is what configure command you have to use for your M1 MacBook Air. ../configure --enable-sdl --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
From: Matthew @.> Sent: Thursday, January 25, 2024 9:42 PM To: devos50/qemu-ios @.> Cc: Subscribed @.***> Subject: [devos50/qemu-ios] ERROR: "cc" cannot build an executable (is your linker broken?) for iPod Touch Gen 1 (Issue #134)
If I try to use the ../configure --enable-sdl --disable-cocoa --target-list=arm-softmmu --disable-capstone --disable-pie --disable-slirp @./include @./lib -lcrypto' command, I get the error message of
@. build % make make: No targets specified and no makefile found. Stop. @. build % ../configure --enable-sdl --disable-cocoa --target-list=arm-softmmu --disable-capstone --disable-pie --disable-slirp @./include @.***/lib -lcrypto' ERROR: "cc" cannot build an executable (is your linker broken?) I am on a M1 Mac trying to build for the iPod Touch Gen 1
— Reply to this email directly, view it on GitHubhttps://github.com/devos50/qemu-ios/issues/134, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQQXXR6YST2G3FW4MOUXMULYQK7UDAVCNFSM6AAAAABCLERJVKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDCMJTGYYTGMQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Once I do that, it says
Nate@Nates-MacBook-Air build % ../configure --enable-sdl --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 quote>
And I can't get out of quote even by saying exit
Try...
../configure --enable-sdl --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'
With an extra quote added to the end of lcrypto
Same thing, it says
quote>
brew install openssl@3.0
../configure --enable-sdl --disable-cocoa --target-list=arm-softmmu --disable-capstone --disable-pie --disable-slirp --extra-cflags=-I/opt/homebrew/opt/openssl@3.0/include --extra-ldflags='-L/opt/homebrew/opt/openssl@3.0/lib -lcrypto'
zsh: no such file or directory: ../configure1
If I try to use the
../configure --enable-sdl --disable-cocoa --target-list=arm-softmmu --disable-capstone --disable-pie --disable-slirp --extra-cflags=-I/usr/local/opt/openssl@3/include --extra-ldflags='-L/usr/local/opt/openssl@3/lib -lcrypto'
command, I get the error message ofNate@Nates-MacBook-Air build % make make: *** No targets specified and no makefile found. Stop. Nate@Nates-MacBook-Air build % ../configure --enable-sdl --disable-cocoa --target-list=arm-softmmu --disable-capstone --disable-pie --disable-slirp --extra-cflags=-I/usr/local/opt/openssl@3/include --extra-ldflags='-L/usr/local/opt/openssl@3/lib -lcrypto' ERROR: "cc" cannot build an executable (is your linker broken?)
I am on a M1 Mac trying to build for the iPod Touch Gen 1