Shared client doesn't compile - references code for server side components.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.0.2, 2.1.0
    • Affects Version/s: 2.0.0
    • Component/s: Internal Client
    • Environment:
      Fedora 14 64bit
      git sha b2910bcc5e55ee7d29f83476db0fd1c577690b71
    • Linux
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Running this command
      scons --prefix=/tmp/mongoroot --sharedclient --full all install

      (attaching patch momentarily)

      You get this error message
      ==================================
      /home/dhubler/temp/mongodb-src-r2.0.0/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/dhubler/temp/mongodb-src-r2.0.0/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/dhubler/temp/mongodb-src-r2.0.0/db/security_common.h:79: undefined reference to `vtable for mongo::CmdLogout'
      collect2: ld returned 1 exit status
      scons: *** [libmongoclient.so] Error 1

              Assignee:
              Mathias Stearn
              Reporter:
              Douglas Hubler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: