devos50 / qemu-ios

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

Is a directory #128

Closed Krutifulmen closed 5 months ago

Krutifulmen commented 5 months ago

After try to run it, it saying:

-bash: ./arm-softmmu/qemu-system-arm: Is a directory

What i do wrong?

spetterman66 commented 5 months ago

It's litterally saying that the arm-softmmu/qemu-system-arm folder is a directory, it can be accessed by typing "cd arm-softmmu/qemu-system-arm"


From: Krutifulmen @.> Sent: Tuesday, January 16, 2024 7:35 PM To: devos50/qemu-ios @.> Cc: Subscribed @.***> Subject: [devos50/qemu-ios] Is a directory (Issue #128)

After try to run it, it saying:

-bash: ./arm-softmmu/qemu-system-arm: Is a directory

What i do wrong?

— Reply to this email directly, view it on GitHubhttps://github.com/devos50/qemu-ios/issues/128, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQQXXR7RFGSFQZDSVSA2XA3YO3CAJAVCNFSM6AAAAABB5I3YLWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DINJYGY3TSMQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

MrDiagnose commented 5 months ago

open the build directory and run ./qemu-system-arm -M iPod-Touch,bootrom=<path to bootrom>,nand=<path to NAND directory>,nor=<path to NOR directory> -serial mon:stdio -cpu max -m 2G -d unimp

MrDiagnose commented 5 months ago

you are trying to execute something which doesn't exist the file qemu-system-arm.exe is inside build scroll down you will find it

296552427-0087e919-3aa4-4d6a-8a32-d52843c36c25

Krutifulmen commented 5 months ago

you are trying to execute something which doesn't exist the file qemu-system-arm.exe is inside build scroll down you will find it

296552427-0087e919-3aa4-4d6a-8a32-d52843c36c25 thanks trying...

Krutifulmen commented 5 months ago

you are trying to execute something which doesn't exist the file qemu-system-arm.exe is inside build scroll down you will find it

296552427-0087e919-3aa4-4d6a-8a32-d52843c36c25

$ qemu-system-arm.exe -M iPod-Touch,bootrom=,nand=,nor= -serial mon:stdio -cpu max -m 2G -d unimp -bash: qemu-system-arm.exe: command not found

MrDiagnose commented 5 months ago

you run it from windows terminal

Krutifulmen commented 5 months ago

you run it from windows terminal

okayy

MrDiagnose commented 5 months ago

it will also need these additional files https://github.com/devos50/qemu-ios/releases/tag/n72ap_v1 I suggest you copy it to a different folder along with qemu-system-arm.exe https://www.youtube.com/watch?v=bxg4QlwENsI

Krutifulmen commented 5 months ago

it will also need these additional files https://github.com/devos50/qemu-ios/releases/tag/n72ap_v1 I suggest you copy it to a different folder along with qemu-system-arm.exe https://www.youtube.com/watch?v=bxg4QlwENsI

access denied

MrDiagnose commented 5 months ago

a screenshot will be helpful

Krutifulmen commented 5 months ago

a screenshot will be helpful

Снимок экрана 2024-01-17 181501

MrDiagnose commented 5 months ago

need to add . before qemu-system-arm.exe like ./qemu-system-arm.exe

watch this : https://www.youtube.com/watch?v=bxg4QlwENsI

MrDiagnose commented 5 months ago

also download this https://github.com/devos50/qemu-ios/releases/tag/n72ap_v1 files to the same folder and extract the "nand"

Krutifulmen commented 5 months ago

also download this https://github.com/devos50/qemu-ios/releases/tag/n72ap_v1 files to the same folder and extract the "nand"

alredy

Krutifulmen commented 5 months ago

need to add . before qemu-system-arm.exe like ./qemu-system-arm.exe

watch this : https://www.youtube.com/watch?v=bxg4QlwENsI

can say it work, it work. but its not start

MrDiagnose commented 5 months ago

copy everything to one folder like in the video and run ./qemu-system-arm -M iPod-Touch,bootrom=bootrom_240_4,nand=nand,nor=nor_n72ap.bin -serial mon:stdio -cpu max -m 2G -d unimp from windows powershell/terminal

Krutifulmen commented 5 months ago

copy everything to one folder like in the video and run ./qemu-system-arm -M iPod-Touch,bootrom=bootrom_240_4,nand=nand,nor=nor_n72ap.bin -serial mon:stdio -cpu max -m 2G -d unimp from windows powershell/terminal

i do it like this. yes. it dont boot

MrDiagnose commented 5 months ago

what does it say show screenshot

Krutifulmen commented 5 months ago

what does it say show screenshot

it doesnt say everything

Krutifulmen commented 5 months ago

what does it say show screenshot

Снимок экрана 2024-01-17 184501

MrDiagnose commented 5 months ago

show whats inside ready folder

Krutifulmen commented 5 months ago

show whats inside ready folder

Снимок экрана 2024-01-17 184928

MrDiagnose commented 5 months ago

does this work ./qemu-system-arm.exe --version ? does it show qemu version?

Krutifulmen commented 5 months ago

does this work ./qemu-system-arm.exe --version ?

doesnt work. no.

MrDiagnose commented 5 months ago

WindowsTerminal_WWc8xP8lhc

MrDiagnose commented 5 months ago

does this work ./qemu-system-arm.exe --version ?

doesnt work. no.

what does it say

Krutifulmen commented 5 months ago

WindowsTerminal_WWc8xP8lhc

ye. i do it like this

Krutifulmen commented 5 months ago

does this work ./qemu-system-arm.exe --version ?

doesnt work. no.

what does it say

nothing

MrDiagnose commented 5 months ago

does this work ./qemu-system-arm.exe --version ?

doesnt work. no.

what does it say

nothing

was the compilation successfully completed? was there any error?

Krutifulmen commented 5 months ago

does this work ./qemu-system-arm.exe --version ?

doesnt work. no.

what does it say

nothing

was the compilation successfully completed? was there any error?

no. i can do it again, if need.

MrDiagnose commented 5 months ago

does this work ./qemu-system-arm.exe --version ?

doesnt work. no.

what does it say

nothing

was the compilation successfully completed? was there any error?

no. i can do it again, if need.

yeah try to build again & record it

Krutifulmen commented 5 months ago

does this work ./qemu-system-arm.exe --version ?

doesnt work. no.

what does it say

nothing

was the compilation successfully completed? was there any error?

no. i can do it again, if need.

yeah try to build again & record it

okk

Krutifulmen commented 5 months ago

does this work ./qemu-system-arm.exe --version ?

doesnt work. no.

what does it say

nothing

was the compilation successfully completed? was there any error?

no. i can do it again, if need.

yeah try to build again & record it

i started now.. but i can't record, sorry. i will say, if there are be an error.

MrDiagnose commented 5 months ago

share the log

Krutifulmen commented 5 months ago

share the log

o. okay!!

MrDiagnose commented 5 months ago

do you know how to output redirect?

Krutifulmen commented 5 months ago

do you know how to output redirect?

no. -_- sorry, i give you many problems..

MrDiagnose commented 5 months ago

./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 > ShareOutput1.txt 2> ShareError1.txt

make -j4 > ShareOutput2.txt 2> ShareError2.txt

MrDiagnose commented 5 months ago

send me ShareOutput1.txt , ShareError1.txt, ShareOutput2.txt 2 & ShareError2.txt inside qemu-ios folder

Krutifulmen commented 5 months ago

send me bothshare1.txt & share2.txt

i alredy started compiling

MrDiagnose commented 5 months ago

send me bothshare1.txt & share2.txt

i alredy started compiling

ok report if there is any error

Krutifulmen commented 5 months ago

send me bothshare1.txt & share2.txt

i alredy started compiling

ok report if there is any error

ok

Krutifulmen commented 5 months ago
../hw/arm/ipod_touch_2g.c: In function 'ipod_touch_memory_setup': ../hw/arm/ipod_touch_2g.c:100:69: warning: passing argument 3 of 'g_file_get_contents' from incompatible pointer type [-Wincompatible-pointer-types] 100 if (g_file_get_contents(nms->bootrom_path, (char **)&file_data, &fsize, NULL)) { ^~
long unsigned int *
In file included from C:/Program Files/msys2/mingw64/include/glib-2.0/glib.h:50, from E:/Dmitr/Downloads/qemu-ios-ipod_touch_2g/qemu-ios-ipod_touch_2g/include/glib-compat.h:32, from E:/Dmitr/Downloads/qemu-ios-ipod_touch_2g/qemu-ios-ipod_touch_2g/include/qemu/osdep.h:161, from ../hw/arm/ipod_touch_2g.c:1: C:/Program Files/msys2/mingw64/include/glib-2.0/glib/gfileutils.h:122:45: note: expected 'gsize ' {aka 'long long unsigned int '} but argument is of type 'long unsigned int *' 122 gsize *length, ~~~~^~~~ ../hw/arm/ipod_touch_2g.c: In function 'ipod_touch_key_event': ../hw/arm/ipod_touch_2g.c:186:10: warning: unused variable 'do_irq' [-Wunused-variable] 186 bool do_irq = false; ^~ ../hw/arm/ipod_touch_2g.c: In function 'ipod_touch_machine_init': ../hw/arm/ipod_touch_2g.c:262:42: warning: passing argument 1 of 'pl192_manual_init' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 262 DeviceState *dev = pl192_manual_init("vic0", qdev_get_gpio_in(DEVICE(nms->cpu), ARM_CPU_IRQ), qdev_get_gpio_in(DEVICE(nms->cpu), ARM_CPU_FIQ), NULL); ^~ In file included from E:/Dmitr/Downloads/qemu-ios-ipod_touch_2g/qemu-ios-ipod_touch_2g/include/hw/arm/ipod_touch_2g.h:6, from ../hw/arm/ipod_touch_2g.c:13: E:/Dmitr/Downloads/qemu-ios-ipod_touch_2g/qemu-ios-ipod_touch_2g/include/hw/intc/pl192.h:78:38: note: expected 'char ' but argument is of type 'const char ' 78 DeviceState pl192_manual_init(char mem_name, ...); ~~^~~~ ../hw/arm/ipod_touch_2g.c:269:29: warning: passing argument 1 of 'pl192_manual_init' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 269 dev = pl192_manual_init("vic1", NULL); ^~ E:/Dmitr/Downloads/qemu-ios-ipod_touch_2g/qemu-ios-ipod_touch_2g/include/hw/intc/pl192.h:78:38: note: expected 'char ' but argument is of type 'const char ' 78 DeviceState pl192_manual_init(char mem_name, ...); ~~^~~~ ../hw/arm/ipod_touch_2g.c:456:15: warning: unused variable 'cd327mikey' [-Wunused-variable] 456 I2CSlave *cd327mikey = i2c_slave_create_simple(i2c_state->bus, "cd3272mikey", 0x39); ^~~~~~ ../hw/arm/ipod_touch_2g.c:443:15: warning: unused variable 'accelerometer' [-Wunused-variable] 443 I2CSlave *accelerometer = i2c_slave_create_simple(i2c_state->bus, "lis302dl", 0x1D); ^~~~~ ../hw/arm/ipod_touch_2g.c:440:16: warning: unused variable 'pmu' [-Wunused-variable] 440 I2CSlave * pmu = i2c_slave_create_simple(i2c_state->bus, "pcf50633", 0x73); ^~~ ../hw/arm/ipod_touch_2g.c:308:79: warning: iteration 5 invokes undefined behavior [-Waggressive-loop-optimizations] 308 sysbus_connect_irq(busdev, grp, s5l8900_get_irq(nms, S5L8900_GPIO_IRQS[grp])); ~~~^~~ ../hw/arm/ipod_touch_2g.c:307:26: note: within this loop 307 for(int grp = 0; grp < GPIO_NUMINTGROUPS; grp++) { [1767/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_clock.c.obj ../hw/arm/ipod_touch_clock.c: In function 's5l8900_clock_write': ../hw/arm/ipod_touch_clock.c:52:68: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 52 hw_error("%s: Forbidden write to PLLLOCK register 0x%08x\n", func, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_clock.c:73:46: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 73 hw_error("%s: writing value 0x%08x to unknown clock register 0x%08x\n", func, val, addr); ~^ ~
unsigned int uint64_t {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_clock.c:73:79: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 73 hw_error("%s: writing value 0x%08x to unknown clock register 0x%08x\n", func, val, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_clock.c: In function 's5l8900_clock_read': ../hw/arm/ipod_touch_clock.c:118:68: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 118 hw_error("%s: reading from unknown clock register 0x%08x\n", func, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
[1768/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_chipid.c.obj ../hw/arm/ipod_touch_chipid.c: In function 'ipod_touch_chipid_read': ../hw/arm/ipod_touch_chipid.c:17:70: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 17 hw_error("%s: reading from unknown chip ID register 0x%08x\n", func, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
[1769/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_gpio.c.obj ../hw/arm/ipod_touch_gpio.c: In function 's5l8900_gpio_write': ../hw/arm/ipod_touch_gpio.c:6:25: warning: unused variable 's' [-Wunused-variable] 6 IPodTouchGPIOState s = (struct IPodTouchGPIOState ) opaque; ^ ../hw/arm/ipod_touch_gpio.c: In function 's5l8900_gpio_read': ../hw/arm/ipod_touch_gpio.c:16:41: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 16 printf("%s: read from location 0x%08x\n", func, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
[1770/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_sysic.c.obj [1771/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_timer.c.obj [1772/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_usb_otg.c.obj ../hw/arm/ipod_touch_usb_otg.c: In function 'synopsys_usb_update_in_ep': ../hw/arm/ipod_touch_usb_otg.c:98:17: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 98 ;//printf("USB: IN transfer queued on %d.\n", _ep); ^ ../hw/arm/ipod_touch_usb_otg.c: In function 'synopsys_usb_update_out_ep': ../hw/arm/ipod_touch_usb_otg.c:107:17: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 107 ;//printf("USB: OUT transfer queued on %d.\n", _ep); ^ ../hw/arm/ipod_touch_usb_otg.c: In function 'synopsys_usb_read': ../hw/arm/ipod_touch_usb_otg.c:272:60: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 272 hw_error("USB: Unhandled read address 0x%08x!\n", _addr); ~^ ~~~
hwaddr {aka long long unsigned int}
unsigned int
%08llx
../hw/arm/ipod_touch_usb_otg.c: In function 'synopsys_usb_write': ../hw/arm/ipod_touch_usb_otg.c:499:61: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 499 hw_error("USB: Unhandled write address 0x%08x!\n", _addr); ~^ ~~~
hwaddr {aka long long unsigned int}
unsigned int
%08llx
../hw/arm/ipod_touch_usb_otg.c: In function 's5l8900_usb_otg_init1': ../hw/arm/ipod_touch_usb_otg.c:571:22: warning: unused variable 'dev' [-Wunused-variable] 571 DeviceState *dev = DEVICE(obj); ^~~ [1773/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_usb_phys.c.obj [1774/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_spi.c.obj ../hw/arm/ipod_touch_spi.c: In function 'ipod_touch_spi_realize': ../hw/arm/ipod_touch_spi.c:292:26: warning: declaration of 'dev' shadows a parameter [-Wshadow=compatible-local] 292 DeviceState *dev = ssi_create_peripheral(s->spi, TYPE_IPOD_TOUCH_NOR_SPI); ^~~ ../hw/arm/ipod_touch_spi.c:267:49: note: shadowed declaration is here 267 static void ipod_touch_spi_realize(DeviceState *dev, struct Error **errp) ~~~^ ../hw/arm/ipod_touch_spi.c:301:26: warning: declaration of 'dev' shadows a parameter [-Wshadow=compatible-local] 301 DeviceState *dev = ssi_create_peripheral(s->spi, TYPE_IPOD_TOUCH_MULTITOUCH); ^~~ ../hw/arm/ipod_touch_spi.c:267:49: note: shadowed declaration is here 267 static void ipod_touch_spi_realize(DeviceState *dev, struct Error **errp) ~~~^ [1775/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_nor_spi.c.obj ../hw/arm/ipod_touch_nor_spi.c: In function 'initialize_nor': ../hw/arm/ipod_touch_nor_spi.c:6:65: warning: passing argument 3 of 'g_file_get_contents' from incompatible pointer type [-Wincompatible-pointer-types] 6 if (g_file_get_contents(s->nor_path, (char **)&s->nor_data, &fsize, NULL)) { ^~
long unsigned int *
In file included from C:/Program Files/msys2/mingw64/include/glib-2.0/glib.h:50, from E:/Dmitr/Downloads/qemu-ios-ipod_touch_2g/qemu-ios-ipod_touch_2g/include/glib-compat.h:32, from E:/Dmitr/Downloads/qemu-ios-ipod_touch_2g/qemu-ios-ipod_touch_2g/include/qemu/osdep.h:161, from E:/Dmitr/Downloads/qemu-ios-ipod_touch_2g/qemu-ios-ipod_touch_2g/include/hw/arm/ipod_touch_nor_spi.h:4, from ../hw/arm/ipod_touch_nor_spi.c:1: C:/Program Files/msys2/mingw64/include/glib-2.0/glib/gfileutils.h:122:45: note: expected 'gsize ' {aka 'long long unsigned int '} but argument is of type 'long unsigned int *' 122 gsize *length, ~~~~^~~~ ../hw/arm/ipod_touch_nor_spi.c: In function 'ipod_touch_nor_spi_transfer': ../hw/arm/ipod_touch_nor_spi.c:94:21: warning: declaration of 'ret_val' shadows a previous local [-Wshadow=compatible-local] 94 uint8_t ret_val = s->nor_data[s->nor_read_ind]; ^~~ ../hw/arm/ipod_touch_nor_spi.c:91:17: note: shadowed declaration is here 91 uint8_t ret_val; ^~~ [1776/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_sha1.c.obj ../hw/arm/ipod_touch_sha1.c: In function 'ipod_touch_sha1_read': ../hw/arm/ipod_touch_sha1.c:55:72: warning: passing argument 1 of 'swapLong' makes pointer from integer without a cast [-Wint-conversion] 55 uint64_t data_length = swapLong(((uint64_t *)s->buffer)[s->buffer_ind / 8 - 1]) / 8; ~~~~~^~~~~
uint64_t {aka long long unsigned int}
../hw/arm/ipod_touch_sha1.c:3:32: note: expected 'void *' but argument is of type 'uint64_t' {aka 'long long unsigned int'} 3 static uint64_t swapLong(void *X) { ~~^ ../hw/arm/ipod_touch_sha1.c:58:17: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 SHA1_Init(&ctx); ^~~~~ In file included from E:/Dmitr/Downloads/qemu-ios-ipod_touch_2g/qemu-ios-ipod_touch_2g/include/hw/arm/ipod_touch_sha1.h:9, from ../hw/arm/ipod_touch_sha1.c:1: C:/Program Files/msys2/mingw64/include/openssl/sha.h:49:27: note: declared here 49 OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); ^~~~~ ../hw/arm/ipod_touch_sha1.c:59:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 SHA1_Update(&ctx, s->buffer, data_length); ^~~ C:/Program Files/msys2/mingw64/include/openssl/sha.h:50:27: note: declared here 50 OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX c, const void data, size_t len); ^~~ ../hw/arm/ipod_touch_sha1.c:60:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 SHA1_Final(s->hashout, &ctx); ^~~~~~ C:/Program Files/msys2/mingw64/include/openssl/sha.h:51:27: note: declared here 51 OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char md, SHA_CTX c); ^~~~~~ [1777/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_aes.c.obj ../hw/arm/ipod_touch_aes.c: In function 'ipod_touch_aes_write': ../hw/arm/ipod_touch_aes.c:40:25: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 40 AES_set_decrypt_key(key_uid, sizeof(key_uid) * 8, &aesop->decryptKey); ^~~~~~~ In file included from E:/Dmitr/Downloads/qemu-ios-ipod_touch_2g/qemu-ios-ipod_touch_2g/include/hw/arm/ipod_touch_aes.h:9, from ../hw/arm/ipod_touch_aes.c:1: C:/Program Files/msys2/mingw64/include/openssl/aes.h:54:5: note: declared here 54 int AES_set_decrypt_key(const unsigned char *userKey, const int bits, ^~~~~~~ ../hw/arm/ipod_touch_aes.c:43:25: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 43 AES_set_decrypt_key((uint8_t )(&aesop->custkey[4]), 0x10 8, &aesop->decryptKey); ^~~~~~~ C:/Program Files/msys2/mingw64/include/openssl/aes.h:54:5: note: declared here 54 int AES_set_decrypt_key(const unsigned char *userKey, const int bits, ^~~~~~~ ../hw/arm/ipod_touch_aes.c:99:17: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 99 AES_cbc_encrypt(inbuf, buf, aesop->insize, &aesop->decryptKey, (uint8_t *)aesop->ivec, AES_DECRYPT); ^~~~~~~ C:/Program Files/msys2/mingw64/include/openssl/aes.h:66:6: note: declared here 66 void AES_cbc_encrypt(const unsigned char in, unsigned char out, ^~~~~~~ [1778/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_pke.c.obj ../hw/arm/ipod_touch_pke.c: In function 'ipod_touch_pke_write': ../hw/arm/ipod_touch_pke.c:101:33: warning: pointer targets in initialization of 'char ' from 'uint8_t ' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 101 char *res_hex = datahex(BN_bn2hex(res)); ^~~ [1779/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_pcf50633_pmu.c.obj [1780/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_unknown1.c.obj [1781/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_lcd.c.obj [1782/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_mipi_dsi.c.obj ../hw/arm/ipod_touch_mipi_dsi.c: In function 'ipod_touch_mipi_dsi_read': ../hw/arm/ipod_touch_mipi_dsi.c:5:50: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 5 fprintf(stderr, "%s: read from location 0x%08x\n", func, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mipi_dsi.c: In function 'ipod_touch_mipi_dsi_write': ../hw/arm/ipod_touch_mipi_dsi.c:36:39: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 36 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~
unsigned int uint64_t {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mipi_dsi.c:36:49: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 36 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
[1783/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_fmss.c.obj [1784/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_mbx.c.obj ../hw/arm/ipod_touch_mbx.c: In function 'ipod_touch_mbx1_read': ../hw/arm/ipod_touch_mbx.c:12:41: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 12 printf("%s: read from location 0x%08x\n", func, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mbx.c: In function 'ipod_touch_mbx1_write': ../hw/arm/ipod_touch_mbx.c:30:39: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 30 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~
unsigned int uint64_t {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mbx.c:30:49: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 30 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mbx.c:29:24: warning: unused variable 's' [-Wunused-variable] 29 IPodTouchMBXState s = (IPodTouchMBXState )opaque; ^ ../hw/arm/ipod_touch_mbx.c: At top level: ../hw/arm/ipod_touch_mbx.c:33:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 33 static void patch_kernel() ^~~~ ../hw/arm/ipod_touch_mbx.c: In function 'patch_kernel': ../hw/arm/ipod_touch_mbx.c:33:13: warning: old-style function definition [-Wold-style-definition] ../hw/arm/ipod_touch_mbx.c:36:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 36 char *bcm4325_vars = "test"; ^~ ../hw/arm/ipod_touch_mbx.c:36:11: warning: unused variable 'bcm4325_vars' [-Wunused-variable] 36 char *bcm4325_vars = "test"; ^~~~ ../hw/arm/ipod_touch_mbx.c: In function 'ipod_touch_mbx2_read': ../hw/arm/ipod_touch_mbx.c:94:41: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 94 printf("%s: read from location 0x%08x\n", func, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mbx.c: In function 'ipod_touch_mbx2_write': ../hw/arm/ipod_touch_mbx.c:108:39: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 108 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~
unsigned int uint64_t {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mbx.c:108:49: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 108 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx

../hw/arm/ipod_touch_mbx.c:107:24: warning: unused variable 's' [-Wunused-variable] 107 | IPodTouchMBXState s = (IPodTouchMBXState )opaque; | ^ [1785/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_cd3272_mikey.c.obj [1786/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_lis302dl.c.obj

send me bothshare1.txt & share2.txt

i alredy started compiling

ok report if there is any error

Krutifulmen commented 5 months ago
../hw/arm/ipod_touch_mipi_dsi.c: In function 'ipod_touch_mipi_dsi_read': ../hw/arm/ipod_touch_mipi_dsi.c:5:50: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 5 fprintf(stderr, "%s: read from location 0x%08x\n", func, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mipi_dsi.c: In function 'ipod_touch_mipi_dsi_write': ../hw/arm/ipod_touch_mipi_dsi.c:36:39: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 36 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~
unsigned int uint64_t {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mipi_dsi.c:36:49: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 36 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
[1783/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_fmss.c.obj [1784/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_mbx.c.obj ../hw/arm/ipod_touch_mbx.c: In function 'ipod_touch_mbx1_read': ../hw/arm/ipod_touch_mbx.c:12:41: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 12 printf("%s: read from location 0x%08x\n", func, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mbx.c: In function 'ipod_touch_mbx1_write': ../hw/arm/ipod_touch_mbx.c:30:39: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 30 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~
unsigned int uint64_t {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mbx.c:30:49: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 30 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mbx.c:29:24: warning: unused variable 's' [-Wunused-variable] 29 IPodTouchMBXState s = (IPodTouchMBXState )opaque; ^ ../hw/arm/ipod_touch_mbx.c: At top level: ../hw/arm/ipod_touch_mbx.c:33:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 33 static void patch_kernel() ^~~~ ../hw/arm/ipod_touch_mbx.c: In function 'patch_kernel': ../hw/arm/ipod_touch_mbx.c:33:13: warning: old-style function definition [-Wold-style-definition] ../hw/arm/ipod_touch_mbx.c:36:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 36 char *bcm4325_vars = "test"; ^~ ../hw/arm/ipod_touch_mbx.c:36:11: warning: unused variable 'bcm4325_vars' [-Wunused-variable] 36 char *bcm4325_vars = "test"; ^~~~ ../hw/arm/ipod_touch_mbx.c: In function 'ipod_touch_mbx2_read': ../hw/arm/ipod_touch_mbx.c:94:41: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 94 printf("%s: read from location 0x%08x\n", func, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mbx.c: In function 'ipod_touch_mbx2_write': ../hw/arm/ipod_touch_mbx.c:108:39: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 108 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~
unsigned int uint64_t {aka long long unsigned int}
%08llx
../hw/arm/ipod_touch_mbx.c:108:49: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'hwaddr' {aka 'long long unsigned int'} [-Wformat=] 108 fprintf(stderr, "%s: writing 0x%08x to 0x%08x\n", func, val, addr); ~^ ~~
unsigned int hwaddr {aka long long unsigned int}
%08llx

../hw/arm/ipod_touch_mbx.c:107:24: warning: unused variable 's' [-Wunused-variable] 107 | IPodTouchMBXState s = (IPodTouchMBXState )opaque; | ^ [1785/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_cd3272_mikey.c.obj [1786/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_lis302dl.c.obj [1787/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_multitouch.c.obj ../hw/arm/ipod_touch_multitouch.c: In function 'ipod_touch_multitouch_transfer': ../hw/arm/ipod_touch_multitouch.c:220:78: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 220 | uint32_t data_len = (s->in_buffer[2] << 10) | (s->in_buffer[3] << 2) + 5; | ~~~~~^ [1788/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_scaler_csc.c.obj ../hw/arm/ipod_touch_scaler_csc.c: In function 'ipod_touch_scaler_csc_write': ../hw/arm/ipod_touch_scaler_csc.c:17:30: warning: unused variable 's' [-Wunused-variable] 17 | IPodTouchScalerCSCState s = IPOD_TOUCH_SCALER_CSC(opaque); | ^ [1789/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_sdio.c.obj ../hw/arm/ipod_touch_sdio.c:10:6: warning: no previous prototype for 'sdio_exec_cmd' [-Wmissing-prototypes] 10 | void sdio_exec_cmd(IPodTouchSDIOState s) | ^~~~~ ../hw/arm/ipod_touch_sdio.c: In function 'ipod_touch_sdio_init': ../hw/arm/ipod_touch_sdio.c:199:18: warning: unused variable 'dev' [-Wunused-variable] 199 | DeviceState dev = DEVICE(obj); | ^~~ ../hw/arm/ipod_touch_sdio.c: In function 'ipod_touch_sdio_class_init': ../hw/arm/ipod_touch_sdio.c:236:18: warning: unused variable 'dc' [-Wunused-variable] 236 | DeviceClass dc = DEVICE_CLASS(klass); | ^~ [1790/2288] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_ipod_touch_tvout.c.obj ../hw/arm/ipod_touch_tvout.c: In function 'ipod_touch_tvout_init': ../hw/arm/ipod_touch_tvout.c:141:18: warning: unused variable 'dev' [-Wunused-variable] 141 | DeviceState *dev = DEVICE(obj); | ^~~ make: *** [Makefile:162: run-ninja] Error 130

send me bothshare1.txt & share2.txt

i alredy started compiling

ok report if there is any error

Krutifulmen commented 5 months ago

send me bothshare1.txt & share2.txt

i alredy started compiling

ok report if there is any error

starting again...

MrDiagnose commented 5 months ago

are you using mingw64.exe?

Krutifulmen commented 5 months ago

are you using mingw64.exe?

of course

MrDiagnose commented 5 months ago

type these two commands one after another pacman -Suy

pacman -S base-devel mingw-w64-x86_64-toolchain git python ninja mingw-w64-x86_64-glib2 mingw-w64-x86_64-pixman python-setuptools mingw-w64-x86_64-SDL2

Krutifulmen commented 5 months ago

type these two commands one after another pacman -Suy

pacman -S base-devel mingw-w64-x86_64-toolchain git python ninja mingw-w64-x86_64-glib2 mingw-w64-x86_64-pixman python-setuptools mingw-w64-x86_64-SDL2

alredy do it. all installed.

MrDiagnose commented 5 months ago

type these two commands one after another pacman -Suy pacman -S base-devel mingw-w64-x86_64-toolchain git python ninja mingw-w64-x86_64-glib2 mingw-w64-x86_64-pixman python-setuptools mingw-w64-x86_64-SDL2

alredy do it. all installed.

this git clone https://github.com/devos50/qemu-ios.git ?