Bug 692256

Summary: mupdf/android/jni ndk-build compile errors on mupdf 0.8.165
Product: MuPDF Reporter: john choi <autochoi>
Component: mupdfAssignee: Robin Watts <robin.watts>
Status: RESOLVED INVALID    
Severity: critical CC: robin.watts
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: Windows 7   
Customer: Word Size: ---
Attachments: mupdf android ndk-build compile errors

Description john choi 2011-06-07 02:58:06 UTC
Created attachment 7569 [details]
mupdf android ndk-build compile errors

mupdf version :mupdf 0.8.165

where can I dounload complete latest mupdf for android ?

There was some errors on the android ndk-build. please refer attached file.

In last step, libmupdf.so , so many undefiled fucntions,
C:/cygwin/a/mupdf/mupdf-0.8.165/android/jni/../../fitz/res_colorspace.c:388: undefined reference to `__assert_func'
  
C:/cygwin/a/mupdf/mupdf-0.8.165/android/obj/local/armeabi/libmupdfcore.a(res_path.o): In function `fz_debug_path':
C:/cygwin/a/mupdf/mupdf-0.8.165/android/jni/../../fitz/res_path.c:218: undefined reference to `__swbuf_r

C:/cygwin/a/mupdf/mupdf-0.8.165/android/obj/local/armeabi/libmupdfcore.a(res_pixmap.o): In function `put32':
C:/cygwin/a/mupdf/mupdf-0.8.165/android/jni/../../fitz/res_pixmap.c:307: undefined reference to `_impure_ptr'


C:/cygwin/a/mupdf.gi3/mupdf/android/obj/local/armeabi/libmupdfcore.a(pdf_interpret.o): In function `pdf_show_path':
C:/cygwin/a/mupdf.gi3/mupdf/android/jni/../../pdf/pdf_interpret.c:254: undefined reference to `fz_new_path'
C:/cygwin/a/mupdf.gi3/mupdf/android/jni/../../pdf/pdf_interpret.c:257: undefined reference to `fz_closepath'
C:/cygwin/a/mupdf.gi3/mupdf/android/jni/../../pdf/pdf_interpret.c:260: undefined reference to `fz_bound_path'
C:/cygwin/a/mupdf.gi3/mupdf/android/jni/../../pdf/pdf_interpret.c:262: undefined reference to `fz_bound_path'
C:/cygwin/a/mupdf.gi3/mupdf/android/jni/../../pdf/pdf_interpret.c:333: undefined reference to `fz_free_path'
Comment 1 Robin Watts 2011-07-04 13:54:21 UTC
Don't do ndk-build from inside android/jni. Do it from inside android.