我执行此命令“./make.sh”时遇到这些错误
构建用于越狱调整开发的ldid实用程序
Bilals-Mac:ldid billy$ ./make.sh
+ g++ -arch i386 -arch x86_64 -arch ppc -arch armv6 -o ldid ldid.cpp -I. -x c lookup2.c sha1.c
Undefined symbols for architecture i386:
"SHA1Result(SHA1Context*, unsigned char*)", referenced from:
sha1(unsigned char*, unsigned char*, unsigned long) in ldid-6MHU04.o
"SHA1Input(SHA1Context*, unsigned char const*, unsigned int)", referenced from:
sha1(unsigned char*, unsigned char*, unsigned long) in ldid-6MHU04.o
"SHA1Reset(SHA1Context*)", referenced from:
sha1(unsigned char*, unsigned char*, unsigned long) in ldid-6MHU04.o
ld: symbol(s) not found for architecture i386
In file included from ldid.cpp:22:
./minimal/stdlib.h:123:10: fatal error: 'errno.h' file not found
#include <errno.h>
^
1 error generated.
lookup2.c:9:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^
1 error generated.
error: unable to create target: 'No available targets are compatible with this
triple, see -version for the available targets.'
1 error generated.
clang: error: linker command failed with exit code 1 (use -v to see invocation)**strong text**
最佳答案
无论谁在构建ldid时遇到问题,他都可以从此处获取预构建ldid http://joedj.net/ldid
只需下载并将其放在Theos / bin文件夹中
关于ios - 无法构建Saurik的ldid实用程序,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/20776753/