scons: Reading SConscript files ... scons version: 2.3.0 python version: 2 7 3 'final' 0 Checking whether the C++ compiler works(cached) yes Checking for C header file unistd.h... (cached) yes Checking for C library rt... (cached) yes Checking for C++ header file execinfo.h... (cached) yes Checking whether backtrace is declared... (cached) yes Checking whether backtrace_symbols is declared... (cached) yes Checking for C library pcap... (cached) no Checking for C library wpcap... (cached) no Checking for C library nsl... (cached) yes scons: done reading SConscript files. scons: Building targets ... /usr/bin/g++ -o build/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release/mongo/db/db.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -m64 -DBOOST_ALL_NO_LIB -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -D__sunos__ -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_EXECINFO_BACKTRACE -Ibuild/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release/third_party/libstemmer_c/include -Isrc/third_party/libstemmer_c/include -Ibuild/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release/third_party/s2 -Isrc/third_party/s2 -Ibuild/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release/third_party/boost -Isrc/third_party/boost -Ibuild/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release/third_party/pcre-8.30 -Isrc/third_party/pcre-8.30 -Ibuild/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release -Isrc -Ibuild/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release/mongo -Isrc/mongo -Ibuild/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release/third_party/s2 -Isrc/third_party/s2 -Ibuild/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release/third_party/snappy -Isrc/third_party/snappy -Ibuild/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release/third_party/v8/include -Isrc/third_party/v8/include src/mongo/db/db.cpp g++: unrecognized option `-pthread' In file included from src/third_party/boost/boost/thread/detail/platform.hpp:17, from src/third_party/boost/boost/thread/condition_variable.hpp:12, from src/mongo/util/goodies.h:22, from src/mongo/pch.h:78, from src/mongo/db/db.cpp:19: src/third_party/boost/boost/config/requires_threads.hpp:47:5: #error "Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)" In file included from src/third_party/boost/boost/thread/condition_variable.hpp:12, from src/mongo/util/goodies.h:22, from src/mongo/pch.h:78, from src/mongo/db/db.cpp:19: src/third_party/boost/boost/thread/detail/platform.hpp:67:9: #error "Sorry, no boost threads are available for this platform." In file included from src/mongo/util/goodies.h:22, from src/mongo/pch.h:78, from src/mongo/db/db.cpp:19: src/third_party/boost/boost/thread/condition_variable.hpp:18:2: #error "Boost threads unavailable on this platform" In file included from src/mongo/util/concurrency/mutex.h:25, from src/mongo/util/goodies.h:25, from src/mongo/pch.h:78, from src/mongo/db/db.cpp:19: src/third_party/boost/boost/thread/mutex.hpp:18:2: #error "Boost threads unavailable on this platform" In file included from src/third_party/boost/boost/thread/tss.hpp:10, from src/mongo/util/concurrency/threadlocal.h:20, from src/mongo/util/concurrency/mutex.h:30, from src/mongo/util/goodies.h:25, from src/mongo/pch.h:78, from src/mongo/db/db.cpp:19: src/third_party/boost/boost/thread/detail/thread_heap_alloc.hpp:19:2: #error "Boost threads unavailable on this platform" In file included from src/mongo/util/concurrency/threadlocal.h:20, from src/mongo/util/concurrency/mutex.h:30, from src/mongo/util/goodies.h:25, from src/mongo/pch.h:78, from src/mongo/db/db.cpp:19: src/third_party/boost/boost/thread/tss.hpp: In constructor `boost::thread_specific_ptr::thread_specific_ptr()': src/third_party/boost/boost/thread/tss.hpp:68: error: `heap_new' is not a member of `boost::detail' src/third_party/boost/boost/thread/tss.hpp:68: error: expected primary-expression before '>' token src/third_party/boost/boost/thread/tss.hpp:68: error: expected primary-expression before ')' token src/third_party/boost/boost/thread/tss.hpp:68: error: `do_heap_delete' is not a member of `boost::detail' src/third_party/boost/boost/thread/tss.hpp:68: error: expected primary-expression before '>' token src/third_party/boost/boost/thread/tss.hpp:68: error: expected primary-expression before ')' token src/third_party/boost/boost/thread/tss.hpp: In constructor `boost::thread_specific_ptr::thread_specific_ptr(void (*)(T*))': src/third_party/boost/boost/thread/tss.hpp:74: error: `heap_new' is not a member of `boost::detail' src/third_party/boost/boost/thread/tss.hpp:74: error: expected primary-expression before '>' token src/third_party/boost/boost/thread/tss.hpp:74: error: `do_heap_delete' is not a member of `boost::detail' src/third_party/boost/boost/thread/tss.hpp:74: error: expected primary-expression before '>' token src/third_party/boost/boost/thread/tss.hpp:74: error: expected primary-expression before ')' token In file included from src/mongo/util/goodies.h:25, from src/mongo/pch.h:78, from src/mongo/db/db.cpp:19: src/mongo/util/concurrency/mutex.h: At global scope: src/mongo/util/concurrency/mutex.h:87: error: `boost::timed_mutex' has not been declared src/mongo/util/concurrency/mutex.h:87: error: ISO C++ forbids declaration of `scoped_timed_lock' with no type src/mongo/util/concurrency/mutex.h:87: error: expected `;' before "_l" src/mongo/util/concurrency/mutex.h:114: error: `boost::timed_mutex' has not been declared src/mongo/util/concurrency/mutex.h:116: error: `boost::timed_mutex' has not been declared src/mongo/util/concurrency/mutex.h:116: error: field `_l' has incomplete type src/mongo/util/concurrency/mutex.h:119: error: using-declaration for non-member at class scope src/mongo/util/concurrency/mutex.h:119: error: expected `;' before '&' token src/mongo/util/concurrency/mutex.h:120: error: expected `;' before "boost" src/mongo/util/concurrency/mutex.h:120: error: using-declaration for non-member at class scope src/mongo/util/concurrency/mutex.h:120: error: expected `;' before '*' token src/mongo/util/concurrency/mutex.h: In constructor `mongo::mutex::mutex(const char*)': src/mongo/util/concurrency/mutex.h:70: error: `_m' undeclared (first use this function) src/mongo/util/concurrency/mutex.h:70: error: (Each undeclared identifier is reported only once for each function it appears in.) src/mongo/util/concurrency/mutex.h:70: error: `boost::timed_mutex' has not been declared src/mongo/util/concurrency/mutex.h: In destructor `mongo::mutex::~mutex()': src/mongo/util/concurrency/mutex.h:76: error: `_m' undeclared (first use this function) src/mongo/util/concurrency/mutex.h: In constructor `mongo::mutex::try_lock::try_lock(mongo::mutex&, int)': src/mongo/util/concurrency/mutex.h:83: error: class `mongo::mutex::try_lock' does not have any field named `_l' src/mongo/util/concurrency/mutex.h:83: error: 'class mongo::mutex' has no member named 'boost' src/mongo/util/concurrency/mutex.h:84: error: `_l' undeclared (first use this function) src/mongo/util/concurrency/mutex.h: In constructor `mongo::mutex::scoped_lock::scoped_lock(mongo::mutex&)': src/mongo/util/concurrency/mutex.h:104: error: class `mongo::mutex::scoped_lock' does not have any field named `_l' src/mongo/util/concurrency/mutex.h:104: error: 'class mongo::mutex' has no member named 'boost' src/mongo/util/concurrency/mutex.h: In member function `mongo::mutex::scoped_lock& mongo::mutex::scoped_lock::boost()': src/mongo/util/concurrency/mutex.h:114: error: `_l' undeclared (first use this function) In file included from src/mongo/db/db.cpp:21: src/third_party/boost/boost/thread/thread.hpp:19:2: #error "Boost threads unavailable on this platform" In file included from src/third_party/boost/boost/thread/thread.hpp:22, from src/mongo/db/db.cpp:21: src/third_party/boost/boost/thread/detail/thread.hpp: At global scope: src/third_party/boost/boost/thread/detail/thread.hpp:43: error: expected class-name before '{' token src/third_party/boost/boost/thread/detail/thread.hpp:74: error: expected class-name before '{' token src/third_party/boost/boost/thread/detail/thread.hpp:94: error: expected class-name before '{' token src/third_party/boost/boost/thread/detail/thread.hpp:119: error: using-declaration for non-member at class scope src/third_party/boost/boost/thread/detail/thread.hpp:119: error: expected `;' before "thread_info" src/third_party/boost/boost/thread/detail/thread.hpp:123: error: expected `)' before "data" src/third_party/boost/boost/thread/detail/thread.hpp:125: error: using-declaration for non-member at class scope src/third_party/boost/boost/thread/detail/thread.hpp:125: error: expected `;' before "get_thread_info" src/third_party/boost/boost/thread/detail/thread.hpp:139: error: expected init-declarator before "make_thread_info" src/third_party/boost/boost/thread/detail/thread.hpp:139: error: expected `;' before "make_thread_info" src/third_party/boost/boost/thread/detail/thread.hpp:144: error: expected init-declarator before "make_thread_info" src/third_party/boost/boost/thread/detail/thread.hpp:144: error: expected `;' before "make_thread_info" src/third_party/boost/boost/thread/detail/thread.hpp:333: error: `boost::detail::thread_data_base' has not been declared src/third_party/boost/boost/thread/detail/thread.hpp:333: error: ISO C++ forbids declaration of `native_handle_type' with no type src/third_party/boost/boost/thread/detail/thread.hpp:333: error: expected `;' before "native_handle_type" src/third_party/boost/boost/thread/detail/thread.hpp:334: error: `native_handle_type' does not name a type src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(F, typename boost::disable_if >, boost::thread::dummy*>::type)': src/third_party/boost/boost/thread/detail/thread.hpp:203: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(boost::detail::thread_move_t)': src/third_party/boost/boost/thread/detail/thread.hpp:211: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(boost::detail::thread_move_t)': src/third_party/boost/boost/thread/detail/thread.hpp:218: error: `thread_info' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread.hpp:218: error: 'class boost::thread' has no member named 'thread_info' src/third_party/boost/boost/thread/detail/thread.hpp:219: error: 'class boost::thread' has no member named 'thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(F, A1)': src/third_party/boost/boost/thread/detail/thread.hpp:251: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(F, A1, A2)': src/third_party/boost/boost/thread/detail/thread.hpp:257: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(F, A1, A2, A3)': src/third_party/boost/boost/thread/detail/thread.hpp:264: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(F, A1, A2, A3, A4)': src/third_party/boost/boost/thread/detail/thread.hpp:271: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(F, A1, A2, A3, A4, A5)': src/third_party/boost/boost/thread/detail/thread.hpp:278: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(F, A1, A2, A3, A4, A5, A6)': src/third_party/boost/boost/thread/detail/thread.hpp:285: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(F, A1, A2, A3, A4, A5, A6, A7)': src/third_party/boost/boost/thread/detail/thread.hpp:292: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(F, A1, A2, A3, A4, A5, A6, A7, A8)': src/third_party/boost/boost/thread/detail/thread.hpp:299: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::thread(F, A1, A2, A3, A4, A5, A6, A7, A8, A9)': src/third_party/boost/boost/thread/detail/thread.hpp:306: error: class `boost::thread' does not have any field named `thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In member function `void boost::thread::swap(boost::thread&)': src/third_party/boost/boost/thread/detail/thread.hpp:313: error: `thread_info' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread.hpp:313: error: 'class boost::thread' has no member named 'thread_info' src/third_party/boost/boost/thread/detail/thread.hpp: In static member function `static void boost::thread::yield()': src/third_party/boost/boost/thread/detail/thread.hpp:342: error: `this_thread' has not been declared src/third_party/boost/boost/thread/detail/thread.hpp: In static member function `static void boost::thread::sleep(const boost::system_time&)': src/third_party/boost/boost/thread/detail/thread.hpp:347: error: `this_thread' has not been declared src/third_party/boost/boost/thread/detail/thread.hpp: In function `void boost::this_thread::sleep(const boost::xtime&)': src/third_party/boost/boost/thread/detail/thread.hpp:386: error: invalid initialization of reference of type 'const boost::xtime&' from expression of type 'boost::system_time' src/third_party/boost/boost/thread/detail/thread.hpp:385: error: in passing argument 1 of `void boost::this_thread::sleep(const boost::xtime&)' src/third_party/boost/boost/thread/detail/thread.hpp: At global scope: src/third_party/boost/boost/thread/detail/thread.hpp:393: error: using-declaration for non-member at class scope src/third_party/boost/boost/thread/detail/thread.hpp:393: error: expected `;' before "thread_data" src/third_party/boost/boost/thread/detail/thread.hpp:395: error: expected `)' before "thread_data_" src/third_party/boost/boost/thread/detail/thread.hpp: In constructor `boost::thread::id::id()': src/third_party/boost/boost/thread/detail/thread.hpp:402: error: class `boost::thread::id' does not have any field named `thread_data' src/third_party/boost/boost/thread/detail/thread.hpp: In copy constructor `boost::thread::id::id(const boost::thread::id&)': src/third_party/boost/boost/thread/detail/thread.hpp:406: error: class `boost::thread::id' does not have any field named `thread_data' src/third_party/boost/boost/thread/detail/thread.hpp:406: error: 'const class boost::thread::id' has no member named 'thread_data' src/third_party/boost/boost/thread/detail/thread.hpp: In member function `bool boost::thread::id::operator==(const boost::thread::id&) const': src/third_party/boost/boost/thread/detail/thread.hpp:411: error: `thread_data' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread.hpp:411: error: 'const class boost::thread::id' has no member named 'thread_data' src/third_party/boost/boost/thread/detail/thread.hpp: In member function `bool boost::thread::id::operator!=(const boost::thread::id&) const': src/third_party/boost/boost/thread/detail/thread.hpp:416: error: `thread_data' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread.hpp:416: error: 'const class boost::thread::id' has no member named 'thread_data' src/third_party/boost/boost/thread/detail/thread.hpp: In member function `bool boost::thread::id::operator<(const boost::thread::id&) const': src/third_party/boost/boost/thread/detail/thread.hpp:421: error: `thread_data' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread.hpp:421: error: 'const class boost::thread::id' has no member named 'thread_data' src/third_party/boost/boost/thread/detail/thread.hpp: In member function `bool boost::thread::id::operator>(const boost::thread::id&) const': src/third_party/boost/boost/thread/detail/thread.hpp:426: error: 'const class boost::thread::id' has no member named 'thread_data' src/third_party/boost/boost/thread/detail/thread.hpp:426: error: `thread_data' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread.hpp: In member function `bool boost::thread::id::operator<=(const boost::thread::id&) const': src/third_party/boost/boost/thread/detail/thread.hpp:431: error: 'const class boost::thread::id' has no member named 'thread_data' src/third_party/boost/boost/thread/detail/thread.hpp:431: error: `thread_data' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread.hpp: In member function `bool boost::thread::id::operator>=(const boost::thread::id&) const': src/third_party/boost/boost/thread/detail/thread.hpp:436: error: `thread_data' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread.hpp:436: error: 'const class boost::thread::id' has no member named 'thread_data' src/third_party/boost/boost/thread/detail/thread.hpp: In function `std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const boost::thread::id&)': src/third_party/boost/boost/thread/detail/thread.hpp:446: error: 'const class boost::thread::id' has no member named 'thread_data' src/third_party/boost/boost/thread/detail/thread.hpp:449: error: 'const class boost::thread::id' has no member named 'thread_data' src/third_party/boost/boost/thread/detail/thread.hpp: In function `void boost::this_thread::at_thread_exit(F)': src/third_party/boost/boost/thread/detail/thread.hpp:536: error: `heap_new' is not a member of `boost::detail' src/third_party/boost/boost/thread/detail/thread.hpp:536: error: expected primary-expression before '>' token In file included from src/third_party/boost/boost/thread/detail/thread_group.hpp:9, from src/third_party/boost/boost/thread/thread.hpp:24, from src/mongo/db/db.cpp:21: src/third_party/boost/boost/thread/shared_mutex.hpp:18:2: #error "Boost threads unavailable on this platform" In file included from src/third_party/boost/boost/thread/thread.hpp:24, from src/mongo/db/db.cpp:21: src/third_party/boost/boost/thread/detail/thread_group.hpp: At global scope: src/third_party/boost/boost/thread/detail/thread_group.hpp:98: error: `shared_mutex' does not name a type src/third_party/boost/boost/thread/detail/thread_group.hpp: In member function `boost::thread* boost::thread_group::create_thread(F)': src/third_party/boost/boost/thread/detail/thread_group.hpp:41: error: `lock_guard' is not a member of `boost' src/third_party/boost/boost/thread/detail/thread_group.hpp:41: error: `shared_mutex' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:41: error: `m' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:41: error: there are no arguments to `guard' that depend on a template parameter, so a declaration of `guard' must be available src/third_party/boost/boost/thread/detail/thread_group.hpp:41: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) src/third_party/boost/boost/thread/detail/thread_group.hpp: In member function `void boost::thread_group::add_thread(boost::thread*)': src/third_party/boost/boost/thread/detail/thread_group.hpp:51: error: `lock_guard' is not a member of `boost' src/third_party/boost/boost/thread/detail/thread_group.hpp:51: error: `shared_mutex' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:51: error: `m' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:51: error: `guard' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp: In member function `void boost::thread_group::remove_thread(boost::thread*)': src/third_party/boost/boost/thread/detail/thread_group.hpp:58: error: `lock_guard' is not a member of `boost' src/third_party/boost/boost/thread/detail/thread_group.hpp:58: error: `shared_mutex' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:58: error: `m' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:58: error: `guard' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp: In member function `void boost::thread_group::join_all()': src/third_party/boost/boost/thread/detail/thread_group.hpp:68: error: `shared_lock' is not a member of `boost' src/third_party/boost/boost/thread/detail/thread_group.hpp:68: error: `shared_mutex' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:68: error: `m' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:68: error: `guard' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp: In member function `void boost::thread_group::interrupt_all()': src/third_party/boost/boost/thread/detail/thread_group.hpp:80: error: `shared_lock' is not a member of `boost' src/third_party/boost/boost/thread/detail/thread_group.hpp:80: error: `shared_mutex' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:80: error: `m' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:80: error: `guard' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp: In member function `size_t boost::thread_group::size() const': src/third_party/boost/boost/thread/detail/thread_group.hpp:92: error: `shared_lock' is not a member of `boost' src/third_party/boost/boost/thread/detail/thread_group.hpp:92: error: `shared_mutex' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:92: error: `m' undeclared (first use this function) src/third_party/boost/boost/thread/detail/thread_group.hpp:92: error: `guard' undeclared (first use this function) In file included from src/mongo/base/configuration_variable_manager.h:24, from src/mongo/base/initializer.h:21, from src/mongo/db/db.cpp:25: src/mongo/platform/unordered_map.h:47:29: tr1/unordered_map: No such file or directory In file included from src/mongo/base/configuration_variable_manager.h:24, from src/mongo/base/initializer.h:21, from src/mongo/db/db.cpp:25: src/mongo/platform/unordered_map.h: At global scope: src/mongo/platform/unordered_map.h:51: error: `std::tr1' has not been declared src/mongo/platform/unordered_map.h:51: error: expected nested-name-specifier before "unordered_map" src/mongo/platform/unordered_map.h:51: error: `unordered_map' has not been declared In file included from src/mongo/base/initializer.h:21, from src/mongo/db/db.cpp:25: src/mongo/base/configuration_variable_manager.h:99: error: ISO C++ forbids declaration of `unordered_map' with no type src/mongo/base/configuration_variable_manager.h:99: error: expected `;' before '<' token src/mongo/base/configuration_variable_manager.h:118: error: `VariableMap' does not name a type In file included from src/mongo/base/initializer_dependency_graph.h:26, from src/mongo/base/initializer.h:24, from src/mongo/db/db.cpp:25: src/mongo/platform/unordered_set.h:47:29: tr1/unordered_set: No such file or directory In file included from src/mongo/base/initializer_dependency_graph.h:26, from src/mongo/base/initializer.h:24, from src/mongo/db/db.cpp:25: src/mongo/platform/unordered_set.h:51: error: `std::tr1' has not been declared src/mongo/platform/unordered_set.h:51: error: expected nested-name-specifier before "unordered_set" src/mongo/platform/unordered_set.h:51: error: `unordered_set' has not been declared In file included from src/mongo/base/initializer.h:24, from src/mongo/db/db.cpp:25: src/mongo/base/initializer_dependency_graph.h:94: error: ISO C++ forbids declaration of `unordered_set' with no type src/mongo/base/initializer_dependency_graph.h:94: error: expected `;' before '<' token src/mongo/base/initializer_dependency_graph.h:97: error: ISO C++ forbids declaration of `unordered_map' with no type src/mongo/base/initializer_dependency_graph.h:97: error: expected `;' before '<' token src/mongo/base/initializer_dependency_graph.h:98: error: `NodeMap' has not been declared src/mongo/base/initializer_dependency_graph.h:98: error: ISO C++ forbids declaration of `value_type' with no type src/mongo/base/initializer_dependency_graph.h:98: error: expected `;' before "Node" src/mongo/base/initializer_dependency_graph.h:104: error: expected `,' or `...' before '&' token src/mongo/base/initializer_dependency_graph.h:108: error: ISO C++ forbids declaration of `NodeMap' with no type src/mongo/base/initializer_dependency_graph.h:115: error: `NodeMap' does not name a type In file included from src/mongo/db/../util/optime.h:20, from src/mongo/db/jsobj.h:33, from src/mongo/db/cmdline.h:22, from src/mongo/util/net/hostandport.h:21, from src/mongo/db/client_basic.h:21, from src/mongo/db/client.h:29, from src/mongo/db/db.cpp:26: src/third_party/boost/boost/thread/condition.hpp:13: error: `condition_variable_any' does not name a type In file included from src/mongo/db/jsobj.h:33, from src/mongo/db/cmdline.h:22, from src/mongo/util/net/hostandport.h:21, from src/mongo/db/client_basic.h:21, from src/mongo/db/client.h:29, from src/mongo/db/db.cpp:26: src/mongo/db/../util/optime.h:151: error: ISO C++ forbids declaration of `condition' with no type src/mongo/db/../util/optime.h:151: error: invalid use of `::' src/mongo/db/../util/optime.h:151: error: expected `;' before "notifier" src/mongo/db/../util/optime.h: In static member function `static void mongo::OpTime::setLast(const mongo::Date_t&)': src/mongo/db/../util/optime.h:46: error: `notifier' undeclared (first use this function) src/mongo/db/../util/optime.h: In static member function `static void mongo::OpTime::setLast(const mongo::OpTime&)': src/mongo/db/../util/optime.h:51: error: `notifier' undeclared (first use this function) In file included from src/mongo/db/jsobj.h:41, from src/mongo/db/cmdline.h:22, from src/mongo/util/net/hostandport.h:21, from src/mongo/db/client_basic.h:21, from src/mongo/db/client.h:29, from src/mongo/db/db.cpp:26: src/mongo/db/../bson/bson-inl.h: At global scope: src/mongo/db/../bson/bson-inl.h:208: warning: inline function 'void mongo::BSONObj::_assertInvalid() const' given attribute noinline src/mongo/db/../bson/bson-inl.h:225: warning: inline function 'mongo::BSONObj mongo::BSONObj::copy() const' given attribute noinline In file included from src/mongo/util/net/listen.h:22, from src/mongo/db/cmdline.h:23, from src/mongo/util/net/hostandport.h:21, from src/mongo/db/client_basic.h:21, from src/mongo/db/client.h:29, from src/mongo/db/db.cpp:26: src/mongo/util/concurrency/ticketholder.h:95: error: using-declaration for non-member at class scope src/mongo/util/concurrency/ticketholder.h:95: error: expected `;' before "_newTicket" src/mongo/util/concurrency/ticketholder.h: In member function `void mongo::TicketHolder::waitForTicket()': src/mongo/util/concurrency/ticketholder.h:39: error: `_newTicket' undeclared (first use this function) src/mongo/util/concurrency/ticketholder.h: In member function `void mongo::TicketHolder::release()': src/mongo/util/concurrency/ticketholder.h:48: error: `_newTicket' undeclared (first use this function) src/mongo/util/concurrency/ticketholder.h: In member function `void mongo::TicketHolder::resize(int)': src/mongo/util/concurrency/ticketholder.h:66: error: `_newTicket' undeclared (first use this function) In file included from src/mongo/util/concurrency/rwlock.h:23, from src/mongo/db/d_concurrency.h:29, from src/mongo/db/client.h:30, from src/mongo/db/db.cpp:26: src/mongo/util/concurrency/rwlockimpl.h: At global scope: src/mongo/util/concurrency/rwlockimpl.h:154: error: `boost::shared_mutex' has not been declared src/mongo/util/concurrency/rwlockimpl.h:160: error: `shared_mutex' does not name a type src/mongo/util/concurrency/rwlockimpl.h: In member function `void mongo::RWLockBase::lock()': src/mongo/util/concurrency/rwlockimpl.h:163: error: `_m' undeclared (first use this function) src/mongo/util/concurrency/rwlockimpl.h: In member function `void mongo::RWLockBase::unlock()': src/mongo/util/concurrency/rwlockimpl.h:166: error: `_m' undeclared (first use this function) src/mongo/util/concurrency/rwlockimpl.h: In member function `void mongo::RWLockBase::lockAsUpgradable()': src/mongo/util/concurrency/rwlockimpl.h:169: error: `_m' undeclared (first use this function) src/mongo/util/concurrency/rwlockimpl.h: In member function `void mongo::RWLockBase::unlockFromUpgradable()': src/mongo/util/concurrency/rwlockimpl.h:172: error: `_m' undeclared (first use this function) src/mongo/util/concurrency/rwlockimpl.h: In member function `void mongo::RWLockBase::upgrade()': src/mongo/util/concurrency/rwlockimpl.h:175: error: `_m' undeclared (first use this function) src/mongo/util/concurrency/rwlockimpl.h: In member function `void mongo::RWLockBase::lock_shared()': src/mongo/util/concurrency/rwlockimpl.h:178: error: `_m' undeclared (first use this function) src/mongo/util/concurrency/rwlockimpl.h: In member function `void mongo::RWLockBase::unlock_shared()': src/mongo/util/concurrency/rwlockimpl.h:181: error: `_m' undeclared (first use this function) src/mongo/util/concurrency/rwlockimpl.h: In member function `bool mongo::RWLockBase::lock_shared_try(int)': src/mongo/util/concurrency/rwlockimpl.h:184: error: `_m' undeclared (first use this function) src/mongo/util/concurrency/rwlockimpl.h: In member function `bool mongo::RWLockBase::lock_try(int)': src/mongo/util/concurrency/rwlockimpl.h:187: error: `_m' undeclared (first use this function) In file included from src/mongo/util/string_map.h:58, from src/mongo/db/stats/top.h:22, from src/mongo/db/client.h:34, from src/mongo/db/db.cpp:26: src/mongo/util/string_map_internal.h: In member function `size_t mongo::StringMapDefaultHash::operator()(const mongo::StringData&) const': src/mongo/util/string_map_internal.h:29: warning: converting of negative value `-0x00000000000000001' to `size_t' In file included from src/mongo/db/clientcursor.h:29, from src/mongo/db/db.cpp:27: src/third_party/boost/boost/thread/recursive_mutex.hpp:18:2: #error "Boost threads unavailable on this platform" In file included from src/mongo/db/cursor.h:22, from src/mongo/db/clientcursor.h:31, from src/mongo/db/db.cpp:27: src/mongo/db/diskloc.h: In member function `size_t mongo::DiskLoc::Hasher::operator()(mongo::DiskLoc) const': src/mongo/db/diskloc.h:175: error: `unordered_set' undeclared (first use this function) src/mongo/db/diskloc.h:175: error: expected primary-expression before '>' token src/mongo/db/diskloc.h:175: error: `::hasher' has not been declared src/mongo/db/diskloc.h:176: error: expected primary-expression before '>' token src/mongo/db/diskloc.h:176: error: `::hasher' has not been declared In file included from src/third_party/s2/base/basictypes.h:10, from src/third_party/s2/s2.h:22, from src/mongo/db/geo/geoparser.h:21, from src/mongo/db/geo/geoquery.h:17, from src/mongo/db/matcher.h:25, from src/mongo/db/cursor.h:23, from src/mongo/db/clientcursor.h:31, from src/mongo/db/db.cpp:27: src/third_party/s2/base/port.h: In function `double drem(double, double)': src/third_party/s2/base/port.h:693: warning: converting to `int' from `double' src/third_party/s2/base/port.h:695: warning: converting to `int' from `double' In file included from src/mongo/db/geo/geoparser.h:21, from src/mongo/db/geo/geoquery.h:17, from src/mongo/db/matcher.h:25, from src/mongo/db/cursor.h:23, from src/mongo/db/clientcursor.h:31, from src/mongo/db/db.cpp:27: src/third_party/s2/s2.h: At global scope: src/third_party/s2/s2.h:40: error: `hash' is not a template src/third_party/s2/s2.h:40: error: explicit specialization of non-template `std::tr1::hash' In file included from src/third_party/s2/s2cell.h:9, from src/third_party/s2/s2regioncoverer.h:20, from src/mongo/db/geo/geoquery.h:21, from src/mongo/db/matcher.h:25, from src/mongo/db/cursor.h:23, from src/mongo/db/clientcursor.h:31, from src/mongo/db/db.cpp:27: src/third_party/s2/s2cellid.h:503: error: `hash' is not a template src/third_party/s2/s2cellid.h:503: error: redefinition of `struct std::tr1::hash' src/third_party/s2/s2.h:40: error: previous definition of `struct std::tr1::hash' In file included from src/mongo/db/namespace_details-inl.h:21, from src/mongo/db/pdfile.h:34, from src/mongo/db/db.h:21, from src/mongo/db/dbhelpers.h:27, from src/mongo/db/clientcursor.h:37, from src/mongo/db/db.cpp:27: src/mongo/db/namespace_details.h:454: error: ISO C++ forbids declaration of `unordered_map' with no type src/mongo/db/namespace_details.h:454: error: expected `;' before '<' token src/mongo/db/namespace_details.h:455: error: ISO C++ forbids declaration of `unordered_map' with no type src/mongo/db/namespace_details.h:455: error: expected `;' before '<' token src/mongo/db/namespace_details.h:456: error: `DMap' does not name a type src/mongo/db/namespace_details.h:574: error: ISO C++ forbids declaration of `CMap' with no type src/mongo/db/namespace_details.h:574: error: expected `;' before '&' token src/mongo/db/namespace_details.h: In static member function `static mongo::NamespaceDetailsTransient& mongo::NamespaceDetailsTransient::get_inlock(const std::string&)': src/mongo/db/namespace_details.h:614: error: `CMap' undeclared (first use this function) src/mongo/db/namespace_details.h:614: error: `m' undeclared (first use this function) src/mongo/db/namespace_details.h:614: error: `get_cmap_inlock' undeclared (first use this function) src/mongo/db/namespace_details.h:615: error: `CMap' has not been declared src/mongo/db/namespace_details.h:615: error: missing template arguments before "i" src/mongo/db/namespace_details.h:615: error: expected `;' before "i" src/mongo/db/namespace_details.h:616: error: `i' undeclared (first use this function) In file included from src/mongo/db/clientcursor.h:41, from src/mongo/db/db.cpp:27: src/mongo/db/keypattern.h: At global scope: src/mongo/db/keypattern.h:185: error: ISO C++ forbids declaration of `unordered_set' with no type src/mongo/db/keypattern.h:185: error: expected `;' before '<' token src/mongo/db/keypattern.h: In member function `bool mongo::KeyPattern::hasField(const mongo::StringData&) const': src/mongo/db/keypattern.h:66: error: `_prefixes' undeclared (first use this function) In file included from src/mongo/db/db.cpp:27: src/mongo/db/clientcursor.h: At global scope: src/mongo/db/clientcursor.h:46: error: `boost::recursive_mutex' has not been declared src/mongo/db/clientcursor.h:428: error: ISO C++ forbids declaration of `recursive_mutex' with no type src/mongo/db/clientcursor.h:428: error: invalid use of `::' src/mongo/db/clientcursor.h:428: error: expected `;' before '&' token src/mongo/db/clientcursor.h: In constructor `mongo::ClientCursor::Pin::Pin(long long int)': src/mongo/db/clientcursor.h:73: error: `ccmutex' undeclared (first use this function) src/mongo/db/clientcursor.h: In constructor `mongo::ClientCursor::LockedIterator::LockedIterator()': src/mongo/db/clientcursor.h:146: error: `ccmutex' undeclared (first use this function) src/mongo/db/clientcursor.h: In static member function `static mongo::ClientCursor* mongo::ClientCursor::find(mongo::CursorId, bool)': src/mongo/db/clientcursor.h:317: error: `ccmutex' undeclared (first use this function) src/mongo/db/instance.h:24: confused by earlier errors, bailing out scons: *** [build/sunos5/64/cc__usr_bin_gcc/cxx__usr_bin_g++/release/mongo/db/db.o] Error 1 scons: building terminated because of errors.