[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    Re: [Boost-users] [python] Problem detecting python
From:       Vladimir Prus <vladimir () codesourcery ! com>
Date:       2009-09-01 13:37:44
Message-ID: h7j834$62a$1 () ger ! gmane ! org
[Download RAW message or body]

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

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic