|
Boost Users : |
Subject: [Boost-users] undefined reference to
From: Marco Piacentini (marcopiacenta_at_[hidden])
Date: 2011-03-09 12:51:11
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_at_[hidden]>
A: boost-users_at_[hidden]
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_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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