/mongodb-src-r1.6.0: scons .
scons: Reading SConscript files ...
scons version: 1.3.0.d20100501
python version: 2 6 5 'final' 0
Checking whether the C++ compiler works(cached) yes
Checking for C library stdc++... (cached) yes
Checking for C++ header file pcrecpp.h... (cached) yes
Checking for C++ header file boost/filesystem/operations.hpp... (cached) yes
Checking for C library boost_system-mt... (cached) yes
Checking for C library boost_thread-mt... (cached) yes
Checking for C library boost_filesystem-mt... (cached) yes
Checking for C library boost_program_options-mt... (cached) yes
Checking for C++ header file execinfo.h... (cached) yes
Checking for C library pcrecpp... (cached) yes
Checking for C library pcre... (cached) yes
Checking for C library pcap... (cached) yes
Checking for C library mozjs... (cached) no
Checking for C library js... (cached) yes
Checking for C header file js/jsapi.h... (cached) yes
Checking whether the C++ compiler works(cached) yes
Checking for C++ header file boost/filesystem/operations.hpp... (cached) yes
Checking for C library boost_system-mt... (cached) yes
Checking for C library boost_thread-mt... (cached) yes
Checking for C library boost_filesystem-mt... (cached) yes
Checking for C library boost_program_options-mt... (cached) yes
Checking for C++ header file execinfo.h... (cached) yes
Checking for C library pcap... (cached) yes
Checking for C library mozjs... (cached) no
Checking for C library js... (cached) yes
Checking for C header file js/jsapi.h... (cached) yes
Checking for C library readline... (cached) yes
Checking for C library ncurses... (cached) yes
Checking for C library tinfo... (cached) no
Checking for C library rt... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o client/examples/authTest.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DXP_UNIX -I. -I/home/maxp/in client/examples/authTest.cpp
cc1plus: warnings being treated as errors
In file included from ./client/../pch.h:150,
from ./client/dbclient.h:20,
from client/examples/authTest.cpp:20:
./client/../util/log.h: In static member function 'static void mongo::Logstream::logLockless(const mongo::StringData&)':
./client/../util/log.h:163: error: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
./client/../util/log.h: In member function 'virtual void mongo::Logstream::flush(mongo::Tee*)':
./client/../util/log.h:219: error: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
scons: *** [client/examples/authTest.o] Error 1
scons: building terminated because of errors.