【发布时间】:2011-07-11 04:22:50
【问题描述】:
我正在尝试使用 froyo 源代码中的 stlport 版本进行一些工作。我来了
stlport/stlport/stl/_alloc.h:158: undefined reference to `std::__node_alloc::_M_allocate(unsigned int&)'
和
stlport/stlport/stl/_alloc.h:161: undefined reference to `std::__node_alloc::_M_deallocate(void*, unsigned int)'
我找到了这个页面并尝试了他推荐的-D标志,但是没有用。:http://www.philhassey.com/blog/2010/07/21/android-day-2-the-ndk/
非常感谢任何帮助。
【问题讨论】:
-
我遇到了同样的问题,但包括 APP_STL := stlport_static 没有帮助...