I've spent 2 hours to try to solve this error

**** Build of configuration Debug for project ServerFork ****

make all
Building target: ServerFork
Invoking: GCC C++ Linker
g++ -L/usr/lib -o"ServerFork"  ./ServerFork.o   -lboost_thread -lboost_system
./ServerFork.o: In function `__static_initialization_and_destruction_0':
/usr/nuovoboost/boost_asio_1_5_2/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/nuovoboost/boost_asio_1_5_2/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/nuovoboost/boost_asio_1_5_2/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
./ServerFork.o: In function `error_code':
/usr/nuovoboost/boost_asio_1_5_2/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()'
./ServerFork.o: In function `boost::asio::error::get_system_category()':
/usr/nuovoboost/boost_asio_1_5_2/boost/asio/error.hpp:216: undefined reference to `boost::system::system_category()'
collect2: ld returned 1 exit status
make: *** [ServerFork] Error 1

I've seen that probably I need to compile the boost system library...but I don't be able...I'm trying but I don't find a step to step clear and simple guide...does anyone help me?


Da: Igor R <boost.lists@gmail.com>
A: boost-users@lists.boost.org
Inviato: Mer 9 marzo 2011, 12:49:09
Oggetto: Re: [Boost-users] boost concurrent write/read

> ok...then it means that the asyncronous operation needs to be transformed in
> a sync operation?

No, it just means that you should "chain" your async. operations in this manner:
read -- handler -- read -- handler...
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users