
On 18/07/07, Craig Sanders <pumpkin_head@dodo.com.au> wrote:
Hello.
I hope someone can help me. I have just installed Boost 1.34.0 (actually just the thread and signlas libraries) under Fedora Core 2. However, when I attempt to link a simple test program that makes use of the signals library in 1.34.0, the program fails to link. Boost 1.31.0 comes with Fedora Core 2 and I can successfully link against that, however I can't seem to link against 1.34.0. I am altering the -L and -l compiler options as necessary but I get the following error ;
undefined reference to boost::signals::detail::signal_base::signal_base(boost::function2<bool, boost::any, boost::any, std::allocator<boost::function_base>> const &)
Do I need to link in additional Boost libraries? What about this use of boost::any?
boost::any is a header only library so you don't need to worry about that. What does your compiler (and linker) command line look like? -- Tarjei