I wrote a simple "Hello, world!" program to test if boost/asio was working correctly:

#include <iostream>
#include <boost/date_time/posix_time/posix_time.hpp>

int main()
{
  std::cout << "Hello, world!\n";
  return 0;
}

But, I get this: (GCC C++ 4.1.2/Linux version 2.6.22-gentoo-r8)
test.cpp:(.text+0x10b): undefined reference to `boost::system::get_system_category()'
test.cpp:(.text+0x115): undefined reference to `boost::system::get_posix_category()'
test.cpp:(.text+0x11f): undefined reference to `boost::system::get_posix_category()'
test.cpp:(.text+0x129): undefined reference to `boost::system::get_system_category()'


This happens when I used '#include <boost/date_time/posix_time/posix_time.hpp>'
I can't figure out what I'm missing