Hi -
Thanks for including the relevant information about your issue in your post. The system compiler on Ubuntu 15.10 is GCC 5, which adds some new warnings, and the driver has not yet been updated to compile cleanly in that environment. Since the build system treats all warnings as errors by default, the build fails.
Would you mind filing an issue in the
CXX JIRA project describing the problem so that we can fix it in an upcoming release?
Until we resolve the issue, you can disable the warnings-as-errors behavior by adding the flag --disable-warnings-as-errors to your SCons invocation.
I'll also note that the Ubuntu 15.10 development environment should support the newly released C++11 driver. If you are working on a new project which does not depend on the legacy driver interfaces and can use C++11, the new C++11 driver offers a greatly improved interface and implementation. You can find the C++11 driver on the
master branch of the mongo-cxx-driver repository.
Thanks,
Andrew