Announcement

Collapse
No announcement yet.

not able to run the demo_view for from foxit android sdk?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • not able to run the demo_view for from foxit android sdk?

    Hi,

    I am trying to build the demo_view provided with foxit android. But i am not able to build the so file.
    Here is the log from cygwin window.

    Cygwin : Generating dependency file converter script
    Compile++ thumb : fpdfembedsdk <= FoxitEMBSDK_EMBJavaSupport.cpp
    In file included from jni/FoxitEMBSDK_EMBJavaSupport.h:2:0,
    from jni/FoxitEMBSDK_EMBJavaSupport.cpp:21:
    C:/Android/android-ndk/platforms/android-8/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4
    jni/FoxitEMBSDK_EMBJavaSupport.cpp: In function 'jint Java_FoxitEMBSDK_EMBJavaSupport_FSFileReadAlloc(JN IEnv*, jclass, jstring)':
    jni/FoxitEMBSDK_EMBJavaSupport.cpp:1183:38: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
    jni/FoxitEMBSDK_EMBJavaSupport.cpp: In function 'jint Java_FoxitEMBSDK_EMBJavaSupport_FSPauseHandlerAllo c(JNIEnv*, jclass)':
    jni/FoxitEMBSDK_EMBJavaSupport.cpp:1217:38: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
    Prebuilt : libstlport_static.a <= <NDK>/sources/cxx-stl/stlport/libs/armeabi/
    SharedLibrary : libfpdfembedsdk.so
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o: In function `OOMHandler(void*, void*, int)':
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:206: undefined reference to `__android_log_print'
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o: In function `FXMem_More(void*, int, void**, int*)':
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:124: undefined reference to `__android_log_print'
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o: In function `gVerifySignature':
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:2935: undefined reference to `__android_log_print'
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:2956: undefined reference to `__android_log_print'
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:2956: undefined reference to `__android_log_print'
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:158: more undefined references to `__android_log_print' follow
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o: In function `FX_OUTPUT_LOG_FUNC_V(char const*, std::__va_list)':
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:32: undefined reference to `__android_log_vprint'
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o: In function `Java_FoxitEMBSDK_EMBJavaSupport_FPDFDocLoad':
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:503: undefined reference to `__android_log_print'
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o: In function `Java_FoxitEMBSDK_EMBJavaSupport_FPDFDocSaveAs':
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:524: undefined reference to `__android_log_print'
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o: In function `Java_FoxitEMBSDK_EMBJavaSupport_FPDFTextLoadPage' :
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:621: undefined reference to `__android_log_print'
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o: In function `Java_FoxitEMBSDK_EMBJavaSupport_FPDFTextFindStart ':
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:703: undefined reference to `__android_log_print'
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o: In function `Java_FoxitEMBSDK_EMBJavaSupport_FPDFTextFindNext' :
    D:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:716: undefined reference to `__android_log_print'
    ./obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o:\Android\workspace\demo_view/jni/FoxitEMBSDK_EMBJavaSupport.cpp:1104: more undefined references to `__android_log_print' follow
    collect2: ld returned 1 exit status
    /cygdrive/c/Android/android-ndk/build/core/build-binary.mk:378: recipe for target `obj/local/armeabi/libfpdfembedsdk.so' failed
    make: *** [obj/local/armeabi/libfpdfembedsdk.so] Error 1

    can anybody point me what is the problem?
Working...
X