Comment 1 for bug 162155

Revision history for this message
Guido U. Draheim 2007 (guidod-2007-) wrote :

The boost documentation is outdated. Please read
    /usr/include/boost/test/unit_test.hpp
which defines "main" (i.e. it is not a real symbol in the lib*.so).
You will find the requirement for two precompiler defines
   if defined(BOOST_TEST_DYN_LINK) && defined(BOOST_TEST_MAIN)

Note: earlier boost libraries did not require those defines,
and I did only came across this as ALL my programs did
not compile anymore after upgrading the operating system.
(actually to Ubuntu 08.04 w/ boost 1.34.1).

However, blame the boost developers, not the packagers.