
1 Sep
2009
1 Sep
'09
1:37 p.m.
pedro chaparro wrote:
hi, thanks for ur answer, yes i've seem i tried with 3.5 because 4.0 does not work either, i built it following the "getting started guide" , i put below the result using the 4.0
do i missing link something?
thnaks pdro7@ubuntu:~/Desktop$ c++ -I /home/pdro7/Desktop/boost_1_40_0 asio1.cpp -o asio1 boost_1_40_0/prefixes/lib/libboost_serialization.a boost_1_40_0/prefixes/lib/libboost_system.a boost_1_40_0/prefixes/lib/libboost_thread.a boost_1_40_0/prefixes/lib/libboost_date_time.a boost_1_40_0/prefixes/lib/libboost_regex.a .... undefined reference to `pthread_detach' collect2: ld returned 1 exit status
You are missing the -pthreads option - Volodya