Android 在mac上构建mupdf 1.1时出错

Android 在mac上构建mupdf 1.1时出错,android,android-ndk,mupdf,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/arm

我正在使用最新的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'
ndk构建
Gdbserver:[arm-linux-androideabi-4.6]libs/armeabi/Gdbserver
gdb设置:libs/armeabi/gdb.setup
Gdbserver:[arm-linux-androideabi-4.6]libs/armeabi-v7a/Gdbserver
gdb设置:libs/armeabi-v7a/gdb.setup

编译thumb:mupdfmupdf在mupdf-1.1、android-ndk-r8b(注意不要下载android-ndk-r8d)、cygwin-2.774上工作

下载cygwin时,请下载make、gcc命令库和其他必需的库


如果你有什么问题,我会设法解决的

我昨天刚试过,正在做别的项目。我解决了其他问题,但r8b解决了我的主要问题。@Naveen-我也经历了同样的问题。这就是为什么当我在那天读到你的问题时,我立即回答了…我很高兴你解决了它…祝你有一天好。。。!