devos50 / qemu-ios

A QEMU emulator for legacy Apple devices
Other
951 stars 63 forks source link

Git Submodules error when configuring QEMU #116

Closed gdandsm64fan123 closed 9 months ago

gdandsm64fan123 commented 9 months ago

So i was trying to build this emulator with both WSL and MINGW64 but both gave me the exact same error. imagen_2024-01-05_094015935

gdandsm64fan123 commented 9 months ago

dont mind the other shit i have

gdandsm64fan123 commented 9 months ago

And for the sake of this, im sending the config.log file too. or atleast its text:

QEMU configure log Fri Jan 5 09:35:15 -03 2024

Configured with: '../configure' '--enable-sdl' '--disable-cocoa' '--target-list=arm-softmmu' '--disable-capstone' '--disable-slirp' '--disable-pie' '--extra-cflags=-I/mingw64/include/openssl' '--extra-ldflags=-L/mingw64/lib -lcrypto' '--disable-stack-protector' '--disable-werror'

#

funcs: do_compiler do_cc compile_object check_define main lines: 145 177 486 503 0 cc -I/mingw64/include/openssl -std=gnu11 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c config-temp/qemu-conf.c:2:2: error: #error linux not defined 2 | #error linux not defined | ^~~~~

funcs: do_compiler do_cc compile_object check_define main lines: 145 177 486 505 0 cc -I/mingw64/include/openssl -std=gnu11 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c

funcs: do_compiler do_cc compile_object check_define main lines: 145 177 486 596 0 cc -I/mingw64/include/openssl -std=gnu11 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c config-temp/qemu-conf.c:2:2: error: #error i386 not defined 2 | #error i386 not defined | ^~~~~

funcs: do_compiler do_cc compile_object check_define main lines: 145 177 486 598 0 cc -I/mingw64/include/openssl -std=gnu11 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c

funcs: do_compiler do_cc compile_object check_define main lines: 145 177 486 599 0 cc -I/mingw64/include/openssl -std=gnu11 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c config-temp/qemu-conf.c:2:2: error: #error ILP32 not defined 2 | #error ILP32 not defined | ^~~~~

gdandsm64fan123 commented 9 months ago

OK, most of you havent understood so heres what happened: I downloaded the src code via zip because git wouldnt clone and would give error if i tried to. I got all the files and im ready to compile. i configure the project and...... this happened.

gdandsm64fan123 commented 9 months ago

The device i tried to emulate is the iPod Touch 1G.

gdandsm64fan123 commented 9 months ago

nvm the only thing missing is the .git folder man fix this

gdandsm64fan123 commented 9 months ago

nvm cc not found

gdandsm64fan123 commented 9 months ago

ok so i got it to work but theres smth about the cpu and host os can someone explain this to me

gdandsm64fan123 commented 9 months ago

warning: unreconginsed host cpu, proceeding with 'uname -m' output 'x86_64'

gdandsm64fan123 commented 9 months ago

error: unrecognized host OS (uname -s reports 'Linux')

gdandsm64fan123 commented 9 months ago

also trying to make after that just says that there isnt anything to do in build folder and exits

gdandsm64fan123 commented 9 months ago

ok ill close this and make a new one