eduardomanta / apdfviewer

Automatically exported from code.google.com/p/apdfviewer
GNU General Public License v2.0
0 stars 0 forks source link

Build Error #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
$ $ANDROID_NDK_ROOT/ndk-build
Compile++ thumb  : poppler_jni <= PDFDocument.cc
StaticLibrary  : libstdc++.a
SharedLibrary  : libpoppler_jni.so
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
native_init(_JNIEnv*, _jobject*, _jobject*, _jstring*, 
_jstring*):jni/PDFDocument.cc:235: error: undefined reference to 
'FileStream::FileStream(__sFILE*, unsigned int, int, unsigned int, Object*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
native_init(_JNIEnv*, _jobject*, _jobject*, _jstring*, 
_jstring*):jni/PDFDocument.cc:240: error: undefined reference to 
'PDFDoc::PDFDoc(BaseStream*, GooString*, GooString*, void*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
drawPageSlice(_JNIEnv*, _jobject*, _jobject*, int, int, int, int, 
int):jni/PDFDocument.cc:210: error: undefined reference to 
'AndroidOutputDev::AndroidOutputDev(SkCanvas*, XRef*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
drawPageSlice(_JNIEnv*, _jobject*, _jobject*, int, int, int, int, 
int):jni/PDFDocument.cc:218: error: undefined reference to 
'PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, int, int, int, 
int, int, int, int, int (*)(void*), void*, int (*)(Annot*, void*), void*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
drawPageSlice(_JNIEnv*, _jobject*, _jobject*, int, int, int, int, 
int):jni/PDFDocument.cc:218: error: undefined reference to 
'AndroidOutputDev::~AndroidOutputDev()'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
drawPages(_JNIEnv*, _jobject*, _jobject*, int, int):jni/PDFDocument.cc:186: 
error: undefined reference to 'AndroidOutputDev::AndroidOutputDev(SkCanvas*, 
XRef*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
drawPages(_JNIEnv*, _jobject*, _jobject*, int, int):jni/PDFDocument.cc:194: 
error: undefined reference to 'PDFDoc::displayPages(OutputDev*, int, int, 
double, double, int, int, int, int, int (*)(void*), void*, int (*)(Annot*, 
void*), void*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
drawPages(_JNIEnv*, _jobject*, _jobject*, int, int):jni/PDFDocument.cc:194: 
error: undefined reference to 'AndroidOutputDev::~AndroidOutputDev()'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
drawPage(_JNIEnv*, _jobject*, _jobject*, int):jni/PDFDocument.cc:160: error: 
undefined reference to 'AndroidOutputDev::AndroidOutputDev(SkCanvas*, XRef*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
drawPage(_JNIEnv*, _jobject*, _jobject*, int):jni/PDFDocument.cc:170: error: 
undefined reference to 'PDFDoc::displayPage(OutputDev*, int, double, double, 
int, int, int, int, int (*)(void*), void*, int (*)(Annot*, void*), void*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
drawPage(_JNIEnv*, _jobject*, _jobject*, int):jni/PDFDocument.cc:170: error: 
undefined reference to 'AndroidOutputDev::~AndroidOutputDev()'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
native_class_init(_JNIEnv*, _jclass*):jni/PDFDocument.cc:262: error: undefined 
reference to 'GlobalParams::GlobalParams(char const*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function 
native_class_init(_JNIEnv*, _jclass*):jni/PDFDocument.cc:264: error: undefined 
reference to 'globalParams'
collect2: ld returned 1 exit status
/cygdrive/e/ndk/android-ndk-r8c/build/core/build-binary.mk:390: recipe for 
target `obj/local/armeabi/libpoppler_jni.so' failed
make: *** [obj/local/armeabi/libpoppler_jni.so] Error 1

Original issue reported on code.google.com by renxiaod...@gmail.com on 28 Apr 2013 at 3:55