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
/tmp/ccY6pBeJ.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> > >::context>::posix_tss_ptr()':
asio1.cpp:(.text._ZN5boost4asio6detail13posix_tss_ptrINS1_10call_stackINS1_15task_io_serviceINS1_13epoll_reactorILb0EEEEEE7contextEEC2Ev[boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> > >::context>::posix_tss_ptr()]+0x22): undefined reference to `pthread_key_create'
/tmp/ccY6pBeJ.o: In function `boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> > >::context>::~posix_tss_ptr()':
asio1.cpp:(.text._ZN5boost4asio6detail13posix_tss_ptrINS1_10call_stackINS1_15task_io_serviceINS1_13epoll_reactorILb0EEEEEE7contextEED2Ev[boost::asio::detail::posix_tss_ptr<boost::asio::detail::call_stack<boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> > >::context>::~posix_tss_ptr()]+0xf): undefined reference to `pthread_key_delete'
/tmp/ccY6pBeJ.o: In function `boost::asio::detail::posix_thread::join()':
asio1.cpp:(.text._ZN5boost4asio6detail12posix_thread4joinEv[boost::asio::detail::posix_thread::join()]+0x25): undefined reference to `pthread_join'
/tmp/ccY6pBeJ.o: In function `boost::asio::detail::posix_thread::~posix_thread()':
asio1.cpp:(.text._ZN5boost4asio6detail12posix_threadD1Ev[boost::asio::detail::posix_thread::~posix_thread()]+0x1d): undefined reference to `pthread_detach'
collect2: ld returned 1 exit status


2009/8/31 Ravi <lists_ravi@lavabit.com>
On Monday 31 August 2009 08:52:42 Philippe Fremy wrote:
> Could someone give me a hint on how to compile boost.python with mingw
> or tell me if it's impossible ?

If you are using python built with MSVC (e.g., the Windows python binaries at
python.org), you will be unable use it with mingw (due to conflicting run-time
library requirements. You can still use mingw-built boost.python with mingw
python.

Regards,
Ravi

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users



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