在mac上构建mupdf 1.1时出错

时间:2013-02-24 08:35:47

标签: android android-ndk mupdf

我正在使用最新的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行。

我已经搜遍了所有搜索但无法找到任何解决方案。

1 个答案:

答案 0 :(得分:1)

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

下载用于make,gcc命令和其他所需库的cygwin下载库时。!

然后如果你有任何疑问......我会尽力解决..!