随笔 - 119  文章 - 290  trackbacks - 0

博客搬家了哦,请移步
叫我abc

常用链接

留言簿(12)

随笔分类

我的博客

搜索

  •  

积分与排名

  • 积分 - 299381
  • 排名 - 84

最新评论

阅读排行榜

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 阅读(3221) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理