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

Subscription build failing to compile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-rc0
    • Component/s: Build
    • Labels:
    • Operating System:
      ALL

      Description

      db/modules/subscription/src/snmp.cpp:150:22: error: 'program_options' has not been declared
      db/modules/subscription/src/snmp.cpp:150:52: error: expected ',' or '...' before '&' token
      cc1plus: warnings being treated as errors
      src/mongo/db/module.h:45:22: error: 'virtual void mongo::Module::config(boost::program_options::variables_map&)' was hidden
      db/modules/subscription/src/snmp.cpp:150:14: error:   by 'void mongo::SNMPAgent::config(int)'
      db/modules/subscription/src/snmp.cpp: In member function 'void mongo::SNMPAgent::config(int)':
      db/modules/subscription/src/snmp.cpp:151:18: error: 'params' was not declared in this scope
      db/modules/subscription/src/snmp.cpp:154:18: error: 'params' was not declared in this scope
      db/modules/subscription/src/snmp.cpp: In member function 'void mongo::SNMPAgent::_init()':
      db/modules/subscription/src/snmp.cpp:298:75: error: 'class mongo::OpCounters' has no member named 'getInsert'
      db/modules/subscription/src/snmp.cpp:299:74: error: 'class mongo::OpCounters' has no member named 'getQuery'
      db/modules/subscription/src/snmp.cpp:300:75: error: 'class mongo::OpCounters' has no member named 'getUpdate'
      db/modules/subscription/src/snmp.cpp:301:75: error: 'class mongo::OpCounters' has no member named 'getDelete'
      db/modules/subscription/src/snmp.cpp:302:76: error: 'class mongo::OpCounters' has no member named 'getGetMore'
      db/modules/subscription/src/snmp.cpp: At global scope:
      db/modules/subscription/src/snmp.cpp:317:7: error: cannot declare variable 'mongo::snmpAgent' to be of abstract type 'mongo::SNMPAgent'
      db/modules/subscription/src/snmp.cpp:126:53: note:   because the following virtual functions are pure within 'mongo::SNMPAgent':
      src/mongo/db/module.h:45:22: note: 	virtual void mongo::Module::config(boost::program_options::variables_map&)
      src/third_party/boost/boost/system/error_code.hpp:214:36: error: 'boost::system::posix_category' defined but not used
      src/third_party/boost/boost/system/error_code.hpp:215:36: error: 'boost::system::errno_ecat' defined but not used
      src/third_party/boost/boost/system/error_code.hpp:216:36: error: 'boost::system::native_ecat' defined but not used
      scons: *** [db/modules/subscription/src/snmp.o] Error 1
      scons: building terminated because of errors.

      http://buildbot-special.10gen.com/builders/Nightly%20Linux%2064-bit%20Subscription%20Ubuntu%201104/builds/161/steps/compile/logs/stdio

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: