I create a link to an application with a static lib, found that errors follow
Undefined symbols for architecture armv7: "std::_List_node_base::hook(std::_List_node_base*)", referenced from: std::list<TSendBuf, std::allocator<TSendBuf> >::_M_insert(std::_List_iterator<TSendBuf>, TSendBuf const&) in libCardAnalyLib1.a(SendRecvThread.o) "std::_List_node_base::unhook()", referenced from: std::list<TSendBuf, std::allocator<TSendBuf> >::_M_erase(std::_List_iterator<TSendBuf>) in libCardAnalyLib1.a(SendRecvThread.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can someone tell me what this error is? thanks.
And there is C ++ code in the application and in lib. my demo application cannot link lib shows this error and TSendBuf -
typedef struct { unsigned char szBuf[1200];
source share