Hello, I am trying to compile the OSG sample application for Android, the one that works with OpenGL ES 2.0.
I followed this guide doing some minor modification for OpenGL ES 2.0: http://forum.openscenegraph.org/viewtopic.php?t=10076 I built openscenegraph with no errors with 3rd party components. Now I am stuck at the ndk-build part. When I try to compile the osgAndroidExampleGLES2 example I get these errors: Code: **** Build of configuration Default for project osgViewer **** /Users/John/Developer/Android/android-ndk-r8e/ndk-build all SharedLibrary : libosgNativeLib.so /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lgnustl_static /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(ReaderWriterFLT.o): in function std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::~basic_stringbuf():/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/sstream:60: error: undefined reference to 'vtable for std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(ReaderWriterFLT.o): in function FLTReaderWriter::readNode(std::basic_istream<char, std::char_traits<char> >&, osgDB::Options const*) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp:451: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::basic_stringbuf(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(ReaderWriterFLT.o): in function FLTReaderWriter::readNode(std::basic_istream<char, std::char_traits<char> >&, osgDB::Options const*) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp:503: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::basic_stringbuf(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(PaletteRecords.o): in function .LTHUNK76:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/Pools.h:45: error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(PaletteRecords.o): in function flt::VertexPool::VertexPool(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/Pools.h:41: error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(PaletteRecords.o): in function typeinfo for flt::VertexPool:PaletteRecords.cpp(.data.rel.ro._ZTIN3flt10VertexPoolE+0x18): error: undefined reference to 'typeinfo for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(PaletteRecords.o): in function construction vtable for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >-in-flt::VertexPool:PaletteRecords.cpp(.data.rel.ro._ZTCN3flt10VertexPoolE12_St19basic_istringstreamIcSt11char_traitsIcESaIcEE+0x8): error: undefined reference to 'typeinfo for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(PaletteRecords.o): in function construction vtable for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >-in-flt::VertexPool:PaletteRecords.cpp(.data.rel.ro._ZTCN3flt10VertexPoolE12_St19basic_istringstreamIcSt11char_traitsIcESaIcEE+0xc): error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(PaletteRecords.o): in function construction vtable for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >-in-flt::VertexPool:PaletteRecords.cpp(.data.rel.ro._ZTCN3flt10VertexPoolE12_St19basic_istringstreamIcSt11char_traitsIcESaIcEE+0x10): error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(PaletteRecords.o): in function construction vtable for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >-in-flt::VertexPool:PaletteRecords.cpp(.data.rel.ro._ZTCN3flt10VertexPoolE12_St19basic_istringstreamIcSt11char_traitsIcESaIcEE+0x1c): error: undefined reference to 'typeinfo for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(PaletteRecords.o): in function construction vtable for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >-in-flt::VertexPool:PaletteRecords.cpp(.data.rel.ro._ZTCN3flt10VertexPoolE12_St19basic_istringstreamIcSt11char_traitsIcESaIcEE+0x20): error: undefined reference to 'virtual thunk to std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(PaletteRecords.o): in function construction vtable for std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >-in-flt::VertexPool:PaletteRecords.cpp(.data.rel.ro._ZTCN3flt10VertexPoolE12_St19basic_istringstreamIcSt11char_traitsIcESaIcEE+0x24): error: undefined reference to 'virtual thunk to std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, unsigned int):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/expGeometryRecords.cpp:861: error: undefined reference to 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, unsigned int):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/sstream:458: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, unsigned int):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/sstream:458: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, unsigned int):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/expGeometryRecords.cpp:869: error: undefined reference to 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, unsigned int):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/sstream:458: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, unsigned int):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/sstream:458: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, unsigned int):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/expGeometryRecords.cpp:872: error: undefined reference to 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, unsigned int):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/expGeometryRecords.cpp:865: error: undefined reference to 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, unsigned int):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/expGeometryRecords.cpp:872: error: undefined reference to 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, std::vector<unsigned int, std::allocator<unsigned int> > const&):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/expGeometryRecords.cpp:807: error: undefined reference to 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeUVList(int, osg::Geometry const&, std::vector<unsigned int, std::allocator<unsigned int> > const&):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/expGeometryRecords.cpp:811: error: undefined reference to 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_openflight.a(expGeometryRecords.o): in function flt::FltExportVisitor::writeMultitexture(osg::Geometry const&):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/OpenFlight/expGeometryRecords.cpp:756: error: undefined reference to 'std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osgterrain.a(ReaderWriterOsgTerrain.o): in function ReaderWriterTerrain::readNode(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp:45: error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osgterrain.a(ReaderWriterOsgTerrain.o): in function ReaderWriterTerrain::readNode(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp:48: error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osgterrain.a(ReaderWriterOsgTerrain.o): in function ReaderWriterTerrain::readNode(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp:48: error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG.o): in function OSGReaderWriter::setPrecision(osgDB::Output&, osgDB::Options const*) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/osg/ReaderWriterOSG.cpp:295: error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG.o): in function OSGReaderWriter::setPrecision(osgDB::Output&, osgDB::Options const*) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/osg/ReaderWriterOSG.cpp:313: error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG.o): in function OSGReaderWriter::readNode(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/osg/ReaderWriterOSG.cpp:224: error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG.o): in function OSGReaderWriter::readObject(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/osg/ReaderWriterOSG.cpp:161: error: undefined reference to 'std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function XmlOutputIterator::~XmlOutputIterator():/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/osg/XmlStreamOperator.h:30: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function XmlOutputIterator::XmlOutputIterator(std::basic_ostream<char, std::char_traits<char> >*):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/osg/XmlStreamOperator.h:23: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function XmlOutputIterator::XmlOutputIterator(std::basic_ostream<char, std::char_traits<char> >*):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/osg/XmlStreamOperator.h:28: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function XmlInputIterator::~XmlInputIterator():/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/osg/XmlStreamOperator.h:318: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function XmlInputIterator::applyPropertyToStream(osgDB::XmlNode*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/sstream:574: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function XmlInputIterator::XmlInputIterator(std::basic_istream<char, std::char_traits<char> >*):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/osg/XmlStreamOperator.h:310: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function XmlInputIterator::XmlInputIterator(std::basic_istream<char, std::char_traits<char> >*):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/osg/XmlStreamOperator.h:316: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function XmlInputIterator::prepareStream():/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/sstream:574: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function XmlInputIterator::readWrappedString(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/sstream:574: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function XmlOutputIterator::writeDouble(double):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/sstream:574: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function osgDB::IntLookup::getString(int):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/include/osgDB/Serializer:77: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_osg.a(ReaderWriterOSG2.o): in function osgDB::IntLookup::getValue(char const*):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/include/osgDB/Serializer:63: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgdb_ive.a(DataInputStream.o): in function ive::DataInputStream::DataInputStream(std::basic_istream<char, std::char_traits<char> >*, osgDB::Options const*):/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgPlugins/ive/DataInputStream.cpp:203: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(CompositeViewer.o): in function std::list<osg::ref_ptr<osgGA::GUIEventAdapter>, std::allocator<osg::ref_ptr<osgGA::GUIEventAdapter> > >::push_back(osg::ref_ptr<osgGA::GUIEventAdapter> const&):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1516: error: undefined reference to 'std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(CompositeViewer.o): in function void std::list<osg::ref_ptr<osgGA::GUIEventAdapter>, std::allocator<osg::ref_ptr<osgGA::GUIEventAdapter> > >::insert<std::_List_iterator<osg::ref_ptr<osgGA::GUIEventAdapter> > >(std::_List_iterator<osg::ref_ptr<osgGA::GUIEventAdapter> >, std::_List_iterator<osg::ref_ptr<osgGA::GUIEventAdapter> >, std::_List_iterator<osg::ref_ptr<osgGA::GUIEventAdapter> >):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1508: error: undefined reference to 'std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(View.o): in function osgViewer::View::removeEventHandler(osgGA::GUIEventHandler*):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1532: error: undefined reference to 'std::__detail::_List_node_base::_M_unhook()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(View.o): in function std::list<osg::ref_ptr<osgGA::GUIEventHandler>, std::allocator<osg::ref_ptr<osgGA::GUIEventHandler> > >::push_back(osg::ref_ptr<osgGA::GUIEventHandler> const&):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1516: error: undefined reference to 'std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(View.o): in function std::list<osg::ref_ptr<osg::Camera>, std::allocator<osg::ref_ptr<osg::Camera> > >::push_back(osg::ref_ptr<osg::Camera> const&):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1516: error: undefined reference to 'std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(View.o): in function void std::list<osg::ref_ptr<osgGA::GUIEventHandler>, std::allocator<osg::ref_ptr<osgGA::GUIEventHandler> > >::insert<std::_List_iterator<osg::ref_ptr<osgGA::GUIEventHandler> > >(std::_List_iterator<osg::ref_ptr<osgGA::GUIEventHandler> >, std::_List_iterator<osg::ref_ptr<osgGA::GUIEventHandler> >, std::_List_iterator<osg::ref_ptr<osgGA::GUIEventHandler> >):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1508: error: undefined reference to 'std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(View.o): in function std::list<osg::ref_ptr<osg::Camera>, std::allocator<osg::ref_ptr<osg::Camera> > >::operator=(std::list<osg::ref_ptr<osg::Camera>, std::allocator<osg::ref_ptr<osg::Camera> > > const&):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1532: error: undefined reference to 'std::__detail::_List_node_base::_M_unhook()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(View.o): in function std::list<osg::ref_ptr<osg::Camera>, std::allocator<osg::ref_ptr<osg::Camera> > >::operator=(std::list<osg::ref_ptr<osg::Camera>, std::allocator<osg::ref_ptr<osg::Camera> > > const&):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1508: error: undefined reference to 'std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(Renderer.o): in function ARBQuerySupport::beginQuery(unsigned int, osg::State*):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1516: error: undefined reference to 'std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(Renderer.o): in function osgViewer::Renderer::ThreadSafeQueue::takeFront():/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1532: error: undefined reference to 'std::__detail::_List_node_base::_M_unhook()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(Renderer.o): in function EXTQuerySupport::checkQuery(osg::Stats*, osg::State*, unsigned long long):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1532: error: undefined reference to 'std::__detail::_List_node_base::_M_unhook()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgGA.a(EventQueue.o): in function osgGA::EventQueue::takeEvents(std::list<osg::ref_ptr<osgGA::GUIEventAdapter>, std::allocator<osg::ref_ptr<osgGA::GUIEventAdapter> > >&):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1508: error: undefined reference to 'std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgFX.a(AnisotropicLighting.o): in function (anonymous namespace)::ViewMatrixExtractor::compare(osg::StateAttribute const&) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgFX/AnisotropicLighting.cpp:53: error: undefined reference to 'std::type_info::before(std::type_info const&) const' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgFX.a(BumpMapping.o): in function (anonymous namespace)::ViewMatrixExtractor::compare(osg::StateAttribute const&) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgFX/BumpMapping.cpp:170: error: undefined reference to 'std::type_info::before(std::type_info const&) const' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgFX.a(SpecularHighlights.o): in function (anonymous namespace)::AutoTextureMatrix::compare(osg::StateAttribute const&) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgFX/SpecularHighlights.cpp:45: error: undefined reference to 'std::type_info::before(std::type_info const&) const' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgFX.a(Validator.o): in function osgFX::Validator::compare(osg::StateAttribute const&) const:/Users/John/Developer/Android/OpenSceneGraph-3.0.1/include/osgFX/Validator:65: error: undefined reference to 'std::type_info::before(std::type_info const&) const' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgDB.a(InputStream.o): in function osgDB::InputStream::decompress():/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osgDB/InputStream.cpp:747: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgDB.a(DatabasePager.o): in function osgDB::DatabasePager::RequestQueue::swap(std::list<osg::ref_ptr<osgDB::DatabasePager::DatabaseRequest>, std::allocator<osg::ref_ptr<osgDB::DatabasePager::DatabaseRequest> > >&):/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1179: error: undefined reference to 'std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgDB.a(DatabasePager.o): in function .LTHUNK86:/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1179: error: undefined reference to 'std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosg.a(Notify.o): in function osg::NotifyStreamBuffer::~NotifyStreamBuffer():/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/sstream:60: error: undefined reference to 'vtable for std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosg.a(Notify.o): in function osg::NotifyStream::NotifyStream():/Users/John/Developer/Android/OpenSceneGraph-3.0.1/src/osg/Notify.cpp:58: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::basic_stringbuf(std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosg.a(Notify.o): in function typeinfo for osg::NotifyStreamBuffer:Notify.cpp(.data.rel.ro._ZTIN3osg18NotifyStreamBufferE+0x8): error: undefined reference to 'typeinfo for std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosg.a(Notify.o): in function vtable for osg::NotifyStreamBuffer:Notify.cpp(.data.rel.ro._ZTVN3osg18NotifyStreamBufferE+0x14): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::setbuf(char*, int)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosg.a(Notify.o): in function vtable for osg::NotifyStreamBuffer:Notify.cpp(.data.rel.ro._ZTVN3osg18NotifyStreamBufferE+0x18): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::seekoff(long long, std::_Ios_Seekdir, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosg.a(Notify.o): in function vtable for osg::NotifyStreamBuffer:Notify.cpp(.data.rel.ro._ZTVN3osg18NotifyStreamBufferE+0x1c): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::seekpos(std::fpos<mbstate_t>, std::_Ios_Openmode)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosg.a(Notify.o): in function vtable for osg::NotifyStreamBuffer:Notify.cpp(.data.rel.ro._ZTVN3osg18NotifyStreamBufferE+0x24): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::showmanyc()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosg.a(Notify.o): in function vtable for osg::NotifyStreamBuffer:Notify.cpp(.data.rel.ro._ZTVN3osg18NotifyStreamBufferE+0x2c): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::underflow()' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosg.a(Notify.o): in function vtable for osg::NotifyStreamBuffer:Notify.cpp(.data.rel.ro._ZTVN3osg18NotifyStreamBufferE+0x34): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::pbackfail(int)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosg.a(Notify.o): in function vtable for osg::NotifyStreamBuffer:Notify.cpp(.data.rel.ro._ZTVN3osg18NotifyStreamBufferE+0x3c): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(GraphicsWindow.o): in function std::list<osgViewer::View*, std::allocator<osgViewer::View*> >::sort():/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1179: error: undefined reference to 'std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)' /Users/John/Developer/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /Users/John/Developer/Android/workspace/osgViewer/obj/local/armeabi/libosgViewer.a(GraphicsWindow.o): in function std::list<osgViewer::View*, std::allocator<osgViewer::View*> >::sort():/Users/John/Developer/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_list.h:1179: error: undefined reference to 'std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)' collect2: ld returned 1 exit status make: *** [obj/local/armeabi/libosgNativeLib.so] Error 1 **** Build Finished **** Can you please help me to understand what's wrong? I am lost... I can't find a solution. Thank you very much for your precious time! John p.s. My configuration is Mac OS X 10.8.4 Eclipse ADT v22.0.1-685705 This is my Application.mk Code: #ANDROID APPLICATION MAKEFILE APP_BUILD_SCRIPT := $(call my-dir)/Android.mk #APP_PROJECT_PATH := $(call my-dir) APP_OPTIM := release APP_PLATFORM := android-8 APP_STL := gnustl_static APP_CPPFLAGS := -fexceptions -frtti APP_ABI := armeabi armeabi-v7a APP_MODULES := osgNativeLib This is my Android.mk Code: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := osgNativeLib ### Main Install dir OSG_ANDROID_DIR := /Users/John/Developer/Android/workspace/osgViewer LIBDIR := $(OSG_ANDROID_DIR)/obj/local/armeabi ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) LOCAL_ARM_NEON := true LIBDIR := $(OSG_ANDROID_DIR)/obj/local/armeabi-v7a endif ### Add all source file names to be included in lib separated by a whitespace LOCAL_C_INCLUDES:= $(OSG_ANDROID_DIR)/include LOCAL_CFLAGS := -fno-short-enums LOCAL_CPPFLAGS := -DOSG_LIBRARY_STATIC LOCAL_LDLIBS := -llog -lGLESv2 -ldl -lz -lgnustl_static LOCAL_SRC_FILES := osgNativeLib.cpp OsgMainApp.cpp OsgAndroidNotifyHandler.cpp LOCAL_LDFLAGS := -L $(LIBDIR) \ -losgdb_dds \ -losgdb_openflight \ -losgdb_tga \ -losgdb_rgb \ -losgdb_osgterrain \ -losgdb_osg \ -losgdb_ive \ -losgdb_deprecated_osgviewer \ -losgdb_deprecated_osgvolume \ -losgdb_deprecated_osgtext \ -losgdb_deprecated_osgterrain \ -losgdb_deprecated_osgsim \ -losgdb_deprecated_osgshadow \ -losgdb_deprecated_osgparticle \ -losgdb_deprecated_osgfx \ -losgdb_deprecated_osganimation \ -losgdb_deprecated_osg \ -losgdb_serializers_osgvolume \ -losgdb_serializers_osgtext \ -losgdb_serializers_osgterrain \ -losgdb_serializers_osgsim \ -losgdb_serializers_osgshadow \ -losgdb_serializers_osgparticle \ -losgdb_serializers_osgmanipulator \ -losgdb_serializers_osgfx \ -losgdb_serializers_osganimation \ -losgdb_serializers_osg \ -losgViewer \ -losgVolume \ -losgTerrain \ -losgText \ -losgShadow \ -losgSim \ -losgParticle \ -losgManipulator \ -losgGA \ -losgFX \ -losgDB \ -losgAnimation \ -losgUtil \ -losg \ -lOpenThreads include $(BUILD_SHARED_LIBRARY) [/code] ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55159#55159 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org