Binglin Chang created HDFS-7562: ----------------------------------- Summary: Fix Atoi.cc link error Key: HDFS-7562 URL: https://issues.apache.org/jira/browse/HDFS-7562 Project: Hadoop HDFS Issue Type: Sub-task Reporter: Binglin Chang Assignee: Binglin Chang Priority: Trivial
When compiling, following error occurs: {noformat} Undefined symbols for architecture x86_64: "hdfs::internal::StrToInt32(char const*, int*)", referenced from: hdfs::Config::getInt32(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int*) const in Config.cc.o hdfs::Config::getInt32(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int*) const in Config.cc.o "hdfs::internal::StrToInt64(char const*, long long*)", referenced from: hdfs::Config::getInt64(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, long long*) const in Config.cc.o hdfs::Config::getInt64(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, long long, long long*) const in Config.cc.o "hdfs::internal::StrToDouble(char const*, double*)", referenced from: hdfs::Config::getDouble(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double*) const in Config.cc.o hdfs::Config::getDouble(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double, double*) const in Config.cc.o "hdfs::internal::StrToBool(char const*, bool*)", referenced from: hdfs::Config::getBool(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool*) const in Config.cc.o hdfs::Config::getBool(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool*) const in Config.cc.o hdfs::internal::XmlData::handleData(void*, char const*, int) in XmlConfigParser.cc.o ld: symbol(s) not found for architecture x86_64 {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)