作者热门文章
- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
当我执行这个命令“./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/
当我执行这个命令“./make.sh”时,我遇到了这些错误为越狱调整开发构建 ldid 实用程序 Bilals-Mac:ldid billy$ ./make.sh + g++ -arch i3
我对 linux 及其 shell 完全陌生。我正在尝试按照 http://iphonedevwiki.net/index.php/Theos/Getting_Started#NIC_Example
我是一名优秀的程序员,十分优秀!