0

我正在使用最新的 mupdf-1.1-source.tar.gz、mupdf-thirdparty-2012-08-14.zip 和 ndk-r8d,我正在尝试在 mac 终端上构建 mupdf。几个月前,我已经在 windows 上使用旧版本 mupdf 可能 0.9 完成了此操作,但现在在 mac 上出现此错误

ndk-build
Gdbserver      : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver
Gdbsetup       : libs/armeabi/gdb.setup
Gdbserver      : [arm-linux-androideabi-4.6] libs/armeabi-v7a/gdbserver
Gdbsetup       : libs/armeabi-v7a/gdb.setup
Compile thumb  : mupdf <= mupdf.c
Compile thumb  : mupdfcore <= base_context.c
Compile thumb  : mupdfcore <= base_error.c
Compile thumb  : mupdfcore <= base_geometry.c
Compile thumb  : mupdfcore <= base_getopt.c
Compile thumb  : mupdfcore <= base_hash.c
Compile thumb  : mupdfcore <= base_memory.c
Compile thumb  : mupdfcore <= base_string.c
Compile thumb  : mupdfcore <= base_time.c
Compile thumb  : mupdfcore <= crypt_aes.c
Compile thumb  : mupdfcore <= crypt_arc4.c
Compile thumb  : mupdfcore <= crypt_md5.c
Compile thumb  : mupdfcore <= crypt_sha2.c
Compile thumb  : mupdfcore <= dev_bbox.c
Compile thumb  : mupdfcore <= dev_list.c
Compile thumb  : mupdfcore <= dev_null.c
Compile thumb  : mupdfcore <= dev_text.c
Compile thumb  : mupdfcore <= dev_trace.c
Compile thumb  : mupdfcore <= doc_document.c
Compile thumb  : mupdfcore <= doc_link.c
Compile thumb  : mupdfcore <= doc_outline.c
Compile thumb  : mupdfcore <= filt_basic.c
Compile thumb  : mupdfcore <= filt_dctd.c
Compile thumb  : mupdfcore <= filt_faxd.c
Compile thumb  : mupdfcore <= filt_flate.c
Compile thumb  : mupdfcore <= filt_jbig2d.c
Compile thumb  : mupdfcore <= filt_lzwd.c
Compile thumb  : mupdfcore <= filt_predict.c
Compile thumb  : mupdfcore <= image_jpx.c
Compile thumb  : mupdfcore <= image_jpeg.c
Compile thumb  : mupdfcore <= image_png.c
Compile thumb  : mupdfcore <= image_tiff.c
Compile thumb  : mupdfcore <= res_colorspace.c
Compile thumb  : mupdfcore <= res_font.c
Compile thumb  : mupdfcore <= res_path.c
Compile thumb  : mupdfcore <= res_pixmap.c
Compile thumb  : mupdfcore <= res_shade.c
Compile thumb  : mupdfcore <= res_store.c
Compile thumb  : mupdfcore <= res_text.c
Compile thumb  : mupdfcore <= stm_buffer.c
Compile thumb  : mupdfcore <= stm_open.c
Compile thumb  : mupdfcore <= stm_read.c
Compile thumb  : mupdfcore <= draw_affine.c
Compile thumb  : mupdfcore <= draw_blend.c
Compile thumb  : mupdfcore <= draw_device.c
Compile thumb  : mupdfcore <= draw_edge.c
Compile thumb  : mupdfcore <= draw_glyph.c
Compile thumb  : mupdfcore <= draw_mesh.c
Compile thumb  : mupdfcore <= draw_paint.c
Compile thumb  : mupdfcore <= draw_path.c
Compile thumb  : mupdfcore <= draw_simple_scale.c
/var/folders/13/t2hb6n5964qf3vcy1_w1gyg00000gn/T//ccpBK4tU.s: Assembler messages:
/var/folders/13/t2hb6n5964qf3vcy1_w1gyg00000gn/T//ccpBK4tU.s:2384: Error: lo register required -- `str fp,[sp,#-4]!'
/var/folders/13/t2hb6n5964qf3vcy1_w1gyg00000gn/T//ccpBK4tU.s:2390: Error: lo register required -- `add fp,sp,#0'

并且此错误lo register required持续良好的 30-40 行。

我已经到处搜索,但找不到任何解决方案。

4

1 回答 1

1

MuPdf 适用于 mupdf-1.1、android-ndk-r8b(注意不要下载 android-ndk-r8d)、cygwin-2.774

下载 cygwin 时下载 make、gcc 命令和其他所需库的库..!

然后,如果您遇到任何问题...我会尝试解决..!

于 2013-02-26T14:06:45.857 回答