无法构建Saurik的ldid实用程序 [英] Failed to build Saurik's ldid utility
本文介绍了无法构建Saurik的ldid实用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我执行此命令"./make.sh"时遇到这些错误 构建用于越狱调整开发的ldid实用程序
I am facing these errors when i execute this command "./make.sh" To build ldid utility for jailbreak tweaks development
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
Whosever having problem building ldid, he can get prebuild ldid from here http://joedj.net/ldid
只需下载并将其放置在Theos/bin文件夹中
Just download and place it in Theos/bin folder
这篇关于无法构建Saurik的ldid实用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文