hi everyone, i'm new with boost, i've try some examples and they work well but spacifically with programs that use asio libraries i've got some error when i try to compile them, below the line i use to compile, 
ill apreciate some help
thnaks

pdro7@ubuntu:~/Desktop$ c++ -I /home/pdro7/Desktop/boost_1_40_0 asio1.cpp -o asio1 /usr/lib/libboost_system-gcc43-mt-1_35.a /usr/lib/libboost_thread-gcc43-mt-1_35.a /usr/lib/libboost_date_time-gcc43-mt-1_35.a /usr/lib/libboost_regex-gcc43-mt-1_35.a /usr/lib/libboost_serialization-gcc43-mt-1_35.a



// timer.cpp
// ~~~~~~~~~
//
// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//

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

int main()
{
boost::asio::io_service io;

boost::asio::deadline_timer t(io, boost::posix_time::seconds(5));
t.wait();

std::cout << "Hello, world!\n";

return 0;
}



--
Ing Pedro Alonso Chaparro Valero
Ciudad Politecnica de la Innovación
iTEAM - Mobile Communications Group
Polytechnic University of Valencia
C\ Camino de Vera S/N, Edificio 8G
46022 Valencia, Spain