**** Build of configuration Intercom Master for project uleDFS **** make all Building file: ../test/com_client_test.cpp Invoking: GCC C++ Compiler g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"test/com_client_test.d" -MT"test/com_client_test.d" -o"test/com_client_test.o" "../test/com_client_test.cpp" In file included from /usr/local/include/rlog/rlog.h:27, from ../test/../intercom/../debug.hpp:11, from ../test/../intercom/com_client.hpp:6, from ../test/com_client_test.cpp:8: /usr/local/include/rlog/common.h:115:4: warning: #warning RLOG_COMPONENT not defined - setting to UNKNOWN Finished building: ../test/com_client_test.cpp Building file: ../intercom/com_client.cpp Invoking: GCC C++ Compiler g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"intercom/com_client.d" -MT"intercom/com_client.d" -o"intercom/com_client.o" "../intercom/com_client.cpp" In file included from /usr/local/include/rlog/rlog.h:27, from ../intercom/../debug.hpp:11, from ../intercom/com_client.hpp:6, from ../intercom/com_client.cpp:1: /usr/local/include/rlog/common.h:115:4: warning: #warning RLOG_COMPONENT not defined - setting to UNKNOWN /usr/local/include/boost-1_35/boost/bind.hpp: In instantiation of ‘boost::_bi::result_traits)>’: /usr/local/include/boost-1_35/boost/bind/bind_template.hpp:15: instantiated from ‘boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >’ ../intercom/com_client.cpp:55: instantiated from here /usr/local/include/boost-1_35/boost/bind.hpp:67: error: ‘void (com_client::*)(command_t, const boost::system::error_code&, boost::asio::ip::basic_resolver_iterator)’ is not a class, struct, or union type /usr/local/include/boost-1_35/boost/asio/detail/bind_handler.hpp: In member function ‘void boost::asio::detail::binder1::operator()() [with Handler = boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, Arg1 = boost::system::error_code]’: /usr/local/include/boost-1_35/boost/asio/handler_invoke_hook.hpp:63: instantiated from ‘void boost::asio::asio_handler_invoke(Function, ...) [with Function = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_invoke_helpers.hpp:39: instantiated from ‘void boost_asio_handler_invoke_helpers::invoke(const Function&, Context*) [with Function = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, Context = boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >]’ /usr/local/include/boost-1_35/boost/asio/detail/bind_handler.hpp:72: instantiated from ‘void boost::asio::detail::asio_handler_invoke(const Function&, boost::asio::detail::binder1*) [with Function = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, Handler = boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, Arg1 = boost::system::error_code]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_invoke_helpers.hpp:39: instantiated from ‘void boost_asio_handler_invoke_helpers::invoke(const Function&, Context*) [with Function = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, Context = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:192: instantiated from ‘static void boost::asio::detail::handler_queue::handler_wrapper::do_call(boost::asio::detail::handler_queue::handler*) [with Handler = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:172: instantiated from ‘boost::asio::detail::handler_queue::handler_wrapper::handler_wrapper(Handler) [with Handler = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_alloc_helpers.hpp:138: instantiated from ‘boost::asio::detail::handler_ptr::handler_ptr(boost::asio::detail::raw_handler_ptr&, Arg1&) [with Arg1 = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, Alloc_Traits = boost::asio::detail::handler_alloc_traits), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, boost::asio::detail::handler_queue::handler_wrapper), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code> > >]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:117: instantiated from ‘static boost::asio::detail::handler_queue::handler* boost::asio::detail::handler_queue::wrap(Handler) [with Handler = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/detail/task_io_service.hpp:175: instantiated from ‘void boost::asio::detail::task_io_service::post(Handler) [with Handler = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, Task = boost::asio::detail::epoll_reactor]’ /usr/local/include/boost-1_35/boost/asio/impl/io_service.ipp:126: instantiated from ‘void boost::asio::io_service::post(Handler) [with CompletionHandler = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/basic_socket.hpp:638: instantiated from ‘void boost::asio::basic_socket::async_connect(const typename Protocol::endpoint&, ConnectHandler) [with ConnectHandler = boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, Protocol = boost::asio::ip::tcp, SocketService = boost::asio::stream_socket_service]’ ../intercom/com_client.cpp:55: instantiated from here /usr/local/include/boost-1_35/boost/asio/detail/bind_handler.hpp:39: error: no match for call to ‘(boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >) (boost::system::error_code&)’ /usr/local/include/boost-1_35/boost/bind.hpp: In member function ‘void boost::_bi::list4::operator()(boost::_bi::type, F&, A&, int) [with F = boost::_mfi::mf3 >, A = boost::_bi::list1, A1 = boost::_bi::value, A2 = boost::_bi::value, A3 = boost::arg<1> (*)(), A4 = boost::_bi::value >]’: /usr/local/include/boost-1_35/boost/bind/bind_template.hpp:32: instantiated from ‘typename boost::_bi::result_traits::type boost::_bi::bind_t::operator()(A1&) [with A1 = boost::system::error_code, R = void, F = boost::_mfi::mf3 >, L = boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > >]’ /usr/local/include/boost-1_35/boost/asio/detail/bind_handler.hpp:39: instantiated from ‘void boost::asio::detail::binder1::operator()() [with Handler = boost::_bi::bind_t >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, Arg1 = boost::system::error_code]’ /usr/local/include/boost-1_35/boost/asio/handler_invoke_hook.hpp:63: instantiated from ‘void boost::asio::asio_handler_invoke(Function, ...) [with Function = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_invoke_helpers.hpp:39: instantiated from ‘void boost_asio_handler_invoke_helpers::invoke(const Function&, Context*) [with Function = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, Context = boost::_bi::bind_t >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >]’ /usr/local/include/boost-1_35/boost/asio/detail/bind_handler.hpp:72: instantiated from ‘void boost::asio::detail::asio_handler_invoke(const Function&, boost::asio::detail::binder1*) [with Function = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, Handler = boost::_bi::bind_t >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, Arg1 = boost::system::error_code]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_invoke_helpers.hpp:39: instantiated from ‘void boost_asio_handler_invoke_helpers::invoke(const Function&, Context*) [with Function = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, Context = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:192: instantiated from ‘static void boost::asio::detail::handler_queue::handler_wrapper::do_call(boost::asio::detail::handler_queue::handler*) [with Handler = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:172: instantiated from ‘boost::asio::detail::handler_queue::handler_wrapper::handler_wrapper(Handler) [with Handler = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_alloc_helpers.hpp:138: instantiated from ‘boost::asio::detail::handler_ptr::handler_ptr(boost::asio::detail::raw_handler_ptr&, Arg1&) [with Arg1 = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, Alloc_Traits = boost::asio::detail::handler_alloc_traits >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, boost::asio::detail::handler_queue::handler_wrapper >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code> > >]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:117: instantiated from ‘static boost::asio::detail::handler_queue::handler* boost::asio::detail::handler_queue::wrap(Handler) [with Handler = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/detail/task_io_service.hpp:175: instantiated from ‘void boost::asio::detail::task_io_service::post(Handler) [with Handler = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>, Task = boost::asio::detail::epoll_reactor]’ /usr/local/include/boost-1_35/boost/asio/impl/io_service.ipp:126: instantiated from ‘void boost::asio::io_service::post(Handler) [with CompletionHandler = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::system::error_code>]’ /usr/local/include/boost-1_35/boost/asio/basic_socket.hpp:638: instantiated from ‘void boost::asio::basic_socket::async_connect(const typename Protocol::endpoint&, ConnectHandler) [with ConnectHandler = boost::_bi::bind_t >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, Protocol = boost::asio::ip::tcp, SocketService = boost::asio::stream_socket_service]’ ../intercom/com_client.cpp:28: instantiated from here /usr/local/include/boost-1_35/boost/bind.hpp:413: error: invalid conversion from ‘int’ to ‘command_t’ /usr/local/include/boost-1_35/boost/bind.hpp:413: error: initializing argument 2 of ‘R boost::_mfi::mf3::operator()(T*, A1, A2, A3) const [with R = void, T = com_client, A1 = command_t, A2 = const boost::system::error_code&, A3 = boost::asio::ip::basic_resolver_iterator]’ /usr/local/include/boost-1_35/boost/asio/detail/bind_handler.hpp: In member function ‘void boost::asio::detail::binder1::operator()() [with Handler = boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, Arg1 = boost::asio::error::basic_errors]’: /usr/local/include/boost-1_35/boost/asio/handler_invoke_hook.hpp:63: instantiated from ‘void boost::asio::asio_handler_invoke(Function, ...) [with Function = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_invoke_helpers.hpp:39: instantiated from ‘void boost_asio_handler_invoke_helpers::invoke(const Function&, Context*) [with Function = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, Context = boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >]’ /usr/local/include/boost-1_35/boost/asio/detail/bind_handler.hpp:72: instantiated from ‘void boost::asio::detail::asio_handler_invoke(const Function&, boost::asio::detail::binder1*) [with Function = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, Handler = boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, Arg1 = boost::asio::error::basic_errors]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_invoke_helpers.hpp:39: instantiated from ‘void boost_asio_handler_invoke_helpers::invoke(const Function&, Context*) [with Function = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, Context = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:192: instantiated from ‘static void boost::asio::detail::handler_queue::handler_wrapper::do_call(boost::asio::detail::handler_queue::handler*) [with Handler = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:172: instantiated from ‘boost::asio::detail::handler_queue::handler_wrapper::handler_wrapper(Handler) [with Handler = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_alloc_helpers.hpp:138: instantiated from ‘boost::asio::detail::handler_ptr::handler_ptr(boost::asio::detail::raw_handler_ptr&, Arg1&) [with Arg1 = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, Alloc_Traits = boost::asio::detail::handler_alloc_traits), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, boost::asio::detail::handler_queue::handler_wrapper), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors> > >]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:117: instantiated from ‘static boost::asio::detail::handler_queue::handler* boost::asio::detail::handler_queue::wrap(Handler) [with Handler = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/task_io_service.hpp:175: instantiated from ‘void boost::asio::detail::task_io_service::post(Handler) [with Handler = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, Task = boost::asio::detail::epoll_reactor]’ /usr/local/include/boost-1_35/boost/asio/impl/io_service.ipp:126: instantiated from ‘void boost::asio::io_service::post(Handler) [with CompletionHandler = boost::asio::detail::binder1), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/reactive_socket_service.hpp:1521: instantiated from ‘void boost::asio::detail::reactive_socket_service::async_connect(boost::asio::detail::reactive_socket_service::implementation_type&, const typename Protocol::endpoint&, Handler) [with Handler = boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, Protocol = boost::asio::ip::tcp, Reactor = boost::asio::detail::epoll_reactor]’ /usr/local/include/boost-1_35/boost/asio/stream_socket_service.hpp:194: instantiated from ‘void boost::asio::stream_socket_service::async_connect(typename boost::asio::detail::reactive_socket_service >::implementation_type&, const typename Protocol::endpoint&, ConnectHandler) [with ConnectHandler = boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, Protocol = boost::asio::ip::tcp]’ /usr/local/include/boost-1_35/boost/asio/basic_socket.hpp:644: instantiated from ‘void boost::asio::basic_socket::async_connect(const typename Protocol::endpoint&, ConnectHandler) [with ConnectHandler = boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >, Protocol = boost::asio::ip::tcp, SocketService = boost::asio::stream_socket_service]’ ../intercom/com_client.cpp:55: instantiated from here /usr/local/include/boost-1_35/boost/asio/detail/bind_handler.hpp:39: error: no match for call to ‘(boost::_bi::bind_t), boost::_bi::list3, boost::arg<1> (*)(), boost::_bi::value > > >) (boost::asio::error::basic_errors&)’ /usr/local/include/boost-1_35/boost/bind.hpp: In member function ‘void boost::_bi::list4::operator()(boost::_bi::type, F&, A&, int) [with F = boost::_mfi::mf3 >, A = boost::_bi::list1, A1 = boost::_bi::value, A2 = boost::_bi::value, A3 = boost::arg<1> (*)(), A4 = boost::_bi::value >]’: /usr/local/include/boost-1_35/boost/bind/bind_template.hpp:32: instantiated from ‘typename boost::_bi::result_traits::type boost::_bi::bind_t::operator()(A1&) [with A1 = boost::asio::error::basic_errors, R = void, F = boost::_mfi::mf3 >, L = boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > >]’ /usr/local/include/boost-1_35/boost/asio/detail/bind_handler.hpp:39: instantiated from ‘void boost::asio::detail::binder1::operator()() [with Handler = boost::_bi::bind_t >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, Arg1 = boost::asio::error::basic_errors]’ /usr/local/include/boost-1_35/boost/asio/handler_invoke_hook.hpp:63: instantiated from ‘void boost::asio::asio_handler_invoke(Function, ...) [with Function = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_invoke_helpers.hpp:39: instantiated from ‘void boost_asio_handler_invoke_helpers::invoke(const Function&, Context*) [with Function = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, Context = boost::_bi::bind_t >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >]’ /usr/local/include/boost-1_35/boost/asio/detail/bind_handler.hpp:72: instantiated from ‘void boost::asio::detail::asio_handler_invoke(const Function&, boost::asio::detail::binder1*) [with Function = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, Handler = boost::_bi::bind_t >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, Arg1 = boost::asio::error::basic_errors]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_invoke_helpers.hpp:39: instantiated from ‘void boost_asio_handler_invoke_helpers::invoke(const Function&, Context*) [with Function = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, Context = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:192: instantiated from ‘static void boost::asio::detail::handler_queue::handler_wrapper::do_call(boost::asio::detail::handler_queue::handler*) [with Handler = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:172: instantiated from ‘boost::asio::detail::handler_queue::handler_wrapper::handler_wrapper(Handler) [with Handler = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_alloc_helpers.hpp:138: instantiated from ‘boost::asio::detail::handler_ptr::handler_ptr(boost::asio::detail::raw_handler_ptr&, Arg1&) [with Arg1 = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, Alloc_Traits = boost::asio::detail::handler_alloc_traits >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, boost::asio::detail::handler_queue::handler_wrapper >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors> > >]’ /usr/local/include/boost-1_35/boost/asio/detail/handler_queue.hpp:117: instantiated from ‘static boost::asio::detail::handler_queue::handler* boost::asio::detail::handler_queue::wrap(Handler) [with Handler = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/task_io_service.hpp:175: instantiated from ‘void boost::asio::detail::task_io_service::post(Handler) [with Handler = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>, Task = boost::asio::detail::epoll_reactor]’ /usr/local/include/boost-1_35/boost/asio/impl/io_service.ipp:126: instantiated from ‘void boost::asio::io_service::post(Handler) [with CompletionHandler = boost::asio::detail::binder1 >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, boost::asio::error::basic_errors>]’ /usr/local/include/boost-1_35/boost/asio/detail/reactive_socket_service.hpp:1521: instantiated from ‘void boost::asio::detail::reactive_socket_service::async_connect(boost::asio::detail::reactive_socket_service::implementation_type&, const typename Protocol::endpoint&, Handler) [with Handler = boost::_bi::bind_t >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, Protocol = boost::asio::ip::tcp, Reactor = boost::asio::detail::epoll_reactor]’ /usr/local/include/boost-1_35/boost/asio/stream_socket_service.hpp:194: instantiated from ‘void boost::asio::stream_socket_service::async_connect(typename boost::asio::detail::reactive_socket_service >::implementation_type&, const typename Protocol::endpoint&, ConnectHandler) [with ConnectHandler = boost::_bi::bind_t >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, Protocol = boost::asio::ip::tcp]’ /usr/local/include/boost-1_35/boost/asio/basic_socket.hpp:644: instantiated from ‘void boost::asio::basic_socket::async_connect(const typename Protocol::endpoint&, ConnectHandler) [with ConnectHandler = boost::_bi::bind_t >, boost::_bi::list4, boost::_bi::value, boost::arg<1> (*)(), boost::_bi::value > > >, Protocol = boost::asio::ip::tcp, SocketService = boost::asio::stream_socket_service]’ ../intercom/com_client.cpp:28: instantiated from here /usr/local/include/boost-1_35/boost/bind.hpp:413: error: invalid conversion from ‘int’ to ‘command_t’ /usr/local/include/boost-1_35/boost/bind.hpp:413: error: initializing argument 2 of ‘R boost::_mfi::mf3::operator()(T*, A1, A2, A3) const [with R = void, T = com_client, A1 = command_t, A2 = const boost::system::error_code&, A3 = boost::asio::ip::basic_resolver_iterator]’ make: *** [intercom/com_client.o] Error 1