- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在Raspberry Pi上编译p0sixspwn,并且在安装了无尽的依赖关系(libimobiledevice <1.1.0,libusbmuxd等)之后,我成功运行了./autogen.sh,但是当我尝试运行“make”时,遇到了以下错误(是,我以root用户身份运行):
root@raspberrypi:/home/pi/p0sixspwn# make
make all-recursive
make[1]: Entering directory '/home/pi/p0sixspwn'
Making all in src
make[2]: Entering directory '/home/pi/p0sixspwn/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -fPIC -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/lib/libzip/include -g -O2 -c -o pris0nbarake-idevicebackup2.o `test -f 'idevicebackup2.c' || echo './'`idevicebackup2.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -fPIC -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/lib/libzip/include -g -O2 -c -o pris0nbarake-jailbreak.o `test -f 'jailbreak.c' || echo './'`jailbreak.c
In file included from jailbreak.c:56:0:
MobileDevice.h:193:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:207:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:229:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:241:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:258:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:258:61: error: unknown type name ‘CFStringRef’
MobileDevice.h:262:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:262:72: error: unknown type name ‘CFStringRef’
In file included from jailbreak.c:56:0:
MobileDevice.h:271:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:386:1: error: unknown type name ‘CFMutableDictionaryRef’
MobileDevice.h:386:54: error: unknown type name ‘CFAllocatorRef’
MobileDevice.h:412:11: error: unknown type name ‘CFDictionaryRef’
MobileDevice.h:414:11: error: unknown type name ‘CFDictionaryRef’
MobileDevice.h:419:44: error: unknown type name ‘CFStringRef’
MobileDevice.h:420:5: error: unknown type name ‘CFStringRef’
MobileDevice.h:420:36: error: unknown type name ‘CFStringRef’
MobileDevice.h:421:15: error: unknown type name ‘CFStringRef’
MobileDevice.h:421:47: error: unknown type name ‘CFStringRef’
MobileDevice.h:422:54: error: unknown type name ‘CFStringRef’
MobileDevice.h:426:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:427:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:428:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:429:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:430:1: error: unknown type name ‘CFStringRef’
MobileDevice.h:430:71: error: unknown type name ‘CFStringRef’
MobileDevice.h:431:1: error: unknown type name ‘CFStringRef’
MobileDevice.h:433:33: error: unknown type name ‘CFStringRef’
MobileDevice.h:435:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:435:57: error: unknown type name ‘CFStringRef’
MobileDevice.h:435:84: error: unknown type name ‘CFStringRef’
MobileDevice.h:436:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:436:51: error: unknown type name ‘CFStringRef’
MobileDevice.h:437:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:437:54: error: unknown type name ‘notify_callback’
MobileDevice.h:438:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:441:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:442:1: error: unknown type name ‘mach_error_t’
MobileDevice.h:442:57: error: unknown type name ‘CFMutableDictionaryRef’
MobileDevice.h:482:5: error: unknown type name ‘CFDictionaryRef’
jailbreak.c:417:1: error: unknown type name ‘kern_return_t’
jailbreak.c:417:51: error: unknown type name ‘CFPropertyListRef’
jailbreak.c:418:1: error: unknown type name ‘CFPropertyListRef’
jailbreak.c:422:24: error: unknown type name ‘CFDataRef’
jailbreak.c: In function ‘cb2’:
jailbreak.c:481:9: error: unknown type name ‘CFStringRef’
jailbreak.c:483:9: error: unknown type name ‘UniChar’
jailbreak.c:505:9: error: unknown type name ‘CFPropertyListRef’
jailbreak.c:505:36: warning: initialization makes integer from pointer without a cast [enabled by default]
jailbreak.c:506:9: error: unknown type name ‘CFMutableDictionaryRef’
jailbreak.c:506:75: error: ‘kCFTypeDictionaryKeyCallBacks’ undeclared (first use in this function)
jailbreak.c:506:75: note: each undeclared identifier is reported only once for each function it appears in
jailbreak.c:506:107: error: ‘kCFTypeDictionaryValueCallBacks’ undeclared (first use in this function)
jailbreak.c:518:113: error: ‘kCFAllocatorNull’ undeclared (first use in this function)
jailbreak.c:533:9: warning: passing argument 1 of ‘strstr’ makes pointer from integer without a cast [enabled by default]
/usr/include/string.h:342:14: note: expected ‘const char *’ but argument is of type ‘int’
jailbreak.c: In function ‘stroke_lockdownd’:
jailbreak.c:562:5: warning: passing argument 2 of ‘idevice_connection_send’ from incompatible pointer type [enabled by default]
../include/libimobiledevice/libimobiledevice.h:94:17: note: expected ‘const char *’ but argument is of type ‘uint32_t *’
jailbreak.c:565:5: warning: passing argument 2 of ‘idevice_connection_receive_timeout’ from incompatible pointer type [enabled by default]
../include/libimobiledevice/libimobiledevice.h:95:17: note: expected ‘char *’ but argument is of type ‘unsigned int *’
jailbreak.c:569:9: warning: passing argument 3 of ‘idevice_connection_receive_timeout’ makes integer from pointer without a cast [enabled by default]
../include/libimobiledevice/libimobiledevice.h:95:17: note: expected ‘uint32_t’ but argument is of type ‘unsigned int *’
Makefile:413: recipe for target 'pris0nbarake-jailbreak.o' failed
make[2]: *** [pris0nbarake-jailbreak.o] Error 1
make[2]: Leaving directory '/home/pi/p0sixspwn/src'
Makefile:340: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/p0sixspwn'
Makefile:271: recipe for target 'all' failed
make: *** [all] Error 2
root@raspberrypi:/home/pi/p0sixspwn#
root@raspberrypi:/home/pi/p0sixspwn# ./autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:10: installing `./compile'
configure.ac:7: installing `./config.guess'
configure.ac:7: installing `./config.sub'
configure.ac:8: installing `./install-sh'
configure.ac:8: installing `./missing'
gui/Makefile.am: installing `./depcomp'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking target system type... armv6l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking whether gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libimobiledevice... yes
checking for libplist... yes
checking for libzip... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating gui/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
root@raspberrypi:/home/pi/p0sixspwn#
最佳答案
可悲的是,目前无法在Raspberry Pi(或任何Linux发行版)上编译p0sixspwn。在Mac上很难编译,在Windows上甚至更难编译。
如果有某种方法可以使Wine在Raspberry Pi上运行或编辑源代码,则可能是可行的。但是目前还不是。
编辑:
这是可能的。编译CFLite并将其包括在内。会有一些错误,但是您可以很容易地找出来。
关于compilation - 在树莓派上编译p0sixspwn的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27613257/
关闭。这个问题是off-topic .它目前不接受答案。 想要改进这个问题? Update the question所以它是on-topic用于堆栈溢出。 关闭 12 年前。 Improve thi
我有一个动态网格,其中的数据功能需要正常工作,这样我才能逐步复制网格中的数据。假设在第 5 行中,我输入 10,则从第 6 行开始的后续行应从 11 开始读取,依此类推。 如果我转到空白的第一行并输入
我有一个关于我的按钮消失的问题 我已经把一个图像作为我的按钮 用这个函数动画 function example_animate(px) { $('#cont
我有一个具有 Facebook 连接和经典用户名/密码登录的网站。目前,如果用户单击 facebook_connect 按钮,系统即可运行。但是,我想将现有帐户链接到 facebook,因为用户可以选
我有一个正在为 iOS 开发的应用程序,该应用程序执行以下操作 加载和设置注释并启动核心定位和缩放到位置。 map 上有很多注释,从数据加载不会花很长时间,但将它们实际渲染到 map 上需要一段时间。
我被推荐使用 Heroku for Ruby on Rails 托管,到目前为止,我认为我真的会喜欢它。只是想知道是否有人可以帮助我找出问题所在。 我按照那里的说明在该网站上创建应用程序,创建并提交
我看过很多关于 SSL 错误的帖子和信息,我自己也偶然发现了一个。 我正在尝试使用 GlobalSign CA BE 证书通过 Android WebView 访问网页,但出现了不可信错误。 对于大多
我想开始使用 OpenGL 3+ 和 4,但我在使用 Glew 时遇到了问题。我试图将 glew32.lib 包含在附加依赖项中,并且我已将库和 .dll 移动到主文件夹中,因此不应该有任何路径问题。
我已经盯着这两个下载页面的源代码看了一段时间,但我似乎找不到问题。 我有两个下载页面,一个 javascript 可以工作,一个没有。 工作:http://justupload.it/v/lfd7不是
我一直在使用 jQuery,只是尝试在单击链接时替换文本字段以及隐藏/显示内容项。它似乎在 IE 中工作得很好,但我似乎无法让它在 FF 中工作。 我的 jQuery: $(function() {
我正在尝试为 NDK 编译套接字库,但出现以下两个错误: error: 'close' was not declared in this scope 和 error: 'min' is not a m
我正在使用 Selenium 浏览器自动化框架测试网站。在测试过程中,我切换到特定的框架,我们将其称为“frame_1”。后来,我在 Select 类中使用了 deselectAll() 方法。不久之
我正在尝试通过 Python 创建到 Heroku PostgreSQL 数据库的连接。我将 Windows10 与 Python 3.6.8 和 PostgreSQL 9.6 一起使用。 我从“ht
我有一个包含 2 列的数据框,我想根据两列之间的比较创建第三列。 所以逻辑是:第 1 列 val = 3,第 2 列 val = 4,因此新列值什么都没有 第 1 列 val = 3,第 2 列 va
我想知道如何调试 iphone 5 中的 css 问题。 我尝试使用 firelite 插件。但是从纵向旋转到横向时,火石占据了整个屏幕。 有没有其他方法可以调试 iphone 5 中的 css 问题
所以我有点难以理解为什么这不起作用。我正在尝试替换我正在处理的示例站点上的类别复选框。我试图让它做以下事情:未选中时以一种方式出现,悬停时以另一种方式出现(选中或未选中)选中时以第三种方式出现(而不是
Javascript CSS 问题: 我正在使用一个文本框来写入一个 div。我使用以下 javascript 获取文本框来执行此操作: function process_input(){
你好,我很难理解 P、NP 和多项式时间缩减的主题。我试过在网上搜索它并问过我的一些 friend ,但我没有得到任何好的答案。 我想问一个关于这个话题的一般性问题: 设 A,B 为 P 中的语言(或
你好,我一直在研究 https://leetcode.com/problems/2-keys-keyboard/并想到了这个动态规划问题。 您从空白页上的“A”开始,完成后得到一个数字 n,页面上应该
我正在使用 Cocoapods 和 KIF 在 Xcode 服务器上运行持续集成。我已经成功地为一个项目设置了它来报告每次提交。我现在正在使用第二个项目并收到错误: Bot Issue: warnin
我是一名优秀的程序员,十分优秀!