Boost logo

Boost Users :

Subject: Re: [Boost-users] [python] Problem detecting python
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-09-01 09:37:44


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_at_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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net