我使用NDK8是新的,我想建立MUPDF庫爲我的PDF查看器項目,我也跟着MuPdf讀者在項目整合,也此Readme.txt和我遇到的這錯誤:。MUPDF最新的Android NDK源,建立自己的錯誤NDK 8
Terminal Ouput
Compile thumb : mupdfthirdparty <= sfnt.c
Compile thumb : mupdfthirdparty <= truetype.c
Compile thumb : mupdfthirdparty <= type1.c
StaticLibrary : libmupdfthirdparty.a
SharedLibrary : libmupdf.so
./obj/local/armeabi/libmupdfcore.a(pdf_xref.o): In function `pdf_init_document':
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_xref.c:784: undefined reference to `pdf_new_js'
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_xref.c:785: undefined reference to `pdf_js_load_document_level'
./obj/local/armeabi/libmupdfcore.a(pdf_xref.o): In function `pdf_close_document':
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_xref.c:815: undefined reference to `pdf_drop_js'
./obj/local/armeabi/libmupdfcore.a(pdf_xref.o): In function `pdf_new_document':
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_xref.c:1298: undefined reference to `pdf_write_document'
./obj/local/armeabi/libmupdfcore.a(pdf_annot.o): In function `pdf_load_annots':
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_annot.c:371: undefined reference to `pdf_update_appearance'
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_annot.c:403: undefined reference to `pdf_field_type'
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi/libmupdf.so] Error 1
請參閱此... http://stackoverflow.com/questions/12159759/error-in-integration-of-mupdf-library/12279638#12279638 – Thushara