Details

    • Sub-task
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • hdfs-client
    • None

    Description

      When compiling, following error occurs:

      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
      

      Attachments

        1. HDFS-7562-pnatve.001.patch
          0.7 kB
          Binglin Chang

        Activity

          People

            Unassigned Unassigned
            decster Binglin Chang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: