id summary reporter owner description type status milestone component version severity resolution keywords cc 7335 Using Boost.Pool requires to link with Boost.System Ivan A. Melnikov Chris Newbold "Boost.Pool documentation says: The Boost Pool library is a header-only library. That means there is no .lib, .dll, or .so to build; just add the Boost directory to your compiler's include file path, and you should be good to go! But in fact, in boost 1.51.0 on my system (ALT Linux x86_64) it uses Boost.Thread parts which bring Boost.System in, and thus I get the following linking error: {{{ $ cat a.cpp #include int main() { return 0; } $ g++ a.cpp /tmp/.private/iv/ccqf3pLa.o: In function `__static_initialization_and_destruction_0(int, int)': a.cpp:(.text+0x4a): undefined reference to `boost::system::generic_category()' a.cpp:(.text+0x56): undefined reference to `boost::system::generic_category()' a.cpp:(.text+0x62): undefined reference to `boost::system::system_category()' collect2: ld returned 1 exit status }}} Of course, adding -lboost_system helps. Not shure if it is Boost.Pool, Boost.Thread or just Boost.Pool documentation bug." Bugs closed Boost 1.52.0 pool Boost 1.51.0 Problem duplicate flast@… vslavik@… bimargulies@…