ld: Undefined symbols #16
Replies: 21 comments 7 replies
-
@waterdragon78 https://github.com/TrungNguyen1909/qemu-t8030/wiki/Bringing-up-the-emulator#getting-dependencies |
Beta Was this translation helpful? Give feedback.
-
I did that, and now I'm getting this |
Beta Was this translation helpful? Give feedback.
-
@waterdragon78 You did not install asn1 |
Beta Was this translation helpful? Give feedback.
-
I did, using venv and pip |
Beta Was this translation helpful? Give feedback.
-
@waterdragon78 How’s it gonna access the venv |
Beta Was this translation helpful? Give feedback.
-
I used the flag, but I still have the same error |
Beta Was this translation helpful? Give feedback.
-
pyasn1 doesn't have anything to do with the asn1 lib here |
Beta Was this translation helpful? Give feedback.
-
I compiled it with Ubuntu which worked just fine, but I'm trying to run the command below to start it but it can't find a property. I used: qemu-t8030/build/qemu-system-aarch64 -s -M t8030,trustcache-filename=Firmware/038-44135-124.dmg.trustcache,ticket-filename=root_ticket.der -kernel kernelcache.research.iphone12b -dtb Firmware/all_flash/DeviceTree.n104ap.im4p -append "debug=0x14e kextlog=0xffff serial=3 -v wdt=-1" -initrd 038-44135-124.dmg -cpu max -smp 4 -m 4G -serial mon:stdio -drive file=nvme.1,format=raw,if=none,id=drive.1 -device nvme-ns,drive=drive.1,bus=nvme-bus.0,nsid=1,nstype=1,logical_block_size=4096,physical_block_size=4096 -drive file=nvme.2,format=raw,if=none,id=drive.2 -device nvme-ns,drive=drive.2,bus=nvme-bus.0,nsid=2,nstype=2,logical_block_size=4096,physical_block_size=4096 -drive file=nvme.3,format=raw,if=none,id=drive.3 -device nvme-ns,drive=drive.3,bus=nvme-bus.0,nsid=3,nstype=3,logical_block_size=4096,physical_block_size=4096 -drive file=nvme.4,format=raw,if=none,id=drive.4 -device nvme-ns,drive=drive.4,bus=nvme-bus.0,nsid=4,nstype=4,logical_block_size=4096,physical_block_size=4096 -drive file=nvram,if=none,format=raw,id=nvram -device apple-nvram,drive=nvram,bus=nvme-bus.0,nsid=5,nstype=5,id=nvram,logical_block_size=4096,physical_block_size=4096 -drive file=nvme.6,format=raw,if=none,id=drive.6 -device nvme-ns,drive=drive.6,bus=nvme-bus.0,nsid=6,nstype=6,logical_block_size=4096,physical_block_size=4096 -drive file=nvme.7,format=raw,if=none,id=drive.7 -device nvme-ns,drive=drive.7,bus=nvme-bus.0,nsid=7,nstype=8,logical_block_size=4096,physical_block_size=4096 -monitor telnet:127.0.0.1:1235,server,nowait Which gives: Property 't8030-machine.trustcache-filename' not found |
Beta Was this translation helpful? Give feedback.
-
@waterdragon78 Why are you using the dev branch |
Beta Was this translation helpful? Give feedback.
-
Because it has more commits and therefore progress |
Beta Was this translation helpful? Give feedback.
-
but it doesn't restore because it's a W.I.P so what's the point |
Beta Was this translation helpful? Give feedback.
-
Where does it state that? |
Beta Was this translation helpful? Give feedback.
-
and where does it state the opposite |
Beta Was this translation helpful? Give feedback.
-
That’s a valid point, mb. Do both dev branches not work? |
Beta Was this translation helpful? Give feedback.
-
my local changes on the SW SEP branch reach 92% on restore but fails on update_sep because of some weird issue :(
|
Beta Was this translation helpful? Give feedback.
-
I’m not an expert but I think it’s failing some sort of hash and then failing to parse img4data as img4? I’m not sure what that is lol but maybe it’s expecting it to be unchanged if it is changed. |
Beta Was this translation helpful? Give feedback.
-
I think idevicerestore is sending something wrong but idk the code is kind of unreadable lol |
Beta Was this translation helpful? Give feedback.
-
Idk assuming I can fix the unknown property issue and get it running I’ll try it on Linux. Maybe that’ll do something assuming yall are on Mac? Idk, maybe something’s different in the Linux idevicerestore. Slim chance but can’t hurt to test it. Just gotta get it running first tho lol. |
Beta Was this translation helpful? Give feedback.
-
I still have no idea what's going on, is there any way to fix the unknown property? |
Beta Was this translation helpful? Give feedback.
-
@waterdragon78 remove |
Beta Was this translation helpful? Give feedback.
-
Hello! I am trying to compile this, but I keep running into this error. Any help would be appreciated. Also, as a side note, what's the status on springboard? I've noticed that recent commits have referenced previous issues so I'm wondering if progress has been made on SEP. Thank you!
ld: warning: -undefined error is deprecated
ld: warning: ignoring duplicate libraries: '-lgcrypt', '-lgpg-error'
ld: Undefined symbols:
_asn1_array2tree, referenced from:
_extract_im4p_payload in hw_arm_apple-silicon_boot.c.o
_asn1_create_element, referenced from:
_extract_im4p_payload in hw_arm_apple-silicon_boot.c.o
_asn1_der_decoding, referenced from:
_extract_im4p_payload in hw_arm_apple-silicon_boot.c.o
_asn1_read_value, referenced from:
_extract_im4p_payload in hw_arm_apple-silicon_boot.c.o
_extract_im4p_payload in hw_arm_apple-silicon_boot.c.o
_extract_im4p_payload in hw_arm_apple-silicon_boot.c.o
_extract_im4p_payload in hw_arm_apple-silicon_boot.c.o
_extract_im4p_payload in hw_arm_apple-silicon_boot.c.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
make: *** [run-ninja] Error 1
Beta Was this translation helpful? Give feedback.
All reactions