-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant compile using make. #610
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, ive recently tried compiling idevicerestore on a rooted android phone running termux and ive run into some issues
~/idevicerestore $ sudo make make all-recursive
make[1]: Entering directory '/data/data/com.termux/files/home/idevicerestore' Making all in src
make[2]: Entering directory '/data/data/com.termux/files/home/idevicerestore/src'
CC idevicerestore-idevicerestore.o
CC idevicerestore-common.o CC idevicerestore-tss.o
CC idevicerestore-fls.o
CC idevicerestore-mbn.o
CC idevicerestore-img3.o
CC idevicerestore-img4.o
CC idevicerestore-ftab.o CC idevicerestore-ipsw.o
CC idevicerestore-normal.o
CC idevicerestore-dfu.o CC idevicerestore-recovery.o
CC idevicerestore-restore.o
restore.c:1423:8: warning: 'zip_replace' is deprecated: use 'zip_file_replace' instead [-Wdeprecated-declarations] 1423 | if (zip_replace(za, zindex, zs) == -1) { | ^
/data/data/com.termux/files/usr/include/zip.h:385:1: note: 'zip_replace' has been explicitly marked deprecated here
385 | ZIP_DEPRECATED("use 'zip_file_replace' instead") ZIP_EXTERN int zip_replace(zip_t *_Nonnull, zip_uint64_t, zip_source_t *_Nonnull);
| ^
/data/data/com.termux/files/usr/include/zip.h:63:42: note: expanded from macro 'ZIP_DEPRECATED'
63 | #define ZIP_DEPRECATED(x) attribute((deprecated(x)))
| ^
restore.c:1441:25: warning: 'zip_get_num_files' is deprecated: use 'zip_get_num_entries' instead [-Wdeprecated-declarations]
1441 | int i, j, keep, numf = zip_get_num_files(za);
| ^
/data/data/com.termux/files/usr/include/zip.h:383:1: note: 'zip_get_num_files' has been explicitly marked deprecated here
383 | ZIP_DEPRECATED("use 'zip_get_num_entries' instead") ZIP_EXTERN int zip_get_num_files(zip_t *_Nonnull);
| ^
/data/data/com.termux/files/usr/include/zip.h:63:42: note: expanded from macro 'ZIP_DEPRECATED'
63 | #define ZIP_DEPRECATED(x) attribute((deprecated(x)))
| ^
restore.c:1542:8: warning: 'zip_replace' is deprecated: use 'zip_file_replace' instead [-Wdeprecated-declarations]
1542 | if (zip_replace(za, zindex, zs) == -1) {
| ^
/data/data/com.termux/files/usr/include/zip.h:385:1: note: 'zip_replace' has been explicitly marked deprecated here
385 | ZIP_DEPRECATED("use 'zip_file_replace' instead") ZIP_EXTERN int zip_replace(zip_t *_Nonnull, zip_uint64_t, zip_source_t *_Nonnull);
| ^
/data/data/com.termux/files/usr/include/zip.h:63:42: note: expanded from macro 'ZIP_DEPRECATED'
63 | #define ZIP_DEPRECATED(x) attribute((deprecated(x)))
| ^
restore.c:1563:8: warning: 'zip_add' is deprecated: use 'zip_file_add' instead [-Wdeprecated-declarations]
1563 | if (zip_add(za, "bbticket.der", zs) == -1) {
| ^
/data/data/com.termux/files/usr/include/zip.h:380:1: note: 'zip_add' has been explicitly marked deprecated here
380 | ZIP_DEPRECATED("use 'zip_file_add' instead") ZIP_EXTERN zip_int64_t zip_add(zip_t *_Nonnull, const char *_Nonnull, zip_source_t *_Nonnull);
| ^
/data/data/com.termux/files/usr/include/zip.h:63:42: note: expanded from macro 'ZIP_DEPRECATED'
63 | #define ZIP_DEPRECATED(x) attribute((deprecated(x)))
| ^
4 warnings generated.
CC idevicerestore-asr.o
CC idevicerestore-fdr.o
CC idevicerestore-limera1n.o
CC idevicerestore-download.o
CC idevicerestore-locking.o
CC idevicerestore-socket.o
CC idevicerestore-thread.o
CC idevicerestore-jsmn.o
CC idevicerestore-json_plist.o
CCLD idevicerestore
ld.lld: error: undefined symbol: SHA1Init
ld.lld: error: undefined symbol: SHA1Update
ld.lld: error: undefined symbol: SHA1Final
Does anyone have a fix?
The text was updated successfully, but these errors were encountered: