Link issue with condition_variable

Hello,
I'm using boost for the first time and I'm struggling to link my
program. I've added libboost_pthread-mt to the link link (which got
most of the symbols), but I still can't seem to get the symbols for the
condition variables. The issue could be with the code, as I find the
lock-mutex-condition_variable interactions to be very confusing, but it
does appear to be a link issue. Consider the following error message
emitted during link command:
mpicxx <objects> -D_FILE_OFFSET_BITS=64 -L/lib64 -lfuse -lrt -ldl
-lboost_thread-mt -lpthread -o aio_benchmark
src/aio/thread_pool_adaptive_writer.o: In function
`aio::ThreadPoolWriter::Write(aio::File*, std::vector

Bradley W. Settlemyer
/home/bws/sandbox/aiofs/src/aio/thread_pool_writer.cc:110: undefined reference to `boost::condition_variable::notify_one()'
Is condition variable in a different library?
I'm having an identical problem on Ubuntu Karmic with the Boost 1.40 libraries.
My code (test.cpp) is:
#include

Carl
My code (test.cpp) is:
#include
int main() { boost::condition_variable myCond; myCond.notify_one(); return 0; }
I forgot an include:
#include
participants (2)
-
Bradley W. Settlemyer
-
Carl