当我计算单词时,错误在下面,怎么了?
g++-m64-i/home/platform/hadoop/include wordcount.cpp-wall-l/home/platform/hadoop/lib/native-lhadooppipes-lhadooputils-lpthread-lcrypto-lssl-g-o2-o wordcount/home/vipshop/platform/hadoop/lib/native/libhadooppipes.a(hadooppipes.cc.o):函数中 HadoopPipes::BinaryProtocol::getPassword(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': (.text._ZN11HadoopPipes14BinaryProtocol11getPasswordERSs[HadoopPipes::BinaryProtocol::getPassword(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)]+0x258): undefined reference to
std::basic\u ostream>&std::\u ostream\u insert>(std::basic\u ostream>&,char const*,long)'/home/vipshop/platform/hadoop/lib/native/libhadoopipes.a(hadoopipes.cc.o):函数中 HadoopPipes::BinaryProtocol::getPassword(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)': (.text._ZN11HadoopPipes14BinaryProtocol11getPasswordERSs[HadoopPipes::BinaryProtocol::getPassword(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)]+0x2a4): undefined reference to
std::ctype::\u m\u init()const'collect2:ld返回1退出状态make:**[wordcount]错误1
暂无答案!
目前还没有任何答案,快来回答吧!