zhy520xp / mace-makefile-project

makefile 交叉编译 libmace.a,并能在嵌入式端调用GPU来跑深度学习模型
96 stars 18 forks source link

msm8953使用Android-ndk-r16b在编译mace的时候成功,编译cpu_test失败 #14

Open BBuf opened 6 years ago

BBuf commented 6 years ago

如题,希望作者可以解答一下,感谢。 /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -o demo unit_test.o ../library/mace_cpu/libmace.a ../library/mace/libprotobuf-lite.a ../library/mace/libprotoc.a ../library/mace/libprotobuf.a -fopenmp -lm -pthread -lrt -ldl /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf-lite.a(common.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf-lite.a(arena.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf-lite.a(generated_message_util.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf-lite.a(message_lite.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf-lite.a(repeated_field.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf-lite.a(wire_format_lite.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf-lite.a(coded_stream.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf-lite.a(zero_copy_stream_impl_lite.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf.a(common.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf.a(arena.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf.a(generated_message_util.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf.a(message_lite.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf.a(repeated_field.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf.a(wire_format_lite.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf.a(coded_stream.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ../library/mace/libprotobuf.a(zero_copy_stream_impl_lite.o): incompatible target /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lrt /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lstdc++ /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lm /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl crtbegin_dynamic.o:crtbegin.c:function _start: error: undefined reference to 'libc_init' crtbegin_dynamic.o:crtbegin.c:function atexit: error: undefined reference to 'cxa_atexit' unit_test.o:unit_test.cpp:function std::string::_Rep::_M_dispose(std::allocator const&) [clone .part.6]: error: undefined reference to 'std::string::_Rep::_M_destroy(std::allocator const&)' unit_test.o:unit_test.cpp:function std::string::_Rep::_M_dispose(std::allocator const&) [clone .part.6]: error: undefined reference to 'pthread_create' unit_test.o:unit_test.cpp:function void std::_Destroy<std::string, std::string>(std::string, std::string, std::allocator&) [clone .isra.62]: error: undefined reference to 'std::string::_Rep::_M_destroy(std::allocator const&)' unit_test.o:unit_test.cpp:function void std::_Destroy<std::string, std::string>(std::string, std::string, std::allocator&) [clone .isra.62]: error: undefined reference to 'std::string::_Rep::_M_destroy(std::allocator const&)' unit_test.o:unit_test.cpp:function void std::_Destroy<std::string, std::string>(std::string, std::string, std::allocator&) [clone .isra.62]: error: undefined reference to 'pthread_create' unit_test.o:unit_test.cpp:function void std::_Destroy<std::string, std::string>(std::string, std::string, std::allocator&) [clone .isra.62]: error: undefined reference to 'std::string::_Rep::_S_empty_rep_storage' unit_test.o:unit_test.cpp:function void gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::string const, mace::MaceTensor> > >::destroy<std::pair<std::string const, mace::MaceTensor> >(std::pair<std::string const, mace::MaceTensor>*) [clone .isra.81]: error: undefined reference to 'std::string::_Rep::_M_destroy(std::allocator const&)' unit_test.o:unit_test.cpp:function void gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::string const, mace::MaceTensor> > >::destroy<std::pair<std::string const, mace::MaceTensor> >(std::pair<std::string const, mace::MaceTensor>) [clone .isra.81]: error: undefined reference to 'std::string::_Rep::_S_empty_rep_storage' unit_test.o:unit_test.cpp:function void __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::string const, mace::MaceTensor> > >::destroy<std::pair<std::string const, mace::MaceTensor> >(std::pair<std::string const, mace::MaceTensor>) [clone .isra.81]: error: undefined reference to 'pthread_create' unit_test.o:unit_test.cpp:function std::_Sp_counted_deleter<float, std::default_delete<float []>, std::allocator, (__gnu_cxx::_Lock_policy)1>::~_Sp_counted_deleter(): error: undefined reference to 'operator delete(void)' unit_test.o:unit_test.cpp:function std::_Sp_counted_deleter<float, std::default_delete<float []>, std::allocator, (__gnu_cxx::_Lock_policy)1>::_M_destroy(): error: undefined reference to 'operator delete(void)' unit_test.o:unit_test.cpp:function std::_Sp_counted_deleter<float, std::default_delete<float []>, std::allocator, (__gnu_cxx::_Lock_policy)1>::_M_get_deleter(std::type_info const&): error: undefined reference to 'std::type_info::operator==(std::type_info const&) const' unit_test.o:unit_test.cpp:function std::_Sp_counted_deleter<float, std::default_delete<float []>, std::allocator, (gnu_cxx::_Lock_policy)1>::_M_dispose(): error: undefined reference to 'operator delete' unit_test.o:unit_test.cpp:function std::_Sp_counted_base<(gnu_cxx::_Lock_policy)1>::_M_release(): error: undefined reference to 'pthread_create' unit_test.o:unit_test.cpp:function std::_Rb_tree<std::string, std::pair<std::string const, mace::MaceTensor>, std::_Select1st<std::pair<std::string const, mace::MaceTensor> >, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, mace::MaceTensor> >): error: undefined reference to 'operator delete(void)' unit_test.o:unit_test.cpp:function std::_Rb_tree<std::string, std::pair<std::string const, mace::MaceTensor>, std::_Select1st<std::pair<std::string const, mace::MaceTensor> >, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, mace::MaceTensor> >): error: undefined reference to 'operator delete(void)' unit_test.o:unit_test.cpp:function std::_Rb_tree<std::string, std::pair<std::string const, mace::MaceTensor>, std::_Select1st<std::pair<std::string const, mace::MaceTensor> >, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, mace::MaceTensor> >): error: undefined reference to 'std::string::_Rep::_S_empty_rep_storage' unit_test.o:unit_test.cpp:function void std::vector<unsigned char, std::allocator >::_M_range_insert<std::istreambuf_iterator<char, std::char_traits > >(__gnu_cxx::__normal_iterator<unsigned char, std::vector<unsigned char, std::allocator > >, std::istreambuf_iterator<char, std::char_traits >, std::istreambuf_iterator<char, std::char_traits >, std::input_iterator_tag): error: undefined reference to 'memmove' unit_test.o:unit_test.cpp:function void std::vector<unsigned char, std::allocator >::_M_range_insert<std::istreambuf_iterator<char, std::char_traits > >(gnu_cxx::normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator > >, std::istreambuf_iterator<char, std::char_traits >, std::istreambuf_iterator<char, std::char_traits >, std::input_iterator_tag): error: undefined reference to 'operator new(unsigned int)' unit_test.o:unit_test.cpp:function void std::vector<unsigned char, std::allocator >::_M_range_insert<std::istreambuf_iterator<char, std::char_traits > >(gnu_cxx::normal_iterator<unsigned char, std::vector<unsigned char, std::allocator > >, std::istreambuf_iterator<char, std::char_traits >, std::istreambuf_iterator<char, std::char_traits >, std::input_iterator_tag): error: undefined reference to 'memmove' unit_test.o:unit_test.cpp:function void std::vector<unsigned char, std::allocator >::_M_range_insert<std::istreambuf_iterator<char, std::char_traits > >(__gnu_cxx::__normal_iterator<unsigned char, std::vector<unsigned char, std::allocator > >, std::istreambuf_iterator<char, std::char_traits >, std::istreambuf_iterator<char, std::char_traits >, std::input_iterator_tag): error: undefined reference to 'memmove' unit_test.o:unit_test.cpp:function void std::vector<unsigned char, std::allocator >::_M_range_insert<std::istreambuf_iterator<char, std::char_traits > >(gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator > >, std::istreambuf_iterator<char, std::char_traits >, std::istreambuf_iterator<char, std::char_traits >, std::input_iterator_tag): error: undefined reference to 'std::throw_length_error(char const)' unit_test.o:unit_test.cpp:function void std::vector<std::string, std::allocator >::_M_emplace_back_aux(std::string&&): error: undefined reference to 'operator new(unsigned int)' unit_test.o:unit_test.cpp:function void std::vector<std::string, std::allocator >::_M_emplace_back_aux(std::string&&): error: undefined reference to 'std::string::_Rep::_S_empty_rep_storage' unit_test.o:unit_test.cpp:function std::shared_count<(__gnu_cxx::_Lock_policy)1>::shared_count<float, std::default_delete<float []>, std::allocator >(float, std::default_delete<float []>, std::allocator): error: undefined reference to 'operator new(unsigned int)' unit_test.o:unit_test.cpp:function std::shared_count<(__gnu_cxx::_Lock_policy)1>::shared_count<float, std::default_delete<float []>, std::allocator >(float, std::default_delete<float []>, std::allocator): error: undefined reference to 'cxa_begin_catch' unit_test.o:unit_test.cpp:function std::shared_count<(__gnu_cxx::_Lock_policy)1>::__shared_count<float, std::default_delete<float []>, std::allocator >(float, std::default_delete<float []>, std::allocator): error: undefined reference to 'operator delete[](void)' unit_test.o:unit_test.cpp:function std::shared_count<(__gnu_cxx::_Lock_policy)1>::shared_count<float, std::default_delete<float []>, std::allocator >(float, std::default_delete<float []>, std::allocator): error: undefined reference to 'cxa_rethrow' unit_test.o:unit_test.cpp:function std::__shared_count<(gnu_cxx::_Lock_policy)1>::shared_count<float, std::default_delete<float []>, std::allocator >(float, std::default_delete<float []>, std::allocator): error: undefined reference to 'cxa_end_catch' unit_test.o:unit_test.cpp:function std::shared_count<(gnu_cxx::_Lock_policy)1>::shared_count<float, std::default_delete<float []>, std::allocator >(float, std::default_delete<float []>, std::allocator): error: undefined reference to 'cxa_end_cleanup' unit_test.o(.ARM.extab.text._ZNSt14shared_countILN9gnu_cxx12_Lock_policyE1EEC2IPfSt14default_deleteIA_fESaIvEEET_T0T1+0x0): error: undefined reference to 'gxx_personality_v0' unit_test.o:unit_test.cpp:function std::_Rb_tree<std::string, std::pair<std::string const, mace::MaceTensor>, std::_Select1st<std::pair<std::string const, mace::MaceTensor> >, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::_M_get_insert_unique_pos(std::string const&): error: undefined reference to 'memcmp' unit_test.o:unit_test.cpp:function std::_Rb_tree<std::string, std::pair<std::string const, mace::MaceTensor>, std::_Select1st<std::pair<std::string const, mace::MaceTensor> >, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::_M_get_insert_unique_pos(std::string const&): error: undefined reference to 'memcmp' unit_test.o:unit_test.cpp:function std::_Rb_tree<std::string, std::pair<std::string const, mace::MaceTensor>, std::_Select1st<std::pair<std::string const, mace::MaceTensor> >, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::_M_get_insert_unique_pos(std::string const&): error: undefined reference to 'std::_Rb_tree_decrement(std::_Rb_tree_node_base)' unit_test.o:unit_test.cpp:function std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::operator: error: undefined reference to 'memcmp' unit_test.o:unit_test.cpp:function std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::operator: error: undefined reference to 'memcmp' unit_test.o:unit_test.cpp:function std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::operator: error: undefined reference to 'operator new(unsigned int)' unit_test.o:unit_test.cpp:function std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::operator: error: undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base)' unit_test.o:unit_test.cpp:function std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::operator: error: undefined reference to 'std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base, std::_Rb_tree_node_base, std::_Rb_tree_node_base&)' unit_test.o:unit_test.cpp:function std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::operator: error: undefined reference to 'std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' unit_test.o:unit_test.cpp:function std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::operator: error: undefined reference to 'cxa_begin_catch' unit_test.o:unit_test.cpp:function std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::operator: error: undefined reference to 'cxa_rethrow' unit_test.o:unit_test.cpp:function std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::operator: error: undefined reference to 'cxa_end_catch' unit_test.o:unit_test.cpp:function std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >::operator: error: undefined reference to 'cxa_end_cleanup' unit_test.o(.ARM.extab.text._ZNSt3mapISsN4mace10MaceTensorESt4lessISsESaISt4pairIKSsS1_EEEixEOSs+0x0): error: undefined reference to 'gxx_personality_v0' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const, std::allocator const&)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ifstream<char, std::char_traits >::basic_ifstream(std::string const&, std::_Ios_Openmode)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::__basic_file::is_open() const' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::istream::seekg(long long, std::_Ios_Seekdir)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::istream::tellg()' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::istream::seekg(long long, std::_Ios_Seekdir)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ifstream<char, std::char_traits >::~basic_ifstream()' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'puts' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_filebuf<char, std::char_traits >::close()' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ifstream<char, std::char_traits >::~basic_ifstream()' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const, std::allocator const&)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const, std::allocator const&)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ostream<char, std::char_traits >& std::__ostream_insert<char, std::char_traits >(std::basic_ostream<char, std::char_traits >&, char const, int)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ostream<char, std::char_traits >& std::ostream_insert<char, std::char_traits >(std::basic_ostream<char, std::char_traits >&, char const, int)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const, std::allocator const&)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ostream<char, std::char_traits >& std::ostream_insert<char, std::char_traits >(std::basic_ostream<char, std::char_traits >&, char const*, int)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ostream<char, std::char_traits >& std::ostream_insert<char, std::char_traits >(std::basic_ostream<char, std::char_traits >&, char const, int)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'memcpy' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'operator new[](unsigned int)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ifstream<char, std::char_traits >::basic_ifstream(char const, std::_Ios_Openmode)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_file::is_open() const' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::istream::read(char, int)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_filebuf<char, std::char_traits >::close()' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'memcpy' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'operator new[](unsigned int)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'gettimeofday' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'gettimeofday' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'printf' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'gettimeofday' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'gettimeofday' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'printf' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ofstream<char, std::char_traits >::basic_ofstream(std::string const&, std::_Ios_Openmode)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'printf' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'putchar' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::ostream::write(char const, int)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::ostream::flush()' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_filebuf<char, std::char_traits >::close()' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ofstream<char, std::char_traits >::~basic_ofstream()' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ifstream<char, std::char_traits >::~basic_ifstream()' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'memmove' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ios<char, std::char_traits >::clear(std::_Ios_Iostate)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ios<char, std::char_traits >::clear(std::_Ios_Iostate)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ios<char, std::char_traits >::clear(std::_Ios_Iostate)' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'cxa_end_cleanup' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::cout' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ifstream<char, std::char_traits >::~basic_ifstream()' unit_test.o:unit_test.cpp:function main: error: undefined reference to 'std::basic_ofstream<char, std::char_traits >::~basic_ofstream()' unit_test.o:unit_test.cpp:function _GLOBAL__sub_I_unit_test.cpp: error: undefined reference to 'std::ios_base::Init::Init()' unit_test.o:unit_test.cpp:function _GLOBALsub_I_unit_test.cpp: error: undefined reference to 'aeabi_atexit' unit_test.o:unit_test.cpp:function _GLOBALsub_I_unit_test.cpp: error: undefined reference to 'std::ios_base::Init::~Init()' unit_test.o(.ARM.extab.text.startup+0x0): error: undefined reference to 'gxx_personality_v0' unit_test.o:unit_test.cpp:typeinfo for gnu_cxx::mutex: error: undefined reference to 'vtable for cxxabiv1::class_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function unit_test.o:unit_test.cpp:typeinfo for std::_Mutex_base<(__gnu_cxx::_Lock_policy)1>: error: undefined reference to 'vtable for cxxabiv1::si_class_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function unit_test.o:unit_test.cpp:typeinfo for std::default_delete<float []>: error: undefined reference to 'vtable for cxxabiv1::class_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function unit_test.o:unit_test.cpp:typeinfo for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)1>: error: undefined reference to 'vtable for cxxabiv1::vmi_class_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function unit_test.o:unit_test.cpp:typeinfo for std::_Sp_counted_deleter<float*, std::default_delete<float []>, std::allocator, (gnu_cxx::_Lock_policy)1>: error: undefined reference to 'vtable for cxxabiv1::si_class_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function unit_test.o:unit_test.cpp:vtable for std::_Sp_counted_base<(gnu_cxx::_Lock_policy)1>: error: undefined reference to '__cxa_pure_virtual' unit_test.o:unit_test.cpp:vtable for std::_Sp_counted_base<(gnu_cxx::_Lock_policy)1>: error: undefined reference to 'cxa_pure_virtual' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OperatorBase::OperatorBase(mace::OperatorDef const&, mace::Workspace): error: undefined reference to '__cxa_begin_catch' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OperatorBase::OperatorBase(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'cxa_rethrow' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OperatorBase::OperatorBase(mace::OperatorDef const&, mace::Workspace): error: undefined reference to '__cxa_end_catch' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OperatorBase::OperatorBase(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'cxa_end_cleanup' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::TypeConstraint(char const, mace::DataType): error: undefined reference to 'std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base, std::_Rb_tree_node_base, std::_Rb_tree_node_base&)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to '__cxa_guard_acquire' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::ios_base::ios_base()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::basic_ios<char, std::char_traits >::init(std::basic_streambuf<char, std::char_traits >)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::basic_ios<char, std::char_traits >::init(std::basic_streambuf<char, std::char_traits >)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::locale::locale()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::basic_ios<char, std::char_traits >::init(std::basic_streambuf<char, std::char_traits >)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::ostream::operator<<(int)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::basic_string<char, std::char_traits, std::allocator >::basic_string(std::string const&)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator const&)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::string::swap(std::string&)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::locale::~locale()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::ios_base::~ios_base()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::basic_string<char, std::char_traits, std::allocator >::basic_string(std::string const&)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base, std::_Rb_tree_node_base, std::_Rb_tree_node_base&)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator const&)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::string::swap(std::string&)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::basic_string<char, std::char_traits, std::allocator >::basic_string(std::string const&)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'cxa_guard_release' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'aeabi_atexit' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'memcpy' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'memcpy' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::string::assign(std::string const&)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to '__cxa_guard_abort' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::throw_logic_error(char const)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::basic_stringstream<char, std::char_traits, std::allocator >::~basic_stringstream()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::ios_base::~ios_base()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to '__cxa_begin_catch' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'cxa_rethrow' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::throw_logic_error(char const)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::locale::~locale()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'std::basic_iostream<char, std::char_traits >::~basic_iostream()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'cxa_end_catch' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'vtable for std::basic_ios<char, std::char_traits >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'VTT for std::basic_stringstream<char, std::char_traits, std::allocator >' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'vtable for std::basic_stringstream<char, std::char_traits, std::allocator >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'vtable for std::basic_streambuf<char, std::char_traits >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OpKeyBuilder::Build(): error: undefined reference to 'vtable for std::basic_stringbuf<char, std::char_traits, std::allocator >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OperatorRegistry::CreateOperator(mace::OperatorDef const&, mace::Workspace*, mace::DeviceType, mace::NetMode) const: error: undefined reference to 'std::throw_out_of_range(char const)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function mace::OperatorRegistry::CreateOperator(mace::OperatorDef const&, mace::Workspace, mace::DeviceType, mace::NetMode) const: error: undefined reference to 'std::throw_bad_function_call()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function std::_Sp_counted_ptr_inplace<mace::OperatorDef, std::allocator, (gnu_cxx::_Lock_policy)1>::_M_get_deleter(std::type_info const&): error: undefined reference to 'std::type_info::operator==(std::type_info const&) const' ../library/mace_cpu/libmace.a(operator.o)(.ARM.extab+0x0): error: undefined reference to 'gxx_personality_v0' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function std::_Rb_tree<std::string, std::pair<std::string const, mace::DataType>, std::_Select1st<std::pair<std::string const, mace::DataType> >, std::less, std::allocator<std::pair<std::string const, mace::DataType> > >::_M_get_insert_unique_pos(std::string const&): error: undefined reference to 'std::_Rb_tree_decrement(std::_Rb_tree_node_base)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function std::_Rb_tree<std::string, std::pair<std::string const, mace::DataType>, std::_Select1st<std::pair<std::string const, mace::DataType> >, std::less, std::allocator<std::pair<std::string const, mace::DataType> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::string const, mace::DataType> >, std::string const&): error: undefined reference to 'std::_Rb_tree_decrement(std::_Rb_tree_node_base)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function std::_Rb_tree<std::string, std::pair<std::string const, mace::DataType>, std::_Select1st<std::pair<std::string const, mace::DataType> >, std::less, std::allocator<std::pair<std::string const, mace::DataType> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::string const, mace::DataType> >, std::string const&): error: undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base*)' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function _GLOBALsub_I_operator.cc: error: undefined reference to 'std::ios_base::Init::Init()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function _GLOBALsub_I_operator.cc: error: undefined reference to 'aeabi_atexit' ../library/mace_cpu/libmace.a(operator.o):operator.cc:function _GLOBALsub_I_operator.cc: error: undefined reference to 'std::ios_base::Init::~Init()' ../library/mace_cpu/libmace.a(operator.o):operator.cc:typeinfo for mace::OperatorBase: error: undefined reference to 'vtable for cxxabiv1::class_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(operator.o):operator.cc:typeinfo for std::_Sp_make_shared_tag: error: undefined reference to 'vtable for cxxabiv1::class_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(operator.o):operator.cc:typeinfo for std::_Sp_counted_ptr_inplace<mace::OperatorDef, std::allocator, (gnu_cxx::_Lock_policy)1>: error: undefined reference to 'vtable for cxxabiv1::si_class_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(operator.o):operator.cc:vtable for mace::OperatorBase: error: undefined reference to 'cxa_pure_virtual' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::kernels::AddNFunctor<(mace::DeviceType)0, float>::operator()(std::vector<mace::Tensor const, std::allocator<mace::Tensor const> > const&, mace::Tensor, mace::StatsFuture) [clone ._omp_fn.0]: error: undefined reference to 'std::terminate()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function _GLOBAL__sub_I_addn.cc: error: undefined reference to 'std::ios_base::Init::Init()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function _GLOBALsub_I_addn.cc: error: undefined reference to 'aeabi_atexit' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function _GLOBALsub_I_addn.cc: error: undefined reference to 'std::ios_base::Init::~Init()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::type_info::operator==(std::type_info const&) const' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::ios_base::ios_base()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::basic_ios<char, std::char_traits >::init(std::basic_streambuf<char, std::char_traits >*)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::locale::locale()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator const&)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::string::swap(std::string&)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::locale::~locale()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::ios_base::~ios_base()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::ostream::operator<<(int)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::ostream::operator<<(int)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::ostream& std::ostream::_M_insert(long long)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::ostream& std::ostream::_M_insert(long long)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::ostream::operator<<(int)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator const&)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::string::swap(std::string&)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::string::assign(std::string const&)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::basic_stringstream<char, std::char_traits, std::allocator >::~basic_stringstream()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::throw_logic_error(char const*)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::throw_logic_error(char const)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::locale::~locale()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::basic_iostream<char, std::char_traits >::~basic_iostream()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'std::ios_base::~ios_base()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to '__cxa_bad_typeid' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'vtable for std::basic_ios<char, std::char_traits >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'VTT for std::basic_stringstream<char, std::char_traits, std::allocator >' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'vtable for std::basic_stringstream<char, std::char_traits, std::allocator >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'vtable for std::basic_streambuf<char, std::char_traits >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::Tensor::Resize(std::vector<long long, std::allocator > const&): error: undefined reference to 'vtable for std::basic_stringbuf<char, std::char_traits, std::allocator >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::kernels::AddNFunctor<(mace::DeviceType)0, float>::operator()(std::vector<mace::Tensor const, std::allocator<mace::Tensor const> > const&, mace::Tensor, mace::StatsFuture): error: undefined reference to 'std::type_info::operator==(std::type_info const&) const' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::kernels::AddNFunctor<(mace::DeviceType)0, float>::operator()(std::vector<mace::Tensor const, std::allocator<mace::Tensor const> > const&, mace::Tensor, mace::StatsFuture): error: undefined reference to 'memset' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::kernels::AddNFunctor<(mace::DeviceType)0, float>::operator()(std::vector<mace::Tensor const, std::allocator<mace::Tensor const> > const&, mace::Tensor, mace::StatsFuture): error: undefined reference to '__cxa_bad_typeid' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::ios_base::ios_base()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::locale::locale()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::ios_base::ios_base()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::locale::locale()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::ostream& std::ostream::_M_insert(long long)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::ostream& std::ostream::_M_insert(long long)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'vtable for std::basic_ios<char, std::char_traits >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'VTT for std::basic_stringstream<char, std::char_traits, std::allocator >' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'vtable for std::basic_stringstream<char, std::char_traits, std::allocator >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'vtable for std::basic_streambuf<char, std::char_traits >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'vtable for std::basic_stringbuf<char, std::char_traits, std::allocator >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::string::assign(std::string const&)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::string::assign(std::string const&)' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'memset' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::throw_bad_alloc()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::basic_stringstream<char, std::char_traits, std::allocator >::~basic_stringstream()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::basic_iostream<char, std::char_traits >::~basic_iostream()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::basic_iostream<char, std::char_traits >::~basic_iostream()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:function mace::ops::AddNOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::basic_stringstream<char, std::char_traits, std::allocator >::~basic_stringstream()' ../library/mace_cpu/libmace.a(addn.o):addn.cc:typeinfo for mace::ops::AddNOp<(mace::DeviceType)0, float>: error: undefined reference to 'vtable for cxxabiv1::si_class_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(cast.o):cast.cc:function _GLOBAL__sub_I_cast.cc: error: undefined reference to 'std::ios_base::Init::Init()' ../library/mace_cpu/libmace.a(cast.o):cast.cc:function _GLOBALsub_I_cast.cc: error: undefined reference to 'std::ios_base::Init::~Init()' ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'std::basic_string<char, std::char_traits, std::allocator >::basic_string(std::string const&)' ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const, int)' ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const)' ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)' ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()' ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()' ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'vtable for std::basic_ios<char, std::char_traits >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'VTT for std::basic_stringstream<char, std::char_traits, std::allocator >' ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'vtable for std::basic_stringstream<char, std::char_traits, std::allocator >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'vtable for std::basic_streambuf<char, std::char_traits >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::Operator<(mace::DeviceType)0, int>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'vtable for std::basic_stringbuf<char, std::char_traits, std::allocator >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::ops::CastOp<(mace::DeviceType)0, int>::Run(mace::StatsFuture): error: undefined reference to 'cxa_bad_typeid' ../library/mace_cpu/libmace.a(cast.o):cast.cc:function mace::ops::CastOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture*): error: undefined reference to '__cxa_bad_typeid' ../library/mace_cpu/libmace.a(cast.o):cast.cc:vtable for mace::Operator<(mace::DeviceType)0, int>: error: undefined reference to 'cxa_pure_virtual' ../library/mace_cpu/libmace.a(channel_shuffle.o):channel_shuffle.cc:function mace::ops::ChannelShuffleOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::ostream& std::ostream::_M_insert(unsigned long)' ../library/mace_cpu/libmace.a(channel_shuffle.o):channel_shuffle.cc:function mace::ops::ChannelShuffleOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::ostream& std::ostream::_M_insert(unsigned long)' ../library/mace_cpu/libmace.a(channel_shuffle.o):channel_shuffle.cc:function mace::ops::ChannelShuffleOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::ostream& std::ostream::_M_insert(unsigned long)' ../library/mace_cpu/libmace.a(channel_shuffle.o):channel_shuffle.cc:function mace::ops::ChannelShuffleOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::ostream& std::ostream::_M_insert(unsigned long)' ../library/mace_cpu/libmace.a(concat.o):concat.cc:function std::string mace::MakeString<char [43], int, char [3], int, char [11], int>(char const (&) [43], int const&, char const (&) [3], int const&, char const (&) [11], int const&): error: undefined reference to 'strlen' ../library/mace_cpu/libmace.a(concat.o):concat.cc:function std::string mace::MakeString<char [43], int, char [3], int, char [11], int>(char const (&) [43], int const&, char const (&) [3], int const&, char const (&) [11], int const&): error: undefined reference to 'strlen' ../library/mace_cpu/libmace.a(concat.o):concat.cc:function std::string mace::MakeString<char [43], int, char [3], int, char [11], int>(char const (&) [43], int const&, char const (&) [3], int const&, char const (&) [11], int const&): error: undefined reference to 'strlen' ../library/mace_cpu/libmace.a(concat.o):concat.cc:function std::string mace::MakeString<char [43], int, char [3], int, char [11], int>(char const (&) [43], int const&, char const (&) [3], int const&, char const (&) [11], int const&): error: undefined reference to 'std::basic_ios<char, std::char_traits >::clear(std::_Ios_Iostate)' ../library/mace_cpu/libmace.a(concat.o):concat.cc:function mace::kernels::ConcatFunctor<(mace::DeviceType)0, int>::operator()(std::vector<mace::Tensor const, std::allocator<mace::Tensor const> > const&, mace::Tensor, mace::StatsFuture): error: undefined reference to 'memset' ../library/mace_cpu/libmace.a(concat.o):concat.cc:function mace::kernels::ConcatFunctor<(mace::DeviceType)0, int>::operator()(std::vector<mace::Tensor const, std::allocator<mace::Tensor const> > const&, mace::Tensor, mace::StatsFuture): error: undefined reference to 'memset' ../library/mace_cpu/libmace.a(concat.o):concat.cc:function mace::kernels::ConcatFunctor<(mace::DeviceType)0, int>::operator()(std::vector<mace::Tensor const, std::allocator<mace::Tensor const> > const&, mace::Tensor, mace::StatsFuture): error: undefined reference to 'std::throw_bad_alloc()' ../library/mace_cpu/libmace.a(concat.o):concat.cc:function mace::kernels::ConcatFunctor<(mace::DeviceType)0, int>::operator()(std::vector<mace::Tensor const, std::allocator<mace::Tensor const> > const&, mace::Tensor, mace::StatsFuture): error: undefined reference to 'std::__throw_bad_alloc()' ../library/mace_cpu/libmace.a(concat.o):concat.cc:function mace::kernels::ConcatFunctor<(mace::DeviceType)0, int>::operator()(std::vector<mace::Tensor const, std::allocator<mace::Tensor const> > const&, mace::Tensor, mace::StatsFuture): error: undefined reference to 'std::throw_bad_alloc()' ../library/mace_cpu/libmace.a(gather.o):gather.cc:function mace::kernels::GatherFunctor<(mace::DeviceType)0, float>::operator()(mace::Tensor const, mace::Tensor const, mace::Tensor, mace::StatsFuture) [clone ._omp_fn.0]: error: undefined reference to 'std::terminate()' ../library/mace_cpu/libmace.a(local_response_norm.o):local_response_norm.cc:function mace::kernels::LocalResponseNormFunctor<(mace::DeviceType)0, float>::operator()(mace::Tensor const, int, float, float, float, mace::Tensor, mace::StatsFuture) [clone ._omp_fn.0]: error: undefined reference to 'powf' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::Operator<(mace::DeviceType)0, unsigned char>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const, int)' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::Operator<(mace::DeviceType)0, unsigned char>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const)' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::Operator<(mace::DeviceType)0, unsigned char>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::Operator<(mace::DeviceType)0, unsigned char>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::Operator<(mace::DeviceType)0, unsigned char>::Operator(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::ops::QuantizeOp<(mace::DeviceType)0, unsigned char>::Run(mace::StatsFuture): error: undefined reference to 'fminf' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::ops::QuantizeOp<(mace::DeviceType)0, unsigned char>::Run(mace::StatsFuture): error: undefined reference to 'fmaxf' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::ops::QuantizeOp<(mace::DeviceType)0, unsigned char>::Run(mace::StatsFuture): error: undefined reference to 'roundf' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::ops::QuantizeOp<(mace::DeviceType)0, unsigned char>::Run(mace::StatsFuture): error: undefined reference to 'roundf' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::ops::RequantizeOp<(mace::DeviceType)0, unsigned char>::Run(mace::StatsFuture): error: undefined reference to 'fminf' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::ops::RequantizeOp<(mace::DeviceType)0, unsigned char>::Run(mace::StatsFuture): error: undefined reference to 'fmaxf' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::ops::RequantizeOp<(mace::DeviceType)0, unsigned char>::Run(mace::StatsFuture): error: undefined reference to 'roundf' ../library/mace_cpu/libmace.a(quantize.o):quantize.cc:function mace::ops::RequantizeOp<(mace::DeviceType)0, unsigned char>::Run(mace::StatsFuture): error: undefined reference to 'roundf' ../library/mace_cpu/libmace.a(squeeze.o):squeeze.cc:function std::_Hashtable<int, int, std::allocator, std::detail::_Identity, std::equal_to, std::hash, std::detail::_Mod_range_hashing, std::detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::detail::_Hashtable_traits<false, true, true> >::_M_insert_unique_node(unsigned int, unsigned int, std::detail::_Hash_node<int, false>*): error: undefined reference to 'std::detail::_Prime_rehash_policy::_M_need_rehash(unsigned int, unsigned int, unsigned int) const' ../library/mace_cpu/libmace.a(squeeze.o):squeeze.cc:function mace::ops::SqueezeOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'ceil' ../library/mace_cpu/libmace.a(squeeze.o):squeeze.cc:function mace::ops::SqueezeOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::detail::_Prime_rehash_policy::_M_next_bkt(unsigned int) const' ../library/mace_cpu/libmace.a(strided_slice.o):strided_slice.cc:function std::vector<int, std::allocator >::_M_default_append(unsigned int): error: undefined reference to 'std::throw_length_error(char const)' ../library/mace_cpu/libmace.a(strided_slice.o):strided_slice.cc:function mace::kernels::StridedSliceFunctor<(mace::DeviceType)0, int>::operator()(mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor, mace::StatsFuture): error: undefined reference to 'ceilf' ../library/mace_cpu/libmace.a(strided_slice.o):strided_slice.cc:function mace::kernels::StridedSliceFunctor<(mace::DeviceType)0, float>::operator()(mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor, mace::StatsFuture): error: undefined reference to 'ceilf' ../library/mace_cpu/libmace.a(arg_helper.o):arg_helper.cc:function std::vector<float, std::allocator > mace::ProtoArgHelper::GetRepeatedArgs(std::string const&, std::vector<float, std::allocator > const&) const: error: undefined reference to 'std::__throw_out_of_range(char const)' ../library/mace_cpu/libmace.a(arg_helper.o):arg_helper.cc:function std::vector<long long, std::allocator > mace::ProtoArgHelper::GetRepeatedArgs(std::string const&, std::vector<long long, std::allocator > const&) const: error: undefined reference to 'std::throw_out_of_range(char const*)' ../library/mace_cpu/libmace.a(arg_helper.o):arg_helper.cc:function float mace::ProtoArgHelper::GetOptionalArg(std::string const&, float const&) const: error: undefined reference to 'std::throw_out_of_range(char const)' ../library/mace_cpu/libmace.a(arg_helper.o):arg_helper.cc:function float mace::ProtoArgHelper::GetOptionalArg(std::string const&, float const&) const: error: undefined reference to 'std::ostream& std::ostream::_M_insert(double)' ../library/mace_cpu/libmace.a(arg_helper.o):arg_helper.cc:function bool mace::ProtoArgHelper::GetOptionalArg(std::string const&, bool const&) const: error: undefined reference to 'std::ostream& std::ostream::_M_insert(bool)' ../library/mace_cpu/libmace.a(arg_helper.o):arg_helper.cc:function std::_Rb_tree_iterator<std::pair<std::string const, mace::Argument> > std::_Rb_tree<std::string, std::pair<std::string const, mace::Argument>, std::_Select1st<std::pair<std::string const, mace::Argument> >, std::less, std::allocator<std::pair<std::string const, mace::Argument> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::string const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::string const, mace::Argument> >, std::piecewise_construct_t const&, std::tuple<std::string const&>&&, std::tuple<>&&) [clone .isra.146]: error: undefined reference to 'std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base, std::_Rb_tree_node_base, std::_Rb_tree_node_base&)' ../library/mace_cpu/libmace.a(arg_helper.o):arg_helper.cc:function std::_Rb_tree_iterator<std::pair<std::string const, mace::Argument> > std::_Rb_tree<std::string, std::pair<std::string const, mace::Argument>, std::_Select1st<std::pair<std::string const, mace::Argument> >, std::less, std::allocator<std::pair<std::string const, mace::Argument> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::string const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::string const, mace::Argument> >, std::piecewise_construct_t const&, std::tuple<std::string const&>&&, std::tuple<>&&) [clone .isra.146]: error: undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base)' ../library/mace_cpu/libmace.a(arg_helper.o):arg_helper.cc:function std::string mace::MakeString<char [10], std::string, char [12]>(char const (&) [10], std::string const&, char const (&) [12]): error: undefined reference to 'strlen' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'rand_r' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'cxa_guard_acquire' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'getenv' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const, unsigned int, std::allocator const&)' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits, std::allocator >::_M_sync(char, unsigned int, unsigned int)' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'std::istream& std::istream::_M_extract(float&)' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'cxa_guard_release' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'cxa_guard_acquire' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'time' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'cxa_guard_release' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'std::basic_istringstream<char, std::char_traits, std::allocator >::~basic_istringstream()' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'cxa_guard_abort' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'VTT for std::basic_istringstream<char, std::char_traits, std::allocator >' ../library/mace_cpu/libmace.a(runtime_failure_mock.o):runtime_failure_mock.cc:function mace::ShouldMockRuntimeFailure(): error: undefined reference to 'vtable for std::basic_istringstream<char, std::char_traits, std::allocator >' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:255: error: undefined reference to 'free' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:191: error: undefined reference to 'free' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:258: error: undefined reference to 'free' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:265: error: undefined reference to 'free' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:217: error: undefined reference to 'pthread_exit' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:295: error: undefined reference to 'pthread_setspecific' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:693: error: undefined reference to 'pthread_attr_init' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:694: error: undefined reference to 'pthread_attr_setdetachstate' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:695: error: undefined reference to 'pthread_attr_getstacksize' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:696: error: undefined reference to 'pthread_attr_setstacksize' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:797: error: undefined reference to 'strerror' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:801: error: undefined reference to 'pthread_attr_destroy' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:945: error: undefined reference to 'pthread_setspecific' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:926: error: undefined reference to 'pthread_key_create' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/team.c:935: error: undefined reference to 'pthread_key_delete' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/futex.h:48: error: undefined reference to 'syscall' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/futex.h:49: error: undefined reference to 'errno' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/futex.h:53: error: undefined reference to 'syscall' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/futex.h:60: error: undefined reference to 'syscall' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/futex.h:61: error: undefined reference to 'errno' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/futex.h:65: error: undefined reference to 'syscall' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:93: error: undefined reference to 'open' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:98: error: undefined reference to 'read' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:101: error: undefined reference to 'close' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:99: error: undefined reference to 'errno' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:250: error: undefined reference to 'errno' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:250: error: undefined reference to 'strerror' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:225: error: undefined reference to 'strerror' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:225: error: undefined reference to 'fprintf' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:175: error: undefined reference to 'memchr' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:261: error: undefined reference to 'sF' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/config/linux/proc.c:261: error: undefined reference to 'sF' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/alloc.c:36: error: undefined reference to 'malloc' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/alloc.c:45: error: undefined reference to 'calloc' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/alloc.c:54: error: undefined reference to 'realloc' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:855: error: undefined reference to 'getenv' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:859: error: undefined reference to 'isspace' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:861: error: undefined reference to 'strncasecmp' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:866: error: undefined reference to 'strncasecmp' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:873: error: undefined reference to 'isspace' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:169: error: undefined reference to 'getenv' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:173: error: undefined reference to 'isspace' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:179: error: undefined reference to 'strtoul' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:183: error: undefined reference to 'isspace' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:464: error: undefined reference to 'strtoul' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:475: error: undefined reference to 'strtoul' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:486: error: undefined reference to 'strtol' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:524: error: undefined reference to 'strtoul' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:535: error: undefined reference to 'strtol' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:722: error: undefined reference to 'getenv' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:740: error: undefined reference to 'tolower' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:94: error: undefined reference to 'strncasecmp' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:99: error: undefined reference to 'strncasecmp' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:254: error: undefined reference to 'realloc' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:366: error: undefined reference to 'realloc' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:795: error: undefined reference to 'sF' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:801: error: undefined reference to 'strtoull' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:809: error: undefined reference to 'tolower' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1247: error: undefined reference to 'pthread_attr_init' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1248: error: undefined reference to 'pthread_attr_setdetachstate' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1255: error: undefined reference to 'pthread_attr_setstacksize' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1270: error: undefined reference to 'strerror' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1055: error: undefined reference to 'fputs' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1057: error: undefined reference to 'fputs' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1058: error: undefined reference to 'fprintf' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1060: error: undefined reference to 'fprintf' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1063: error: undefined reference to 'fprintf' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1066: error: undefined reference to 'fputs' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1068: error: undefined reference to 'fputs' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/env.c:1125: error: undefined reference to 'fputc' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/error.c:42: error: undefined reference to 'vfprintf' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/error.c:43: error: undefined reference to 'fputc' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/error.c:54: error: undefined reference to 'sF' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/error.c:42: error: undefined reference to 'vfprintf' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/error.c:43: error: undefined reference to 'fputc' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/error.c:65: error: undefined reference to 'exit' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/hashtab.h:155: error: undefined reference to 'abort' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/hashtab.h:257: error: undefined reference to 'abort' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/task.c:472: error: undefined reference to 'abort' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/lib1funcs.S:1337: error: undefined reference to 'raise' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:378: error: undefined reference to 'abort' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::LoadModelData(std::string const&, unsigned int const&): error: undefined reference to 'open' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::LoadModelData(std::string const&, unsigned int const&): error: undefined reference to 'mmap' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::LoadModelData(std::string const&, unsigned int const&): error: undefined reference to 'close' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::UnloadModelData(unsigned char const, unsigned int const&): error: undefined reference to 'munmap' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::MaceEngine::Impl::Run(std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > > const&, std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >, mace::RunMetadata): error: undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base const)' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::MaceEngine::Impl::Run(std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > > const&, std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >, mace::RunMetadata): error: undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base)' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::MaceEngine::Impl::Run(std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > > const&, std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >, mace::RunMetadata): error: undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base const)' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::MaceEngine::Impl::Run(std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > > const&, std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >, mace::RunMetadata): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits, std::allocator >::str() const' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::MaceEngine::Impl::Run(std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > > const&, std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >, mace::RunMetadata): error: undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base const)' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::MaceEngine::Impl::Run(std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > > const&, std::map<std::string, mace::MaceTensor, std::less, std::allocator<std::pair<std::string const, mace::MaceTensor> > >, mace::RunMetadata): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits, std::allocator >::str() const' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::MaceEngine::Impl::Init(mace::NetDef const, std::vector<std::string, std::allocator > const&, std::vector<std::string, std::allocator > const&, unsigned char const): error: undefined reference to 'std::_Rb_tree_increment(std::_Rb_tree_node_base const)' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::CreateMaceEngineFromProto(std::vector<unsigned char, std::allocator > const&, std::string const&, std::vector<std::string, std::allocator > const&, std::vector<std::string, std::allocator > const&, mace::DeviceType, std::shared_ptr): error: undefined reference to 'google::protobuf::MessageLite::ParseFromArray(void const, int)' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::Buffer::~Buffer(): error: undefined reference to 'std::terminate()' ../library/mace_cpu/libmace.a(mace.o):mace.cc:function mace::Buffer::~Buffer(): error: undefined reference to 'std::terminate()' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::SerialNet(std::shared_ptr, std::shared_ptr, mace::Workspace, mace::DeviceType, mace::NetMode): error: undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const, int)' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::SerialNet(std::shared_ptr, std::shared_ptr, mace::Workspace, mace::DeviceType, mace::NetMode): error: undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const)' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::SerialNet(std::shared_ptr, std::shared_ptr, mace::Workspace, mace::DeviceType, mace::NetMode): error: undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::SerialNet(std::shared_ptr, std::shared_ptr, mace::Workspace, mace::DeviceType, mace::NetMode): error: undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const, int)' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::SerialNet(std::shared_ptr, std::shared_ptr, mace::Workspace, mace::DeviceType, mace::NetMode): error: undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const)' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::SerialNet(std::shared_ptr, std::shared_ptr, mace::Workspace, mace::DeviceType, mace::NetMode): error: undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::Run(mace::RunMetadata): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits, std::allocator >::str() const' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::Run(mace::RunMetadata): error: undefined reference to 'std::basic_stringbuf<char, std::char_traits, std::allocator >::str() const' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::Run(mace::RunMetadata): error: undefined reference to 'std::string::compare(char const) const' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::Run(mace::RunMetadata): error: undefined reference to 'std::string::compare(char const) const' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::Run(mace::RunMetadata): error: undefined reference to 'std::string::compare(char const) const' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::Run(mace::RunMetadata): error: undefined reference to 'std::string::compare(char const) const' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::Run(mace::RunMetadata): error: undefined reference to 'std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream(std::_Ios_Openmode)' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::Run(mace::RunMetadata): error: undefined reference to 'std::throw_bad_function_call()' ../library/mace_cpu/libmace.a(net.o):net.cc:function mace::SerialNet::Run(mace::RunMetadata*): error: undefined reference to 'std::throw_bad_function_call()' ../library/mace_cpu/libmace.a(types.o):types.cc:function mace::DataTypeToString(mace::DataType): error: undefined reference to '__cxa_guard_acquire' ../library/mace_cpu/libmace.a(types.o):types.cc:function mace::DataTypeToString(mace::DataType): error: undefined reference to 'cxa_guard_release' ../library/mace_cpu/libmace.a(types.o):types.cc:function mace::DataTypeToString(mace::DataType): error: undefined reference to 'cxa_guard_abort' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function mace::Workspace::Workspace(): error: undefined reference to 'std::detail::_Prime_rehash_policy::_M_next_bkt(unsigned int) const' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function mace::Workspace::CreateOutputTensorBuffer(mace::NetDef const&, mace::DeviceType): error: undefined reference to 'std::_Hash_bytes(void const*, unsigned int, unsigned int)' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function mace::Workspace::CreateOutputTensorBuffer(mace::NetDef const&, mace::DeviceType): error: undefined reference to 'dynamic_cast' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function mace::Workspace::CreateOutputTensorBuffer(mace::NetDef const&, mace::DeviceType): error: undefined reference to 'dynamic_cast' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function mace::Workspace::CreateOutputTensorBuffer(mace::NetDef const&, mace::DeviceType): error: undefined reference to 'std::detail::_Prime_rehash_policy::_M_next_bkt(unsigned int) const' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function mace::Workspace::CreateOutputTensorBuffer(mace::NetDef const&, mace::DeviceType): error: undefined reference to 'std::_Hash_bytes(void const, unsigned int, unsigned int)' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function mace::Workspace::CreateOutputTensorBuffer(mace::NetDef const&, mace::DeviceType): error: undefined reference to '__cxa_guard_abort' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function google::protobuf::RepeatedField::Reserve(int): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned int)' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function google::protobuf::RepeatedField::Reserve(int): error: undefined reference to 'google::protobuf::Arena::OnArenaAllocation(std::type_info const, unsigned int) const' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function google::protobuf::RepeatedField::Reserve(int): error: undefined reference to 'typeinfo for char' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function std::_Hashtable<int, std::pair<int const, std::unique_ptr<mace::BufferBase, std::default_delete > >, std::allocator<std::pair<int const, std::unique_ptr<mace::BufferBase, std::default_delete > > >, std::detail::_Select1st, std::equal_to, std::hash, std::detail::_Mod_range_hashing, std::detail::_Default_ranged_hash, std::detail::_Prime_rehash_policy, std::detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned int, unsigned int, std::detail::_Hash_node<std::pair<int const, std::unique_ptr<mace::BufferBase, std::default_delete > >, false>*): error: undefined reference to 'std::detail::_Prime_rehash_policy::_M_need_rehash(unsigned int, unsigned int, unsigned int) const' ../library/mace_cpu/libmace.a(workspace.o):workspace.cc:function std::_Hashtable<std::string, std::string, std::allocator, std::detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::detail::_Hashtable_traits<true, true, true> >::_M_insert_unique_node(unsigned int, unsigned int, std::detail::_Hash_node<std::string, true>): error: undefined reference to 'std::__detail::_Prime_rehash_policy::_M_need_rehash(unsigned int, unsigned int, unsigned int) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteRaw(void const, int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteInt32(int, int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteInt32(int, int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteRaw(void const, int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::fixed_address_empty_string' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteRaw(void const, int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteInt32(int, int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteUInt32(int, unsigned int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteUInt32(int, unsigned int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteRaw(void const, int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::fixed_address_empty_string' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::ByteSizeLong() const: error: undefined reference to 'google::protobuf::internal::fixed_address_empty_string' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::ByteSizeLong() const: error: undefined reference to 'google::protobuf::internal::fixed_address_empty_string' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::ByteSizeLong() const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::Int32Size(google::protobuf::RepeatedField const&)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputInfo::ByteSizeLong() const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::Int32Size(google::protobuf::RepeatedField const&)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteMessage(int, google::protobuf::MessageLite const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::ByteSizeLong() const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::Int32Size(google::protobuf::RepeatedField const&)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputShape::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteInt64(int, long long, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::Argument::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteFloat(int, float, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::Argument::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteInt64(int, long long, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::Argument::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::Argument::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteFloat(int, float, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::Argument::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteInt64(int, long long, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::Argument::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteInt32(int, int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteEnum(int, int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputInfo::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputInfo::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteEnum(int, int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NetDef::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteMessage(int, google::protobuf::MessageLite const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NetDef::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteMessage(int, google::protobuf::MessageLite const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NetDef::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteMessage(int, google::protobuf::MessageLite const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NetDef::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteInt64(int, long long, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteFloatArray(float const, int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteVarint64SlowPath(unsigned long long)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteEnum(int, int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteUInt32(int, unsigned int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::LazyStringOutputStream::LazyStringOutputStream(google::protobuf::ResultCallback<std::string>)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream, bool)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::WireFormatLite::SkipField(google::protobuf::io::CodedInputStream, unsigned int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadTagFallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedOutputStream::~CodedOutputStream()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedOutputStream::~CodedOutputStream()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'vtable for google::protobuf::io::LazyStringOutputStream' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::LazyStringOutputStream::LazyStringOutputStream(google::protobuf::ResultCallback<std::string>)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream, bool)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::WireFormatLite::SkipField(google::protobuf::io::CodedInputStream, unsigned int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadTagFallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedOutputStream::~CodedOutputStream()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedOutputStream::~CodedOutputStream()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'vtable for google::protobuf::io::LazyStringOutputStream' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::InitDefaults(): error: undefined reference to 'google::protobuf::GoogleOnceInitImpl(int, google::protobuf::Closure)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::InitDefaults(): error: undefined reference to 'google::protobuf::internal::FunctionClosure0::~FunctionClosure0()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::InitDefaults(): error: undefined reference to 'google::protobuf::internal::FunctionClosure0::~FunctionClosure0()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::InitDefaults(): error: undefined reference to 'vtable for google::protobuf::internal::FunctionClosure0' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::AddDescriptors(): error: undefined reference to 'google::protobuf::GoogleOnceInitImpl(int, google::protobuf::Closure)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::AddDescriptors(): error: undefined reference to 'google::protobuf::internal::FunctionClosure0::~FunctionClosure0()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::AddDescriptors(): error: undefined reference to 'google::protobuf::internal::FunctionClosure0::~FunctionClosure0()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::AddDescriptors(): error: undefined reference to 'vtable for google::protobuf::internal::FunctionClosure0' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::LazyStringOutputStream::LazyStringOutputStream(google::protobuf::ResultCallback<std::string>)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream, bool)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::WireFormatLite::SkipField(google::protobuf::io::CodedInputStream, unsigned int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadTagFallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntFallback()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AllocateAlignedAndAddCleanup(unsigned int, void ()(void))' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::IncrementRecursionDepthAndPushLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::DecrementRecursionDepthAndPopLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::Arena::OnArenaAllocation(std::type_info const, unsigned int) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryArena::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'vtable for google::protobuf::io::LazyStringOutputStream' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::TableStruct::InitDefaultsImpl(): error: undefined reference to 'google::protobuf::internal::VerifyVersion(int, int, char const)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::TableStruct::InitDefaultsImpl(): error: undefined reference to 'google::protobuf::internal::InitProtobufDefaults()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::TableStruct::InitDefaultsImpl(): error: undefined reference to 'google::protobuf::internal::OnShutdownDestroyMessage(void const)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::TableStruct::InitDefaultsImpl(): error: undefined reference to 'google::protobuf::internal::OnShutdownDestroyMessage(void const)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::TableStruct::InitDefaultsImpl(): error: undefined reference to 'google::protobuf::internal::OnShutdownDestroyMessage(void const)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::protobuf_mace_2eproto::TableStruct::InitDefaultsImpl(): error: undefined reference to 'google::protobuf::internal::OnShutdownDestroyMessage(void const)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteEnum(int, int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream) const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteUInt32(int, unsigned int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::ByteSizeLong() const: error: undefined reference to 'google::protobuf::internal::WireFormatLite::Int32Size(google::protobuf::RepeatedField const&)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<int, (google::protobuf::internal::WireFormatLite::FieldType)5>(int, unsigned int, google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField) [clone .constprop.149]: error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::LazyStringOutputStream::LazyStringOutputStream(google::protobuf::ResultCallback<std::string>)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream, bool)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::WireFormatLite::SkipField(google::protobuf::io::CodedInputStream, unsigned int, google::protobuf::io::CodedOutputStream)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadTagFallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream, std::string)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to '__assert2' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'vtable for google::protobuf::io::LazyStringOutputStream' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream, std::string)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteVarint32SlowPath(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to '__assert2' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::NodeInput(mace::NodeInput const&): error: undefined reference to 'std::string::append(std::string const&)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::MemoryBlock(mace::MemoryBlock const&): error: undefined reference to 'std::string::append(std::string const&)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputShape::OutputShape(mace::OutputShape const&): error: undefined reference to 'std::string::append(std::string const&)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputShape::MergeFrom(mace::OutputShape const&): error: undefined reference to 'std::string::append(std::string const&)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputShape::CheckTypeAndMergeFrom(google::protobuf::MessageLite const&): error: undefined reference to 'dynamic_cast' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputShape::CheckTypeAndMergeFrom(google::protobuf::MessageLite const&): error: undefined reference to 'assert2' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputShape::CheckTypeAndMergeFrom(google::protobuf::MessageLite const&): error: undefined reference to 'typeinfo for google::protobuf::MessageLite' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::CheckTypeAndMergeFrom(google::protobuf::MessageLite const&): error: undefined reference to 'dynamic_cast' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::CheckTypeAndMergeFrom(google::protobuf::MessageLite const&): error: undefined reference to 'assert2' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::CheckTypeAndMergeFrom(google::protobuf::MessageLite const&): error: undefined reference to 'typeinfo for google::protobuf::MessageLite' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::CheckTypeAndMergeFrom(google::protobuf::MessageLite const&): error: undefined reference to 'typeinfo for google::protobuf::MessageLite' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputShape::Clear(): error: undefined reference to 'std::string::_M_mutate(unsigned int, unsigned int, unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::MemoryBlock::Clear(): error: undefined reference to 'std::string::_M_mutate(unsigned int, unsigned int, unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::NodeInput::Clear(): error: undefined reference to 'std::string::_M_mutate(unsigned int, unsigned int, unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OutputInfo::CheckTypeAndMergeFrom(google::protobuf::MessageLite const&): error: undefined reference to 'typeinfo for google::protobuf::MessageLite' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::InputInfo::Clear(): error: undefined reference to 'std::string::_M_mutate(unsigned int, unsigned int, unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint64Fallback()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream, std::string)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint64Fallback()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint64Fallback()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::ConstTensor::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint64Fallback()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::Argument::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::Argument::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream, std::string)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntFallback()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AllocateAlignedAndAddCleanup(unsigned int, void ()(void))' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::IncrementRecursionDepthAndPushLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::DecrementRecursionDepthAndPopLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadPackedEnumPreserveUnknowns(google::protobuf::io::CodedInputStream, int, bool ()(int), google::protobuf::io::CodedOutputStream, google::protobuf::RepeatedField)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AllocateAlignedAndAddCleanup(unsigned int, void ()(void))' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::IncrementRecursionDepthAndPushLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::DecrementRecursionDepthAndPopLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AllocateAlignedAndAddCleanup(unsigned int, void ()(void))' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::IncrementRecursionDepthAndPushLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::DecrementRecursionDepthAndPopLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntFallback()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntFallback()' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::Arena::OnArenaAllocation(std::type_info const, unsigned int) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream): error: undefined reference to 'google::protobuf::Arena::OnArenaAllocation(std::type_info const, unsigned int) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::OperatorDef(mace::OperatorDef const&): error: undefined reference to 'google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::OperatorDef(mace::OperatorDef const&): error: undefined reference to 'google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergeFrom(mace::OperatorDef const&): error: undefined reference to 'google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function mace::OperatorDef::MergeFrom(mace::OperatorDef const&): error: undefined reference to 'google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function google::protobuf::io::CodedOutputStream::WriteVarint32(unsigned int): error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteVarint32SlowPath(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function void google::protobuf::Arena::Own(mace::ConstTensor): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AddCleanup(void, void ()(void))' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function void google::protobuf::Arena::Own(mace::Argument): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AddCleanup(void, void ()(void))' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function void google::protobuf::Arena::Own(mace::NodeInput): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AddCleanup(void, void ()(void))' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function void google::protobuf::Arena::Own(mace::OutputShape): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AddCleanup(void, void ()(void))' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<int, (google::protobuf::internal::WireFormatLite::FieldType)5>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::PushLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<int, (google::protobuf::internal::WireFormatLite::FieldType)5>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::BytesUntilLimit() const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<int, (google::protobuf::internal::WireFormatLite::FieldType)5>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::PopLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function google::protobuf::RepeatedField::Reserve(int): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function google::protobuf::RepeatedField::Reserve(int): error: undefined reference to 'typeinfo for char' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function google::protobuf::RepeatedField::Reserve(int): error: undefined reference to 'google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function google::protobuf::RepeatedField::Reserve(int): error: undefined reference to 'typeinfo for char' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<float, (google::protobuf::internal::WireFormatLite::FieldType)2>(int, unsigned int, google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<float, (google::protobuf::internal::WireFormatLite::FieldType)2>(int, unsigned int, google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::SkipFallback(int, int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<float, (google::protobuf::internal::WireFormatLite::FieldType)2>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::BytesUntilTotalBytesLimit() const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<float, (google::protobuf::internal::WireFormatLite::FieldType)2>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::BytesUntilLimit() const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<float, (google::protobuf::internal::WireFormatLite::FieldType)2>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<float, (google::protobuf::internal::WireFormatLite::FieldType)2>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback(unsigned int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<float, (google::protobuf::internal::WireFormatLite::FieldType)2>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::BytesUntilLimit() const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<long long, (google::protobuf::internal::WireFormatLite::FieldType)3>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::PushLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<long long, (google::protobuf::internal::WireFormatLite::FieldType)3>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::BytesUntilLimit() const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:function bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<long long, (google::protobuf::internal::WireFormatLite::FieldType)3>(google::protobuf::io::CodedInputStream, google::protobuf::RepeatedField): error: undefined reference to 'google::protobuf::io::CodedInputStream::PopLimit(int)' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::ConstTensor: error: undefined reference to 'google::protobuf::MessageLite::InitializationErrorString() const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::ConstTensor: error: undefined reference to 'google::protobuf::MessageLite::SerializeWithCachedSizesToArray(unsigned char) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::ConstTensor: error: undefined reference to 'google::protobuf::MessageLite::InternalSerializeWithCachedSizesToArray(bool, unsigned char) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::Argument: error: undefined reference to 'google::protobuf::MessageLite::InitializationErrorString() const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::Argument: error: undefined reference to 'google::protobuf::MessageLite::SerializeWithCachedSizesToArray(unsigned char) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::Argument: error: undefined reference to 'google::protobuf::MessageLite::InternalSerializeWithCachedSizesToArray(bool, unsigned char) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::NodeInput: error: undefined reference to 'google::protobuf::MessageLite::InitializationErrorString() const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::NodeInput: error: undefined reference to 'google::protobuf::MessageLite::SerializeWithCachedSizesToArray(unsigned char) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::NodeInput: error: undefined reference to 'google::protobuf::MessageLite::InternalSerializeWithCachedSizesToArray(bool, unsigned char) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::OutputShape: error: undefined reference to 'google::protobuf::MessageLite::InitializationErrorString() const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::OutputShape: error: undefined reference to 'google::protobuf::MessageLite::SerializeWithCachedSizesToArray(unsigned char) const' ../library/mace_cpu/libmace.a(mace.pb.o):mace.pb.cc:vtable for mace::OutputShape: error: undefined reference to 'google::protobuf::MessageLite::InternalSerializeWithCachedSizesToArray(bool, unsigned char) const' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function mace::logging::LogMessage::GenerateLogMessage(): error: undefined reference to 'strrchr' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function mace::logging::LogMessage::GenerateLogMessage(): error: undefined reference to 'android_log_write' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function mace::logging::LogMessage::GenerateLogMessage(): error: undefined reference to 'std::ostream::put(char)' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function mace::logging::LogMessage::GenerateLogMessage(): error: undefined reference to 'std::ostream::flush()' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function mace::logging::LogMessage::GenerateLogMessage(): error: undefined reference to 'std::ctype::_M_widen_init() const' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function mace::logging::LogMessage::GenerateLogMessage(): error: undefined reference to 'std::__throw_bad_cast()' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function mace::logging::LogMessage::GenerateLogMessage(): error: undefined reference to 'std::cerr' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function mace::logging::LogMessage::~LogMessage(): error: undefined reference to 'atoi' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function virtual thunk to mace::logging::LogMessage::~LogMessage(): error: undefined reference to 'atoi' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function mace::logging::LogMessage::~LogMessage(): error: undefined reference to 'atoi' ../library/mace_cpu/libmace.a(logging.o):logging.cc:function mace::logging::LogMessage::MinVLogLevel(): error: undefined reference to 'atoi' ../library/mace_cpu/libmace.a(logging.o):logging.cc:construction vtable for std::ostream-in-mace::logging::LogMessage: error: undefined reference to 'typeinfo for std::ostream' ../library/mace_cpu/libmace.a(logging.o):logging.cc:construction vtable for std::ostream-in-mace::logging::LogMessage: error: undefined reference to 'typeinfo for std::ostream' ../library/mace_cpu/libmace.a(logging.o):logging.cc:construction vtable for std::basic_ostringstream<char, std::char_traits, std::allocator >-in-mace::logging::LogMessage: error: undefined reference to 'typeinfo for std::basic_ostringstream<char, std::char_traits, std::allocator >' ../library/mace_cpu/libmace.a(logging.o):logging.cc:construction vtable for std::basic_ostringstream<char, std::char_traits, std::allocator >-in-mace::logging::LogMessage: error: undefined reference to 'typeinfo for std::basic_ostringstream<char, std::char_traits, std::allocator >' ../library/mace_cpu/libmace.a(logging.o):logging.cc:typeinfo for mace::logging::LogMessage: error: undefined reference to 'typeinfo for std::basic_ostringstream<char, std::char_traits, std::allocator >' ../library/mace_cpu/libmace.a(activation.o):activation.cc:function void mace::kernels::DoActivation(float const, float, long long, mace::kernels::ActivationType, float) [clone ._omp_fn.3]: error: undefined reference to 'tanhf' ../library/mace_cpu/libmace.a(activation.o):activation.cc:function void mace::kernels::DoActivation(float const, float, long long, mace::kernels::ActivationType, float) [clone ._omp_fn.4]: error: undefined reference to 'expf' ../library/mace_cpu/libmace.a(activation.o):activation.cc:function mace::Registry<std::string, mace::OperatorBase, mace::OperatorDef const&, mace::Workspace>::Register(std::string const&, std::function<std::unique_ptr<mace::OperatorBase, std::default_delete > (mace::OperatorDef const&, mace::Workspace)>): error: undefined reference to 'std::throw_system_error(int)' ../library/mace_cpu/libmace.a(activation.o):activation.cc:typeinfo for std::unique_ptr<mace::OperatorBase, std::default_delete > (mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'vtable for cxxabiv1::function_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(activation.o):activation.cc:typeinfo for std::unique_ptr<mace::OperatorBase, std::default_delete > ()(mace::OperatorDef const&, mace::Workspace): error: undefined reference to 'vtable for cxxabiv1::pointer_type_info' /home/zxy/DeepLearning/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function ../library/mace_cpu/libmace.a(batch_norm.o):batch_norm.cc:function mace::kernels::BatchNormFunctor<(mace::DeviceType)0, float>::operator()(mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor const, float, mace::Tensor, mace::StatsFuture) [clone ._omp_fn.0]: error: undefined reference to 'sqrtf' ../library/mace_cpu/libmace.a(batch_norm.o):batch_norm.cc:function void mace::kernels::DoActivation(float const, float, long long, mace::kernels::ActivationType, float) [clone ._omp_fn.4]: error: undefined reference to 'tanhf' ../library/mace_cpu/libmace.a(batch_norm.o):batch_norm.cc:function void mace::kernels::DoActivation(float const, float, long long, mace::kernels::ActivationType, float) [clone ._omp_fn.5]: error: undefined reference to 'expf' ../library/mace_cpu/libmace.a(batch_norm.o):batch_norm.cc:function std::vector<float, std::allocator >::_M_default_append(unsigned int): error: undefined reference to 'std::throw_length_error(char const)' ../library/mace_cpu/libmace.a(batch_norm.o):batch_norm.cc:function mace::ops::BatchNormOp<(mace::DeviceType)0, float>::Run(mace::StatsFuture): error: undefined reference to 'std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream(std::_Ios_Openmode)' ../library/mace_cpu/libmace.a(conv_2d.o):conv_2d.cc:function void mace::kernels::DoActivation(float const, float, long long, mace::kernels::ActivationType, float) [clone ._omp_fn.5]: error: undefined reference to 'tanhf' ../library/mace_cpu/libmace.a(conv_2d.o):conv_2d.cc:function void mace::kernels::DoActivation(float const, float, long long, mace::kernels::ActivationType, float) [clone ._omp_fn.6]: error: undefined reference to 'expf' ../library/mace_cpu/libmace.a(conv_2d.o):conv_2d.cc:function std::_Function_handler<void (float const, float), mace::kernels::Conv2dFunctor<(mace::DeviceType)0, float>::operator()(mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor, mace::StatsFuture)::{lambda(float const, float)#13}>::_M_invoke(std::_Any_data const&, float const, float): error: undefined reference to 'puts' ../library/mace_cpu/libmace.a(conv_2d.o):conv_2d.cc:function void std::vector<long long, std::allocator >::_M_range_insert<long long const>(__gnu_cxx::normal_iterator<long long, std::vector<long long, std::allocator > >, long long const, long long const, std::forward_iterator_tag): error: undefined reference to 'std::__throw_length_error(char const)' ../library/mace_cpu/libmace.a(conv_2d.o):conv_2d.cc:function mace::ScratchBuffer::Scratch(long long): error: undefined reference to 'std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream(std::_Ios_Openmode)' ../library/mace_cpu/libmace.a(conv_2d.o):conv_2d.cc:function mace::kernels::Conv2dFunctor<(mace::DeviceType)0, float>::operator()(mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor, mace::StatsFuture): error: undefined reference to 'std::__throw_bad_function_call()' ../library/mace_cpu/libmace.a(deconv_2d.o):deconv_2d.cc:function void mace::kernels::DoActivation(float const, float, long long, mace::kernels::ActivationType, float) [clone ._omp_fn.3]: error: undefined reference to 'tanhf' ../library/mace_cpu/libmace.a(deconv_2d.o):deconv_2d.cc:function void mace::kernels::DoActivation(float const, float, long long, mace::kernels::ActivationType, float) [clone ._omp_fn.4]: error: undefined reference to 'expf' ../library/mace_cpu/libmace.a(eltwise.o):eltwise.cc:function mace::kernels::TensorEltwisePerChannel(mace::kernels::EltwiseType, float const, float const, std::vector<float, std::allocator > const&, long long, long long, long long, long long, bool, float) [clone ._omp_fn.10]: error: undefined reference to 'powf' ../library/mace_cpu/libmace.a(eltwise.o):eltwise.cc:function mace::kernels::TensorEltwisePerChannel(mace::kernels::EltwiseType, float const, float const, std::vector<float, std::allocator > const&, long long, long long, long long, long long, bool, float) [clone ._omp_fn.11]: error: undefined reference to 'powf' ../library/mace_cpu/libmace.a(eltwise.o):eltwise.cc:function mace::kernels::TensorEltwise(mace::kernels::EltwiseType, float const, float const, std::vector<float, std::allocator > const&, long long, bool, float) [clone ._omp_fn.24]: error: undefined reference to 'powf' ../library/mace_cpu/libmace.a(folded_batch_norm.o):folded_batch_norm.cc:function mace::kernels::BatchNormFunctor<(mace::DeviceType)0, float>::operator()(mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor const, float, mace::Tensor, mace::StatsFuture) [clone ._omp_fn.0]: error: undefined reference to 'sqrtf' ../library/mace_cpu/libmace.a(proposal.o):proposal.cc:function mace::kernels::GenerateAnchors(std::vector<int, std::allocator > const&, std::vector<float, std::allocator > const&, int) [clone ._omp_fn.4]: error: undefined reference to 'sqrtf' ../library/mace_cpu/libmace.a(proposal.o):proposal.cc:function mace::kernels::ProposalFunctor<(mace::DeviceType)0, float>::operator()(mace::Tensor const, mace::Tensor const, mace::Tensor const, mace::Tensor, mace::StatsFuture): error: undefined reference to 'std::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream(std::_Ios_Openmode)' ../library/mace_cpu/libmace.a(reduce_mean.o):reduce_mean.cc:function mace::kernels::ReduceMeanFunctor<(mace::DeviceType)0, float>::Compute(mace::Tensor const, mace::Tensor): error: undefined reference to 'std::ostream& std::ostream::_M_insert(bool)' ../library/mace_cpu/libmace.a(softmax.o):softmax.cc:function mace::kernels::SoftmaxFunctor<(mace::DeviceType)0, float>::operator()(mace::Tensor const, mace::Tensor, mace::StatsFuture) [clone ._omp_fn.0]: error: undefined reference to 'exp' ../library/mace_cpu/libmace.a(softmax.o):softmax.cc:function mace::kernels::SoftmaxFunctor<(mace::DeviceType)0, float>::operator()(mace::Tensor const, mace::Tensor, mace::StatsFuture) [clone ._omp_fn.1]: error: undefined reference to 'exp' ../library/mace_cpu/libmace.a(allocator.o):allocator.cc:function mace::CPUAllocator::New(unsigned int, void*) const: error: undefined reference to 'memalign' ../library/mace_cpu/libmace.a(allocator.o):allocator.cc:function mace::AllocatorRegisterer::AllocatorRegisterer(mace::DeviceType, mace::Allocator): error: undefined reference to 'exit' ../library/mace_cpu/libmace.a(conv_pool_2d_util.o):conv_pool_2d_util.cc:function mace::kernels::CalcNCHWOutputSize(long long const, long long const, int const, int const, int const, mace::RoundType, long long): error: undefined reference to 'ceil' ../library/mace_cpu/libmace.a(conv_pool_2d_util.o):conv_pool_2d_util.cc:function mace::kernels::CalcNCHWOutputSize(long long const, long long const, int const, int const, int const, mace::RoundType, long long): error: undefined reference to 'ceil' ../library/mace_cpu/libmace.a(conv_pool_2d_util.o):conv_pool_2d_util.cc:function mace::kernels::CalcNCHWOutputSize(long long const, long long const, int const, int const, int const, mace::RoundType, long long): error: undefined reference to 'floor' ../library/mace_cpu/libmace.a(conv_pool_2d_util.o):conv_pool_2d_util.cc:function mace::kernels::CalcNCHWOutputSize(long long const, long long const, int const, int const, int const, mace::RoundType, long long): error: undefined reference to 'floor' ../library/mace_cpu/libmace.a(conv_pool_2d_util.o):conv_pool_2d_util.cc:function mace::kernels::CalcOutputSize(long long const, long long const, int const, int const, int const, mace::RoundType, long long): error: undefined reference to 'ceil' ../library/mace_cpu/libmace.a(conv_pool_2d_util.o):conv_pool_2d_util.cc:function mace::kernels::CalcOutputSize(long long const, long long const, int const, int const, int const, mace::RoundType, long long): error: undefined reference to 'floor' ../library/mace_cpu/libmace.a(conv_pool_2d_util.o):conv_pool_2d_util.cc:function mace::kernels::CalcOutputSize(long long const, long long const, int const, int const, int const, mace::RoundType, long long): error: undefined reference to 'floor' ../library/mace_cpu/libmace.a(conv_2d_neon_3x3.o):conv_2d_neon_3x3.cc:function mace::kernels::Conv2dNeonK3x3S1(float const, float const, long long const, long long const, float): error: undefined reference to 'puts' ../library/mace_cpu/libmace.a(conv_winograd.o):conv_winograd.cc:function mace::kernels::WinoGradConv3x3s1(float const, float const, long long, long long, long long, long long, long long, int, float): error: undefined reference to 'operator new[](unsigned int)' ../library/mace_cpu/libmace.a(conv_winograd.o):conv_winograd.cc:function mace::kernels::WinoGradConv3x3s1(float const, float const, long long, long long, long long, long long, long long, int, float): error: undefined reference to 'operator new[](unsigned int)' ../library/mace_cpu/libmace.a(conv_winograd.o):conv_winograd.cc:function mace::kernels::WinoGradConv3x3s1(float const, float const, long long, long long, long long, long long, long long, int, float): error: undefined reference to 'operator delete' ../library/mace_cpu/libmace.a(conv_winograd.o):conv_winograd.cc:function mace::kernels::WinoGradConv3x3s1(float const, float const, long long, long long, long long, long long, long long, int, float): error: undefined reference to 'operator delete[](void)' ./gthr-default.h:725: error: undefined reference to 'pthread_setspecific' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/emutls.c:102: error: undefined reference to 'malloc' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/emutls.c:110: error: undefined reference to 'malloc' ./gthr-default.h:707: error: undefined reference to 'pthread_key_create' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/emutls.c:159: error: undefined reference to 'calloc' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/emutls.c:171: error: undefined reference to 'realloc' collect2: error: ld returned 1 exit status Makefile:35: recipe for target 'demo' failed make: *** [demo] Error 1

zhy520xp commented 6 years ago

ndk编译不建议用makefile的方式。。。用官方那套。。。 主要原因是我不会ndk啊。。。不晓得ndk的环境配置问题

BBuf commented 6 years ago

好的,多谢。