Bug #1327
Updated by Dmitry M. over 8 years ago
Couldn't compile test example for working of Boost library from your blog : https://www.crystax.net/en/blog/2 . I'm using the last release from your site - 10.3.1. . Also I've found some fixes to this sample at stackoverflow here: http://stackoverflow.com/questions/34780495/crystax-ndk-linker-error . I've applied them, but also I haven't got any progress and build the app. Also I've found your comment in this stackoverlof conversation and added fixes for toolchains/arm-linux-androideabi-clang3.6/setup.mk и toolchains/arm-linux-androideabi-clang3.7/setup.mk like in this commit https://github.com/crystax/android-platform-ndk/commit/a7c3633773f394958aed114a4fdf4350e98094d6 . But even this haven't get to my goal. Please, fix that. Thanks! P.S. My computer is running on Ubuntu 14.04.1(LTS) x64. ============================================================= Build log( your bug tracker doesn't allor to attach log files, that's why I've posted it here): <pre> rm -f /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/arm64-v8a/lib*.so /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/armeabi/lib*.so /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/armeabi-v7a/lib*.so /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/armeabi-v7a-hard/lib*.so /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/mips/lib*.so /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/mips64/lib*.so /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/x86/lib*.so /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/x86_64/lib*.so rm -f /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/arm64-v8a/gdbserver /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/armeabi/gdbserver /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/armeabi-v7a/gdbserver /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/armeabi-v7a-hard/gdbserver /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/mips/gdbserver /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/mips64/gdbserver /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/x86/gdbserver /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/x86_64/gdbserver rm -f /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/arm64-v8a/gdb.setup /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/armeabi/gdb.setup /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/armeabi-v7a/gdb.setup /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/armeabi-v7a-hard/gdb.setup /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/mips/gdb.setup /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/mips64/gdb.setup /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/x86/gdb.setup /home/melon/Documents/Cuckoo_projects/test-crysax-boost/libs/x86_64/gdb.setup mkdir -p /home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/objs/test-boost [armeabi-v7a] Compile++ thumb: test-boost <= test.cpp /home/melon/Soft/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF /home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/objs/test-boost/test.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include -I/home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include -I/home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/libs/armeabi-v7a/include -I/home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/backward -I/home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -std=gnu++11 -c -I/home/melon/Soft/crystax-ndk/sources/crystax/include -I/home/melon/Soft/crystax-ndk/platforms/android-9/arch-arm/usr/include /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp -o /home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/objs/test-boost/test.o In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/scoped_ptr.hpp:14:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oprimitive.hpp:55, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:30, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] explicit scoped_ptr( std::auto_ptr<T> p ) BOOST_NOEXCEPT : px( p.release() ) ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:3: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:28:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/detail/shared_count.hpp:396:33: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:3: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:249:65: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:3: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:448:31: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:3: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:461:22: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:3: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:538:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] shared_ptr & operator=( std::auto_ptr<Y> & r ) ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:3: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:547:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] shared_ptr & operator=( std::auto_ptr<Y> && r ) ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:3: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:549:38: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/test.cpp:3: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ [armeabi-v7a] Compile++ thumb: test-boost <= gps.cpp /home/melon/Soft/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF /home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/objs/test-boost/gps.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include -I/home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include -I/home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/libs/armeabi-v7a/include -I/home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/backward -I/home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -std=gnu++11 -c -I/home/melon/Soft/crystax-ndk/sources/crystax/include -I/home/melon/Soft/crystax-ndk/platforms/android-9/arch-arm/usr/include /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp -o /home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/objs/test-boost/gps.o In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/scoped_ptr.hpp:14:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oprimitive.hpp:55, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:30, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] explicit scoped_ptr( std::auto_ptr<T> p ) BOOST_NOEXCEPT : px( p.release() ) ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oprimitive.hpp:27, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:30, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:28:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/detail/shared_count.hpp:396:33: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oprimitive.hpp:27, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:30, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:249:65: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oprimitive.hpp:27, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:30, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:448:31: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oprimitive.hpp:27, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:30, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:461:22: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oprimitive.hpp:27, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:30, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:538:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] shared_ptr & operator=( std::auto_ptr<Y> & r ) ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oprimitive.hpp:27, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:30, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:547:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] shared_ptr & operator=( std::auto_ptr<Y> && r ) ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oprimitive.hpp:27, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:30, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ In file included from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/helper_collection.hpp:27:0, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/basic_oarchive.hpp:26, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/common_oarchive.hpp:21, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oarchive.hpp:29, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:31, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)': /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/smart_ptr/shared_ptr.hpp:549:38: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); ^ In file included from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/locale_conv.h:41:0, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/locale:43, from /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/iomanip:43, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/basic_text_oprimitive.hpp:27, from /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/text_oarchive.hpp:30, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.hpp:6, from /home/melon/Documents/Cuckoo_projects/test-crysax-boost/jni/gps.cpp:4: /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/include/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ [armeabi-v7a] Prebuilt : libgnustl_shared.so <= <NDK>/sources/cxx-stl/gnu-libstdc++/5/libs/armeabi-v7a/thumb/ cp -f /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/libs/armeabi-v7a/thumb/libgnustl_shared.so /home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/libgnustl_shared.so [armeabi-v7a] Executable : test-boost /home/melon/Soft/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -Wl,--gc-sections -Wl,-z,nocopyreloc --sysroot=/home/melon/Soft/crystax-ndk/platforms/android-9/arch-arm -Wl,-rpath-link=/home/melon/Soft/crystax-ndk/platforms/android-9/arch-arm/usr/lib -Wl,-rpath-link=/home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a /home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/objs/test-boost/test.o /home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/objs/test-boost/gps.o /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/libs/armeabi-v7a/gnu-4.9/libboost_serialization.a -lgcc /home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/libgnustl_shared.so -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -mthumb /home/melon/Soft/crystax-ndk/sources/cxx-stl/gnu-libstdc++/5/libs/armeabi-v7a/libsupc++.a -L/home/melon/Soft/crystax-ndk/sources/crystax/empty /home/melon/Soft/crystax-ndk/sources/crystax/libs/armeabi-v7a/thumb/libcrystax.so -lc -o /home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/test-boost /home/melon/Soft/crystax-ndk/sources/boost/1.59.0/include/boost/archive/detail/oserializer.hpp:88: error: undefined reference to 'boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::save(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' collect2: error: ld returned 1 exit status make: *** [/home/melon/Documents/Cuckoo_projects/test-crysax-boost/obj/local/armeabi-v7a/test-boost] Error 1 </pre>