reproduce problem:
NDK version: r7
link to libstdc++.so or -lstdc++
output: (need high version SDK)
reloc_library cannot locate cxa_begin_catch
reason:
they renamed libstdc++.a to libgnustl_static.a starting from NDK r7, also inserting a new dummy libstdc++.so that contain these symbols when in the device emulator does not have.
how to fix:
LOCAL_LDFLAGS += $(MY_NDK_ROOT)/sources/cxx-stl/gnu-libstdc++/libs/armeabi/libgnustl_static.a
WTF
posted on 2012-03-02 15:50
LOGOS 阅读(3241)
评论(0) 编辑 收藏 引用