Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3948

libmongoclient.so compilation error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: Internal Client
    • Labels:
    • Environment:
      Linux Fedora 15.1 GCC 4.6.0
    • Operating System:
      Linux

      Description

      Experienced problems during sharedclient compilation.

      Steps to reproduce:
      git clone https://github.com/mongodb/mongo.git
      git checkout --track origin/v2.0
      cd mongo/
      scons --sharedclient .

      error log:
      g++ o libmongoclient.so -fPIC -pthread -rdynamic -Wl,-as-needed -Wl,-zdefs -shared pch.os buildinfo.os db/indexkey.os db/jsobj.os bson/oid.os db/json.os db/lasterror.os db/nonce.os db/queryutil.os db/querypattern.os db/projection.os shell/mongo.os db/security_common.os db/security_commands.os util/background.os util/util.os util/file_allocator.os util/assert_util.os util/log.os util/ramlog.os util/md5main.os util/base64.os util/concurrency/vars.os util/concurrency/task.os util/debug_util.os util/concurrency/thread_pool.os util/password.os util/version.os util/signal_handlers.os util/histogram.os util/concurrency/spin_lock.os util/text.os util/stringutils.os util/concurrency/synchronization.os util/net/sock.os util/net/httpclient.os util/net/message.os util/net/message_port.os util/net/listen.os util/md5.os client/connpool.os client/dbclient.os client/dbclient_rs.os client/dbclientcursor.os client/model.os client/syncclusterconnection.os client/distlock.os s/shardconnection.os db/commands.os client/clientOnly.os client/gridfs.os -L/usr/lib64 -L/lib64 -lpthread -lstdc++ -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lboost_program_options-mt
      db/security_common.os: In function `mongo::AuthenticationInfo::_isAuthorized(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const':
      /home/agent/projects/mongodb/mongo/db/security_common.cpp:126: undefined reference to `mongo::AuthenticationInfo::_isAuthorizedSpecialChecks(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
      db/security_commands.os: In function `mongo::CmdAuthenticate::run(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::BSONObj&, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, mongo::BSONObjBuilder&, bool)':
      /home/agent/projects/mongodb/mongo/db/security_commands.cpp:112: undefined reference to `mongo::CmdAuthenticate::getUserObj(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mongo::BSONObj&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
      /home/agent/projects/mongodb/mongo/db/security_commands.cpp:136: undefined reference to `mongo::CmdAuthenticate::authenticate(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
      db/security_commands.os: In function `CmdLogout':
      /home/agent/projects/mongodb/mongo/db/security_common.h:79: undefined reference to `vtable for mongo::CmdLogout'
      collect2: ld returned 1 exit status
      scons: *** [libmongoclient.so] Error 1
      scons: building terminated because of errors.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: