Coder Social home page Coder Social logo

socket.io-client-cpp's Introduction

Socket.IO C++ Client

Build Status

By virtue of being written in C++, this client works in several different platforms. The examples folder contains an iPhone, QT and Console example chat client! It depends on websocket++ and is inspired by socket.io-clientpp.

Clients with iPhone, QT, Console and web

Compatibility table

C++ Client version Socket.IO server version
1.x / 2.x 3.x / 4.x
2.x (2.x branch) YES YES, with allowEIO3: true
3.x (master branch) NO YES

Features

  • 100% written in modern C++11
  • Binary support
  • Automatic JSON encoding
  • Multiplex support
  • Similar API to the Socket.IO JS client
  • Cross platform

Note: Only the WebSocket transport is currently implemented (no fallback to HTTP long-polling)

Installation alternatives

Quickstart

** Full overview of API can be seen here **

The APIs are similar to the JS client.

Connect to a server

sio::client h;
h.connect("http://127.0.0.1:3000");

Emit an event

// emit event name only:
h.socket()->emit("login");

// emit text
h.socket()->emit("add user", username);

// emit binary
char buf[100];
h.socket()->emit("add user", std::make_shared<std::string>(buf,100));

// emit message object with lambda ack handler
h.socket()->emit("add user", string_message::create(username), [&](message::list const& msg) {
});

// emit multiple arguments
message::list li("sports");
li.push(string_message::create("economics"));
socket->emit("categories", li);

Items in message::list will be expanded in server side event callback function as function arguments.

Bind an event

Bind with function pointer
void OnMessage(sio::event &)
{

}
h.socket()->on("new message", &OnMessage);
Bind with lambda
h.socket()->on("login", [&](sio::event& ev)
{
    //handle login message
    //post to UI thread if any UI updating.
});
Bind with member function
class MessageHandler
{
public:
    void OnMessage(sio::event &);
};
MessageHandler mh;
h.socket()->on("new message",std::bind( &MessageHandler::OnMessage,&mh,std::placeholders::_1));

Using namespace

h.socket("/chat")->emit("add user", username);

** Full overview of API can be seen here **

License

MIT

socket.io-client-cpp's People

Contributors

3p3r avatar adriandc avatar cdrofenik avatar darrachequesne avatar dependabot[bot] avatar evileye2000 avatar gabrieljablonski avatar geiseri avatar hfossli avatar jianjunz avatar jmigual avatar joelnordell avatar laneysmith avatar limitedatonement avatar llamerada-jp avatar lniccoli avatar mehanig avatar melode11 avatar mscofield0 avatar nuclearcookie avatar nukoooo avatar pattivacek avatar pturley0 avatar ruslo avatar taste1981 avatar tormfinn avatar whatisor avatar yandod avatar yas avatar zeze-zeze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

socket.io-client-cpp's Issues

CMake re-configuration fails in Windows

I'm using Visual Studio 2015.
At first time, CMake successfully configured and generated projects.
However, re-configuring fails after editing CMakeLists.txt.

1>------ ใƒ“ใƒซใƒ‰้–‹ๅง‹: ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆ:ZERO_CHECK, ๆง‹ๆˆ:Debug Win32 ------
1>  Checking Build System
1>  CMake is re-running because D:/Users/yuya-oc/git/socket.io-client-cpp/CMakeFiles/generate.stamp is out-of-date.
1>    the file 'D:/Users/yuya-oc/git/socket.io-client-cpp/CMakeLists.txt'
1>    is newer than 'D:/Users/yuya-oc/git/socket.io-client-cpp/CMakeFiles/generate.stamp.depend'
1>    result='-1'
1>  -- not define build type, set to release
1>  -- Boost version: 1.59.0
1>  -- Found the following Boost libraries:
1>  --   system
1>  --   date_time
1>  --   random
1>  CMake Error at CMakeLists.txt:82 (install):
1>    install FILES given directory "debug" to install.
1>
1>
1>  -- Configuring incomplete, errors occurred!
1>  See also "D:/Users/yuya-oc/git/socket.io-client-cpp/CMakeFiles/CMakeOutput.log".
1>  CMake Configure step failed.  Build files cannot be regenerated correctly.  Attempting to stop IDE build.

Boost_LIBRARIES contains optimized/debug keywords by find_package(). So I think that configuring fails.

# foreach(lib ${Boost_LIBRARIES})
#   message(${lib})
# endforeach()

optimized
D:/Users/yuya-oc/src/boost_1_59_0/stage/lib/libboost_system-vc140-mt-1_59.lib
debug
D:/Users/yuya-oc/src/boost_1_59_0/stage/lib/libboost_system-vc140-mt-gd-1_59.lib
optimized
D:/Users/yuya-oc/src/boost_1_59_0/stage/lib/libboost_date_time-vc140-mt-1_59.lib
debug
D:/Users/yuya-oc/src/boost_1_59_0/stage/lib/libboost_date_time-vc140-mt-gd-1_59.lib
optimized
D:/Users/yuya-oc/src/boost_1_59_0/stage/lib/libboost_random-vc140-mt-1_59.lib
debug
D:/Users/yuya-oc/src/boost_1_59_0/stage/lib/libboost_random-vc140-mt-gd-1_59.lib

get_double() asserting on valid input

Hello, I am seeing get_double() asserting on sio_message.h: 48 when I send in an object with either an integer or value like "5.0".

I guess while I'm at it I'll also request that something be done to prevent the assert on get_int() when a double is provided, like rounding or truncation?

How to build boost.lib

Hi,

I tried hard to find out how to get or build boost.lib on Windows x64 with no success.

Could you please give some directions here.

Thanks.

Android support?

It's c++ so it should work with JNI on Android? But I see no mention about it?

Array acknowledge

If an ack is an array, socket.io-client only returns the second element of the ack (sio_socket.cpp: line 399-412). Is there any plan to add support for array ack?

A Nodejs code and how can I code it by C++

This is the Nodejs code:

var conn = meshblu.createConnection({
"uuid": "ad698900-2546-11e3-87fb-c560cb0ca47b",
"token": "zh4p7as90pt1q0k98fzvwmc9rmjkyb9",
"server": "localhost",
"port": 80
});

conn.whoami({"uuid":"ad698900-2546-11e3-87fb-c560cb0ca47b"}, function (data) {
console.log(data);
});

conn.subscribe({
"uuid": "73c1e132-b803-4a38-bf40-80b26941ac86"
}, function(result) {
console.log(result);
});

How can I code it by C++ ?

I want to send uuid and token to the service when I create a connection, and I want have some actions with uuid like "subscribe", "whoami" and so on.

support logging configuration

Currently websocketpp shows some logging messages but there is no method to turn off or configure the log. Logging configuration should be supported.

How to emit a JSON object?

Hello,
I noticed that in \test\sio_test.cpp, nlohmann mentioned that JSON will not compile on Windows:

ifndef _WIN32

include "json.hpp" //nlohmann::json cannot build in MSVC

endif

Does it mean that I cann't emit a JSON object from Win32 client? Here is my object
{
name: 'Joe',
age: 25,
car: {
photo: ,
year: 2005
}
}
If I can, could you give a simple example?

Thanks a lot!

binary in message::list results in error

Hey,
I want to emit an event which holds one binary object and a few strings. I thought the message::list approach as seen in your Readme would work.
I tried:

    message::list argumentList("test1");
    argumentList.push(ofToString(sendcount));
    argumentList.push(std::make_shared<std::string>(buff, buffer.size()));
    h.socket()->emit("annotation_with_image", argumentList);

But I get following error:

error: no viable conversion from 'shared_ptr<std::__1::basic_string<char>>' to 'const shared_ptr<sio::message>'
    argumentList.push(buf);

It seem the list doesn't accept the datatype returned by make_shared. What would I need to change to send binary data (an image) along with some strings in a single event?

namespaced connection to a server does not work

I am new to webSockets and socket.io, but I understand that I can
create eg. two different namespaces on the server (implemented in nodejs environment) and listen to one of them with:

var a = io.of('/a')
var b = io.of('/b')
// [โ€ฆ] omitted lines

b.on('connection', handleConnection)

I could then connect to the b namespace via a client (in a nodejs environment with socket.io-client) with:

var socket = require('socket.io-client')('http://localhost:3000/b')

Trying the same in socket.io-client-cpp with

h.connect("http://127.0.0.1:3000/b");

Doesn't seem to work. When I change the server code to not use namespaces like: io.on('connection', handleConnection) the connection is established. So I am probably doing something wrong in regards to namespaces? Or is it a bug? thanks!

Callback from c++ should follow javascript's behavior

Hello,

When using ack_put_message to answer to an event by a callback, we can only give a message::ptr and not a message::list.

Furthermore, the socket prepends the event name to the callback parameters.

That's kind of awkward and it does not follow the way it is working in javascript. In javascript, we can give whatever callback parameters we want and the event name is not one of them.

Having the right behavior could break some client's behavior expeting first parameter to be the event name but nothing else as there is a constructor of message::list accepting message::ptr.

excessively frequent reconnect attempts

Hello, I've noticed that after about 78 or so failed connection attempts it starts reconnecting wildly with apparently no delay between attempts. I have seen this with default settings as well as with set_reconnect_delay set to 5000 and set_reconnect_delay_max to 10000. How do I prevent this?

Also, is there any way to suppress the [devel] output? Thanks!

a cmake compiler flag problem

i am making a .so file out of libsioclient.a, and /usr/bin/ld says relocation error, require me to recompile with -fPIC, so i use this command to cmake again:

cmake -DBOOST_ROOT=path_to_boost -DBOOST_VER=my_boost_version -DCMAKE_CXX_FLAGS=-fPIC ./

and in ./CMakeFiles/sioclient_tls.dir/flags.make:5 and ./CMakeFiles/sioclient_tls.dir/flags.make:5: -fPIC was added to CXX_FLAGS and my dynamic library was generated

however, this problem still exists in the libboost_*.a files, and i have to use my own boost libraries.
any idea to fix this?

ps. my platform is ubuntu 1404LTS, and using repo at this commit (Jun.15th)

Install by cocoapods?

Creating static libs is going to fail down the road if a new architecture is introduced, so I'm thinking it would be great to install by cocoapods (iOS and Mac).

Emit Binary conversion error while using std::make_shared<std::string>( Foo )

This is almost verbatim from the README.

char buf[100];
current_socket->emit ( "bintest", std::make_sharedstd::string(&buf, 100) );

I get: Error 1 error C2664: 'void sio::socket::emit(const std::string &,const sio::message::list &,const std::function<void (const sio::message::ptr &)> &)' : cannot convert argument 2 from 'std::shared_ptrstd::string' to 'const sio::message::list &' C:\Libraries\socket.io-client-cpp\examples\Console\main.cpp 90

Heap error after sync_close

Based on the console example, I get
HEAP: Free Heap block 00E7A590 modified at 00E7ACC8 after it was freed
in visual studio after the main program block ends, did i miss something for cleanup?
Here is my code:

sio::client client;
connection_listener listener(client);

client.set_open_listener(std::bind(&connection_listener::on_connected, &listener));
client.connect("http://chat.socket.io");

g_lock.lock();
if (!g_connected)
    g_cond.wait(g_lock);
g_lock.unlock();

Sleep(1000);

client.sync_close();
client.clear_con_listeners();

How to emit with TLS mode

Thanks for including TLS.
I was having trouble emitting a simple message using the following code, I am probably doing something wrong;

sio::client h;
h.connect("https://127.0.0.1:1337");
h.socket()->on("pong", (sio::socket::event_listener)&OnMessage);
std::string test = "abc";
h.socket()->emit("ping", test);

The server side does not obtain the emitted message "ping".
The console reports:

[2015-06-01 14:55:26] [devel] endpoint constructor
[2015-06-01 14:55:26] [devel] client constructor
Close by reason:End by user
Error: No active session
[2015-06-01 14:55:26] [connect] Successful connection
[2015-06-01 14:55:26] [connect] WebSocket Connection 127.0.0.1:1337 v-2 "WebSock
et++/0.5.1" /socket.io/?EIO=4&transport=websocket&t=1433134526 101
Connected.
On handshake,sid:qefZuQzvE3KaklymAAAB,ping interval:25000,ping timeout60000
Received Message type (Connect)

The part about "close by reason" is a cause of concern, I tried looking through the code but I'm not sure what would cause this.

`h` as abbreviation for what?

//emit event name only:
h.socket->emit("login");
//emit text
h.socket()->emit("add user", username);

What is the h? "Handle"?

how compile TLS mode ?

I don't know what you mean TRGET sioclient_tls #13

I try to use libsioclient_tls.a replace libsioclient,but don't work , can't compile.

can you write the code please.
thanks .

Including sio_socket.h and compilation wit clang fails.

In file included from /usr/local/include/sio_client.h:12:
/usr/local/include/sio_socket.h:73:31: error: expected ')'
        void emit(std::string const& name, message::list const& msglist = nullptr, std::function<void (message::ptr const&)> const& ack = nullptr);
                              ^
/usr/local/include/sio_socket.h:73:18: note: to match this '('
        void emit(std::string const& name, message::list const& msglist = nullptr, std::function<void (message::ptr const&)> const& ack = nullptr);
                 ^
/usr/local/include/sio_socket.h:73:24: error: non-friend class member 'string' cannot have a qualified name
        void emit(std::string const& name, message::list const& msglist = nullptr, std::function<void (message::ptr const&)> const& ack = nullptr);
                  ~~~~~^
/usr/local/include/sio_socket.h:73:24: error: field has incomplete type 'void'
3 errors generated.

** BUILD FAILED **

The issue resembles one (http://stackoverflow.com/questions/16759025/two-level-nested-c-class-works-with-gcc-but-fails-with-clang) where another compiler is possibly too permissive. Hence, a possible violation of _ (...) In such cases, the nested-name-specifier of the class-head-name of the definition shall not begin with a decltype-specifier._
Any ideas where this error might come from?

Multiple binds for same event

In a OOP setup where multiple objects are tapping in to the same event they should be able to unbind without side effects.

Suggestion
I think on(...) should return a unique id (int) so that it is possible to remove the binding with off(identifier). We should also introduce a convenience method offAllForEvent(event) or something like that for those cases where you actually want to remove all.

Hefty size

As mentioned here #38 building a static library of this framework for iOS is about 60 MB when optimized. That's just too much !

The swift library in comparison:

  • has no dependency to other frameworks
  • consists of just 13 files (~ 100 KB)

This makes this framework quite less attractive than the swift library.

I chose this library over swift because of compatibility issues.

emit three values

Hello dudes!
How i can emit my data in this fomat
emit("event",string,string);

code on node.js:
socket.on('event', function(data1,data2){....});

help me pls ._.

Server side "connection" event triggered twice when a socket.io cpp client is connected

If we add some log inside connection event handler, like

io.on('connection', function(){
  console.log('connection.');
});

It will output twice.

After a briefly investigation, I found socket.io cpp client sent a "connect" packet to the server after connection has been established. Server side seems to recognize it as a new connection. So "connection" event triggered twice.

Currently, I deleted

m_client->send(p);

from sio_socket.cpp (line 269). Then the second "connection" is gone. But I'm not sure if the "connect" packet is necessary or not.

Discontinued support

Hey, first of all. Thanks for sharing this wonderful library! It is a indeed a great library. So thanks again for sharing!

I won't create the static libraries nor maintain the podspecs anymore. It was just too much work.

My troubles so far have been this:

  • I've had troubles creating a proper podspec using the source directly
  • Xcode 7 is complaining about the static libraries I've created

The dependencies to rapidjson, websocket and boost is what has been crippled me the most. If this framework didn't have any dependencies it would be so much easier to integrate. These dependencies will also theoretically create duplicate symbols for some if they also have a dependency to boost, websocket or rapidjson from other projects.

Why do I want to use cocoapods? Because I'm creating a framework to be embedded into other iOS apps (thus making this project a subdependency).

I'm gonna use the swift version from now on, even though I really would like to use the c++ version.

How can I convert the message parameters to Objective-c?

I'm just posting this issue for reference for others who might want to know this.

This recursive function will convert to basic foundation objects:

- (id)objectForMessage:(message::ptr)data
{
    if(data->get_flag() == message::flag_object)
    {
        NSMutableDictionary *dict = [NSMutableDictionary new];
        for(const auto &pair : data->get_map())
        {
            NSString *key = [[NSString alloc] initWithCString:pair.first.c_str() encoding:[NSString defaultCStringEncoding]];
            id value = [self objectForMessage:pair.second];
            if(key)
            {
                [dict setObject:value ?: [NSNull null] forKey:key];
            }
        }
        return dict;
    }
    if(data->get_flag() == message::flag_array)
    {
        NSMutableArray *array = [NSMutableArray new];
        for(const auto &value : data->get_vector())
        {
            id object = [self objectForMessage:value];
            [array addObject:object ?: [NSNull null]];
        }
        return array;
    }
    if(data->get_flag() == message::flag_string)
    {
        string string = data->get_string();
        return [[NSString alloc] initWithCString:string.c_str() encoding:[NSString defaultCStringEncoding]];
    }
    if(data->get_flag() == message::flag_integer)
    {
        return @(data->get_int());
    }
    if(data->get_flag() == message::flag_double)
    {
        return @(data->get_double());
    }
    if(data->get_flag() == message::flag_binary)
    {
        shared_ptr<const string> binary = data->get_binary();
        return [NSData dataWithBytes:binary->c_str() length:binary->length()];
    }
    if(data->get_flag() == message::flag_boolean)
    {
        return @(data->get_bool());
    }
    return nil;
}

iOS example not working

I've followed all the steps specified in this page https://github.com/socketio/socket.io-client-cpp/blob/master/examples/iOS/README.md

This is the output after running bash ./boost.sh https://www.dropbox.com/s/ccs2803tegro0t6/socket.io-client-cpp_iOS_ErrorLog.txt?dl=0
The specific error part is:

Framework: Building /Users/juan/Documents/sio/socket.io-client-cpp/examples/iOS/SioChatDemo/boost/osx/framework/boost.framework from /Users/juan/Documents/sio/socket.io-client-cpp/examples/iOS/SioChatDemo/boost/osx/build...
Framework: Setting up directories...
Framework: Creating symlinks...
Lipoing library into /Users/juan/Documents/sio/socket.io-client-cpp/examples/iOS/SioChatDemo/boost/osx/framework/boost.framework/Versions/A/boost...
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: empty archive with no architecture specification: /Users/juan/Documents/sio/socket.io-client-cpp/examples/iOS/SioChatDemo/boost/osx/build/i386/libboost.a (can't determine architecture for it)

Aborted: Lipo /Users/juan/Documents/sio/socket.io-client-cpp/examples/iOS/SioChatDemo/boost/osx/framework failed

Do I have to install anything else to make this work?
I'm on a MacBook Pro with a recently installed OSX Yosemite (10.10.3) and xCode v6.3.2

Or is there any other way to get the libsioclient.a sio_client.h and sio_message.h files?

PD: I've tried to get help from https://socketio.slack.com/ but nobody would help

Thanks

hi. i have a problem with tizen application

Hi. I'm trying to build your source code to Tizen. But there is a problem. Tizen is c language based. I want to receive messages on the server in real time. I have a call using the pthread the socket_io_client () function. But the connection was successful, but the right end close () is called.
How can i use your source code in c language environment?

There socket_io_client () is in the link below.
https://github.com/Francis0121/nornenjs_v3/blob/master/client-tizen-socket-io/src/socket_io_client.cpp

support bool in message

Currently if json object contains boolean values, the values will be dropped. Boolean values should be supported.

how use on('event',arguments...) in cpp?

hi, this is my problem
my client cpp code like this :

socket->on("test event",sio::socket::event_listener_aux([&socket,&line](std::string const& name,sio::message::ptr const& data ,bool isAck,sio::message::ptr &ack_resp){
    do something...
}));

my server js code like this :


socket.emit('test event','1','2','3');


so , how can I receive this argument in cpp code ?
or I just change my server code like this : socket.emit('test event',['1','2','3']);
and the client make sure data is flag_array ??

thanks !

Detect TLS enabled at runtime

It's not flexible to control TLS feature at compile time if an app connects to "wss" or "ws" depends on end user's preference. I think it's better to detect TLS enabled by URI's schema.

boost error in windowsXP

When client tries to connect to server and the ip address does not exist websocketpp ends up calling: websocketpp::endpoint::handle_connect_timeout(...)

and then boost calls: boost:asio::basic_socket::cancel();

and this function throws an error: boost::asio::detail::throw_error(ec, "cancel");

#if defined(BOOST_ASIO_MSVC) && (BOOST_ASIO_MSVC >= 1400) \
  && (!defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0600) \
  && !defined(BOOST_ASIO_ENABLE_CANCELIO)
  __declspec(deprecated("By default, this function always fails with "
        "operation_not_supported when used on Windows XP, Windows Server 2003, "
        "or earlier. Consult documentation for details."))
#endif
  void cancel()
  {
    boost::system::error_code ec;
    this->get_service().cancel(this->get_implementation(), ec);
    boost::asio::detail::throw_error(ec, "cancel");
}  

And this ends up crashing the process on windows xp

Can you please help me with some workaround for this? Because I need it working on windowsXP too :(

error C2664 prevents build in Visual Studio 2013

Used CMake-gui to create Visual Studio 2013 project. Build solution fails with the error below for both sioclient and sioclient_tls.
Error 9 error C2664: 'boost::asio::basic_waitable_timerstd::chrono::steady_clock,boost::asio::wait_traits<Clock,boost::asio::waitable_timer_service<Clock,WaitTraits>>::basic_waitable_timer(const boost::asio::basic_waitable_timer<Clock,WaitTraits,boost::asio::waitable_timer_service<Clock,WaitTraits>> &)' : cannot convert argument 2 from 'boost::chrono::milliseconds' to 'const std::chrono::time_pointstd::chrono::system_clock,std::chrono::system_clock::duration &' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\memory 932 1 sioclient_tls
This error is similar to one I found related to websocketpp but the solution offered there does not work. Thanks for your help.

Trouble with event object

I can't seem to access the public interface of the event object. So far I seem to be able to get everything else to work, I can send and receive messages from the server, but I have to use the [&](string const& name, sio::message::ptr const& data, bool is_ack, sio::message::ptr& ack_resp) signature. I'd like to be able to use the [&](sio::event& ev) signature but when I try to do something like ev.get_messge() my complier throws an error

Undefined symbols for architecture x86_64:
  "sio::event::get_message() const", referenced from:
      _main in test.cpp.o

build a sioclient lib with TLS

my socket.io server use SSL , and I need build a socket.io cpp client to connect server with SSL.

I try build sioclient_tls like this:

cmake -DBOOST_INCLUDEDIR=/usr/local/Cellar/boost/1.58.0/include -DBOOST_LIBRARYDIR=/usr/local/Cellar/boost/1.58.0/lib -DBOOST_VER:STRING=1.58.0 -DTARGET=sioclient_tls
// is work!!

make -dSIO_TLS

make install

then , create two static lib ("libsioclient.a and libsioclient_tls.a") and โ€œbuildโ€ directory

so ,I use build/lib/Release lib andbuild/include header file and libsioclient_tls.a lib to make my cpp-client project!

but , canโ€™t work , so many error in the logs , canโ€™t build .

so , I use libsoclient.a to replacelibsioclient_tls.a

and compile is pass . but canโ€™t connect the socket.io server with ssl

[2015-09-09 11:20:53][connect] Successful connection

[2015-09-09 11:20:53][error] handle_read_http_response error: websocketpp.transport:7 (End of File)

P.S.

when I use socket.io javascript client ,use https://xxxx to connect server is success.

Update the Qt Demo README to Include Keyword Fix

In the Qt demo, the project file uses the no_keywords flag, which disables the signals, slots, and emit keywords. When integrating socket.io-client-cpp into an established project, this makes things pretty difficult, since you have to go back and change all your Qt keywords to the corresponding macros (Q_EMIT, Q_SIGNAL, etc).

One way around this is to undef/def the macros around the #include for socket.io-client-cpp headers, like this:

#undef slot
#undef slots
#undef signal
#undef signals
#undef emit
#include <sio_client.h>
#define slot Q_SLOT
#define slots Q_SLOTS
#define signal Q_SIGNAL
#define signals Q_SIGNALS
#define emit Q_EMIT

You could probably wrap this up in a macro to make it easier.

I figured this would be a nice addition to the Qt Demo README, since it would mean you don't have to include the no_keywords flag in your project.

Console example stuck in lock

int Participants never gets incremented after entering Nickname causing "if ( participants<0)" to evaluate true and put the program in an eternal lock with "_cond.wait ( _lock )".

Trying to tinker with it to get it to work but not having much success. Pretty new to this stuff. My Node server is only receiving user connected/disconnected events. If I'm suppose to see things like "login" and "add user" I'm definitely not seeing those either. Probably due to the aforementioned issue.

Server's certificate is not verified on TLS mode

The Socket.IO cpp client doesn't verify server's certificate while TLS is enabled. So the server's certificate may be issued by an untrusted authority or server's domain may not match certificate's CN/SAN.

C2873 'std:errc' in system_error.hpp in VS2012 Update 4

Hi,

I am trying to compile the console application example in VS2012 Update 4 which according to the readme, is supported. However, I am getting an error in system_error.hpp, line 64 (using std:errc) with the error message "error C2873: 'std::errc' : symbol cannot be used in a using-declaration".

Can you please instruct on how to fix this?

Thanks.

No way to clear message::list?

There is no public function to clear a message::list, and as far as I can tell, it's not automatically cleared after an emit that uses one. I've added in a clear for myself for now, but I feel as though this is an important feature, so I just wanted to make the suggestion. Maybe the message could pop off as they are sent? That's also an idea.

how to get binary data?

our server create a buffer from node.js
and we wanna send to client this(actually we want to send image data)
how to receive buffer data in client?
i used get_binary() but application shut down

Nodejs

var Buffer = require('buffer').Buffer;
var buf = new Buffer(4);
buf.writeInt32BE(1, 0);
console.log(buf);

socket.emit('stream', {stream : buf } );

C++

h.bind_event("stream", [&](string const& name, message::ptr const& data, bool isAck,message::ptr &ack_resp){//message
    _lock.lock();
       data->get_map()["stream"]->get_binary();
       _lock.unlock();
});

compile problem of socketio client example in eclipse

I meet some problem when I compile the console example. I have already search the error in google but it still cannot find any solution. I have searched these keywords in the whole socketio-client project but I cannot find where these keywords locate.

sio_client_impl.cpp:(.text+0x2739): undefined reference to TLSv1_method' sio_client_impl.cpp:(.text+0x2741): undefined reference toSSL_CTX_new'
sio_client_impl.cpp:(.text+0x274f): undefined reference to boost::system::system_category()' sio_client_impl.cpp:(.text+0x2764): undefined reference toSSL_CTX_ctrl'

log:
21:41:13 **** Incremental Build of configuration Debug for project webrtcsocketiotest ****
make all
Building file: ../src/webrtcsocketiotest.cpp
Invoking: GCC C++ Compiler
g++ -D_cplusplus=201103L -I/usr/local/include/boost -I/home/parallels/socket.io-client-cpp/build/include -O0 -g3 -Wall -c -fmessage-length=0 -std=c++11 -DBOOST_SYSTEM_NO_DEPRECATED -MMD -MP -MF"src/webrtcsocketiotest.d" -MT"src/webrtcsocketiotest.o" -o "src/webrtcsocketiotest.o" "../src/webrtcsocketiotest.cpp"
Finished building: ../src/webrtcsocketiotest.cpp

Building target: webrtcsocketiotest
Invoking: GCC C++ Linker
g++ -L/usr/local/lib -L/home/parallels/socket.io-client-cpp/build/lib/Release -o "webrtcsocketiotest" ./src/webrtcsocketiotest.o -lcrypto -lssl -lboost_system -lboost_date_time -lboost_random -lsioclient_tls -lsioclient
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function std::default_delete<boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime>, boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > > >::operator()(boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime>, boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > >*) const [clone .isra.220]': sio_socket.cpp:(.text+0x12c8): undefined reference toboost::system::system_category()'
sio_socket.cpp:(.text+0x12ef): undefined reference to boost::system::system_category()' sio_socket.cpp:(.text+0x1313): undefined reference toboost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function sio::socket::impl::on_connected()': sio_socket.cpp:(.text+0x138f): undefined reference toboost::system::system_category()'
sio_socket.cpp:(.text+0x13bf): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o):sio_socket.cpp:(.text+0x1738): more undefined references toboost::system::system_category()' follow
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function boost::asio::error::detail::ssl_category::message(int) const': sio_socket.cpp:(.text._ZNK5boost4asio5error6detail12ssl_category7messageEi[_ZNK5boost4asio5error6detail12ssl_category7messageEi]+0xc): undefined reference toERR_reason_error_string'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function boost::asio::detail::epoll_reactor::~epoll_reactor()': sio_socket.cpp:(.text._ZN5boost4asio6detail13epoll_reactorD2Ev[_ZN5boost4asio6detail13epoll_reactorD5Ev]+0x94): undefined reference toboost::system::system_category()'
sio_socket.cpp:(.text._ZN5boost4asio6detail13epoll_reactorD2Ev[_ZN5boost4asio6detail13epoll_reactorD5Ev]+0x144): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In functionboost::asio::detail::object_poolboost::asio::detail::epoll_reactor::descriptor_state::~object_pool()':
sio_socket.cpp:(.text._ZN5boost4asio6detail11object_poolINS1_13epoll_reactor16descriptor_stateEED2Ev[_ZN5boost4asio6detail11object_poolINS1_13epoll_reactor16descriptor_stateEED5Ev]+0x64): undefined reference to boost::system::system_category()' sio_socket.cpp:(.text._ZN5boost4asio6detail11object_poolINS1_13epoll_reactor16descriptor_stateEED2Ev[_ZN5boost4asio6detail11object_poolINS1_13epoll_reactor16descriptor_stateEED5Ev]+0x114): undefined reference toboost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>::~op_queue()': sio_socket.cpp:(.text._ZN5boost4asio6detail8op_queueINS1_25task_io_service_operationEED2Ev[_ZN5boost4asio6detail8op_queueINS1_25task_io_service_operationEED5Ev]+0x2b): undefined reference toboost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()': sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0xe): undefined reference toCRYPTO_set_id_callback'
sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x15): undefined reference to CRYPTO_set_locking_callback' sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x1a): undefined reference toERR_free_strings'
sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x21): undefined reference to ERR_remove_state' sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x26): undefined reference toEVP_cleanup'
sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x2b): undefined reference to CRYPTO_cleanup_all_ex_data' sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x35): undefined reference toCONF_modules_unload'
sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base7do_initD2Ev[_ZN5boost4asio3ssl6detail17openssl_init_base7do_initD5Ev]+0x3a): undefined reference to ENGINE_cleanup' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In functionstd::_Sp_counted_ptr<boost::asio::ssl::detail::openssl_init_base::do_init*, (__gnu_cxx::_Lock_policy)2>::_M_dispose()':
sio_socket.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x18): undefined reference to CRYPTO_set_id_callback' sio_socket.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x1f): undefined reference toCRYPTO_set_locking_callback'
sio_socket.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x24): undefined reference to ERR_free_strings' sio_socket.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x2b): undefined reference toERR_remove_state'
sio_socket.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x30): undefined reference to EVP_cleanup' sio_socket.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x35): undefined reference toCRYPTO_cleanup_all_ex_data'
sio_socket.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x3f): undefined reference to CONF_modules_unload' sio_socket.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x44): undefined reference toENGINE_cleanup'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function boost::asio::detail::epoll_reactor::do_epoll_create()': sio_socket.cpp:(.text._ZN5boost4asio6detail13epoll_reactor15do_epoll_createEv[_ZN5boost4asio6detail13epoll_reactor15do_epoll_createEv]+0x71): undefined reference toboost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function boost::asio::detail::eventfd_select_interrupter::open_descriptors()': sio_socket.cpp:(.text._ZN5boost4asio6detail26eventfd_select_interrupter16open_descriptorsEv[_ZN5boost4asio6detail26eventfd_select_interrupter16open_descriptorsEv]+0xa9): undefined reference toboost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function boost::asio::detail::epoll_reactor::fork_service(boost::asio::io_service::fork_event)': sio_socket.cpp:(.text._ZN5boost4asio6detail13epoll_reactor12fork_serviceENS0_10io_service10fork_eventE[_ZN5boost4asio6detail13epoll_reactor12fork_serviceENS0_10io_service10fork_eventE]+0x22c): undefined reference toboost::system::system_category()'
sio_socket.cpp:(.text._ZN5boost4asio6detail13epoll_reactor12fork_serviceENS0_10io_service10fork_eventE[_ZN5boost4asio6detail13epoll_reactor12fork_serviceENS0_10io_service10fork_eventE]+0x2cc): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In functionboost::asio::detail::posix_mutex::posix_mutex()':
sio_socket.cpp:(.text._ZN5boost4asio6detail11posix_mutexC2Ev[_ZN5boost4asio6detail11posix_mutexC5Ev]+0xf): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o):sio_socket.cpp:(.text._ZN5boost4asio6detail16service_registry6createINS1_13epoll_reactorEEEPNS0_10io_service7serviceERS5_[_ZN5boost4asio6detail16service_registry6createINS1_13epoll_reactorEEEPNS0_10io_service7serviceERS5_]+0x5a): more undefined references to boost::system::system_category()' follow
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In functionboost::asio::ssl::detail::openssl_init_base::instance()': sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv[_ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv]+0x93): undefined reference to SSL_library_init'
sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv[_ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv]+0x98): undefined reference toSSL_load_error_strings' sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv[_ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv]+0x9d): undefined reference to OPENSSL_add_all_algorithms_noconf'
sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv[_ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv]+0xa2): undefined reference toCRYPTO_num_locks' sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv[_ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv]+0x154): undefined reference to CRYPTO_set_locking_callback'
sio_socket.cpp:(.text._ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv[_ZN5boost4asio3ssl6detail17openssl_init_base8instanceEv]+0x15e): undefined reference toCRYPTO_set_id_callback' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function boost::asio::detail::op_queueboost::asio::detail::wait_op::~op_queue()':
sio_socket.cpp:(.text._ZN5boost4asio6detail8op_queueINS1_7wait_opEED2Ev[_ZN5boost4asio6detail8op_queueINS1_7wait_opEED5Ev]+0x2b): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function unsigned long boost::asio::detail::epoll_reactor::cancel_timer<boost::asio::time_traitsboost::posix_time::ptime >(boost::asio::detail::timer_queue<boost::asio::time_traitsboost::posix_time::ptime >&, boost::asio::detail::timer_queue<boost::asio::time_traitsboost::posix_time::ptime >::per_timer_data&, unsigned long)':
sio_socket.cpp:(.text._ZN5boost4asio6detail13epoll_reactor12cancel_timerINS0_11time_traitsINS_10posix_time5ptimeEEEEEmRNS1_11timer_queueIT_EERNSA_14per_timer_dataEm[_ZN5boost4asio6detail13epoll_reactor12cancel_timerINS0_11time_traitsINS_10posix_time5ptimeEEEEEmRNS1_11timer_queueIT_EERNSA_14per_timer_dataEm]+0x7a): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function boost::asio::detail::deadline_timer_service<boost::asio::time_traitsboost::posix_time::ptime >::expires_from_now(boost::asio::detail::deadline_timer_service<boost::asio::time_traitsboost::posix_time::ptime >::implementation_type&, boost::posix_time::time_duration const&, boost::system::error_code&)':
sio_socket.cpp:(.text._ZN5boost4asio6detail22deadline_timer_serviceINS0_11time_traitsINS_10posix_time5ptimeEEEE16expires_from_nowERNS7_19implementation_typeERKNS4_13time_durationERNS_6system10error_codeE[_ZN5boost4asio6detail22deadline_timer_serviceINS0_11time_traitsINS_10posix_time5ptimeEEEE16expires_from_nowERNS7_19implementation_typeERKNS4_13time_durationERNS_6system10error_codeE]+0x81): undefined reference toboost::system::system_category()' sio_socket.cpp:(.text._ZN5boost4asio6detail22deadline_timer_serviceINS0_11time_traitsINS_10posix_time5ptimeEEEE16expires_from_nowERNS7_19implementation_typeERKNS4_13time_durationERNS_6system10error_codeE[_ZN5boost4asio6detail22deadline_timer_serviceINS0_11time_traitsINS_10posix_time5ptimeEEEE16expires_from_nowERNS7_19implementation_typeERKNS4_13time_durationERNS_6system10error_codeE]+0x94): undefined reference to boost::system::system_category()'
sio_socket.cpp:(.text._ZN5boost4asio6detail22deadline_timer_serviceINS0_11time_traitsINS_10posix_time5ptimeEEEE16expires_from_nowERNS7_19implementation_typeERKNS4_13time_durationERNS_6system10error_codeE[_ZN5boost4asio6detail22deadline_timer_serviceINS0_11time_traitsINS_10posix_time5ptimeEEEE16expires_from_nowERNS7_19implementation_typeERKNS4_13time_durationERNS_6system10error_codeE]+0xb1): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_socket.cpp.o): In function _GLOBAL__sub_I__ZNK3sio5event7get_nspEv':
sio_socket.cpp:(.text.startup+0xe1): undefined reference toboost::system::generic_category()' sio_socket.cpp:(.text.startup+0xed): undefined reference to boost::system::generic_category()'
sio_socket.cpp:(.text.startup+0xf9): undefined reference toboost::system::system_category()' sio_socket.cpp:(.text.startup+0x105): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::engine::put_input(boost::asio::const_buffer const&) [clone .isra.132]': sio_client_impl.cpp:(.text+0x120b): undefined reference to BIO_write'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionsio::client_impl::run_loop()': sio_client_impl.cpp:(.text+0x240a): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionsio::client_impl::on_tls_init(std::weak_ptr<void>)': sio_client_impl.cpp:(.text+0x2739): undefined reference to TLSv1_method'
sio_client_impl.cpp:(.text+0x2741): undefined reference toSSL_CTX_new' sio_client_impl.cpp:(.text+0x274f): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text+0x2764): undefined reference toSSL_CTX_ctrl' sio_client_impl.cpp:(.text+0x2769): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text+0x27a0): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text+0x27b7): undefined reference to SSL_CTX_ctrl'
sio_client_impl.cpp:(.text+0x27bc): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text+0x27d5): undefined reference to ERR_get_error'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionstd::default_delete<boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime>, boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > > >::operator()(boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime>, boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > >_) const [clone .isra.465]': sio_client_impl.cpp:(.text+0x3208): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text+0x322f): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text+0x3253): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionsio::client_impl::connect(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)': sio_client_impl.cpp:(.text+0x32da): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text+0x3309): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text+0x412d): more undefined references to boost::system::system_category()' follow
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::engine::do_write(void_, unsigned long)': sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine8do_writeEPvm[_ZN5boost4asio3ssl6detail6engine8do_writeEPvm]+0x15): undefined reference to SSL_write'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::engine::do_read(void_, unsigned long)': sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7do_readEPvm[_ZN5boost4asio3ssl6detail6engine7do_readEPvm]+0x15): undefined reference to SSL_read'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::engine::do_accept(void_, unsigned long)': sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine9do_acceptEPvm[_ZN5boost4asio3ssl6detail6engine9do_acceptEPvm]+0x12): undefined reference to SSL_accept'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::engine::do_connect(void_, unsigned long)': sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine10do_connectEPvm[_ZN5boost4asio3ssl6detail6engine10do_connectEPvm]+0x4): undefined reference to SSL_connect'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::detail::reactive_socket_connect_op_base::do_perform(boost::asio::detail::reactor_op_)': sio_client_impl.cpp:(.text._ZN5boost4asio6detail31reactive_socket_connect_op_base10do_performEPNS1_10reactor_opE[_ZN5boost4asio6detail31reactive_socket_connect_op_base10do_performEPNS1_10reactor_opE]+0x8a): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio6detail31reactive_socket_connect_op_base10do_performEPNS1_10reactor_opE[_ZN5boost4asio6detail31reactive_socket_connect_op_base10do_performEPNS1_10reactor_opE]+0xa9): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio6detail31reactive_socket_connect_op_base10do_performEPNS1_10reactor_opE[_ZN5boost4asio6detail31reactive_socket_connect_op_base10do_performEPNS1_10reactor_opE]+0xc0): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio6detail31reactive_socket_connect_op_base10do_performEPNS1_10reactor_opE[_ZN5boost4asio6detail31reactive_socket_connect_op_base10do_performEPNS1_10reactor_opE]+0xde): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio6detail31reactive_socket_connect_op_base10do_performEPNS1_10reactor_opE[_ZN5boost4asio6detail31reactive_socket_connect_op_base10do_performEPNS1_10reactor_opE]+0xf7): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::engine::do_shutdown(void_, unsigned long)': sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine11do_shutdownEPvm[_ZN5boost4asio3ssl6detail6engine11do_shutdownEPvm]+0x8): undefined reference to SSL_shutdown'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine11do_shutdownEPvm[_ZN5boost4asio3ssl6detail6engine11do_shutdownEPvm]+0x1d): undefined reference toSSL_shutdown' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::detail::task_io_service::shutdown_service()':
sio_client_impl.cpp:(.text._ZN5boost4asio6detail15task_io_service16shutdown_serviceEv[ZN5boost4asio6detail15task_io_service16shutdown_serviceEv]+0xac): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::detail::reactive_socket_recv_op_baseboost::asio::mutable_buffers_1::do_perform(boost::asio::detail::reactor_op)':
sio_client_impl.cpp:(.text._ZN5boost4asio6detail28reactive_socket_recv_op_baseINS0_17mutable_buffers_1EE10do_performEPNS1_10reactor_opE[_ZN5boost4asio6detail28reactive_socket_recv_op_baseINS0_17mutable_buffers_1EE10do_performEPNS1_10reactor_opE]+0x96): undefined reference to boost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio6detail28reactive_socket_recv_op_baseINS0_17mutable_buffers_1EE10do_performEPNS1_10reactor_opE[_ZN5boost4asio6detail28reactive_socket_recv_op_baseINS0_17mutable_buffers_1EE10do_performEPNS1_10reactor_opE]+0xad): undefined reference toboost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio6detail28reactive_socket_recv_op_baseINS0_17mutable_buffers_1EE10do_performEPNS1_10reactor_opE[_ZN5boost4asio6detail28reactive_socket_recv_op_baseINS0_17mutable_buffers_1EE10do_performEPNS1_10reactor_opE]+0xce): undefined reference to boost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio6detail28reactive_socket_recv_op_baseINS0_17mutable_buffers_1EE10do_performEPNS1_10reactor_opE[_ZN5boost4asio6detail28reactive_socket_recv_op_baseINS0_17mutable_buffers_1EE10do_performEPNS1_10reactor_opE]+0xdf): undefined reference toboost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZN5boost4asio6detail28reactive_socket_recv_op_baseINS0_17mutable_buffers_1EE10do_performEPNS1_10reactor_opE[_ZN5boost4asio6detail28reactive_socket_recv_op_baseINS0_17mutable_buffers_1EE10do_performEPNS1_10reactor_opE]+0xf4): more undefined references to boost::system::system_category()' follow /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ip::resolver_serviceboost::asio::ip::tcp::shutdown_service()':
sio_client_impl.cpp:(.text._ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE16shutdown_serviceEv[_ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE16shutdown_serviceEv]+0x19e): undefined reference to pthread_join' sio_client_impl.cpp:(.text._ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE16shutdown_serviceEv[_ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE16shutdown_serviceEv]+0x1c1): undefined reference topthread_detach'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::detail::epoll_reactor::start_op(int, int, boost::asio::detail::epoll_reactor::descriptor_state*&, boost::asio::detail::reactor_op*, bool, bool)': sio_client_impl.cpp:(.text._ZN5boost4asio6detail13epoll_reactor8start_opEiiRPNS2_16descriptor_stateEPNS1_10reactor_opEbb[_ZN5boost4asio6detail13epoll_reactor8start_opEiiRPNS2_16descriptor_stateEPNS1_10reactor_opEbb]+0xaa): undefined reference toboost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio6detail13epoll_reactor8start_opEiiRPNS2_16descriptor_stateEPNS1_10reactor_opEbb[_ZN5boost4asio6detail13epoll_reactor8start_opEiiRPNS2_16descriptor_stateEPNS1_10reactor_opEbb]+0xf1): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::detail::socket_ops::close(int, unsigned char&, bool, boost::system::error_code&)':
sio_client_impl.cpp:(.text._ZN5boost4asio6detail10socket_ops5closeEiRhbRNS_6system10error_codeE[_ZN5boost4asio6detail10socket_ops5closeEiRhbRNS_6system10error_codeE]+0x39): undefined reference to boost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio6detail10socket_ops5closeEiRhbRNS_6system10error_codeE[_ZN5boost4asio6detail10socket_ops5closeEiRhbRNS_6system10error_codeE]+0x50): undefined reference toboost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio6detail10socket_ops5closeEiRhbRNS_6system10error_codeE[_ZN5boost4asio6detail10socket_ops5closeEiRhbRNS_6system10error_codeE]+0x85): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZN5boost4asio6detail10socket_ops5closeEiRhbRNS_6system10error_codeE[_ZN5boost4asio6detail10socket_ops5closeEiRhbRNS_6system10error_codeE]+0xb9): more undefined references toboost::system::system_category()' follow
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::detail::resolver_service_base::shutdown_service()': sio_client_impl.cpp:(.text._ZN5boost4asio6detail21resolver_service_base16shutdown_serviceEv[_ZN5boost4asio6detail21resolver_service_base16shutdown_serviceEv]+0x19e): undefined reference topthread_join'
sio_client_impl.cpp:(.text._ZN5boost4asio6detail21resolver_service_base16shutdown_serviceEv[_ZN5boost4asio6detail21resolver_service_base16shutdown_serviceEv]+0x1c1): undefined reference to pthread_detach' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ip::resolver_serviceboost::asio::ip::tcp::~resolver_service()':
sio_client_impl.cpp:(.text._ZN5boost4asio2ip16resolver_serviceINS1_3tcpEED2Ev[_ZN5boost4asio2ip16resolver_serviceINS1_3tcpEED5Ev]+0x104): undefined reference to pthread_detach' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ip::resolver_serviceboost::asio::ip::tcp::~resolver_service()':
sio_client_impl.cpp:(.text._ZN5boost4asio2ip16resolver_serviceINS1_3tcpEED0Ev[_ZN5boost4asio2ip16resolver_serviceINS1_3tcpEED0Ev]+0x10c): undefined reference to pthread_detach' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::engine::~engine()':
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engineD2Ev[_ZN5boost4asio3ssl6detail6engineD5Ev]+0xa): undefined reference to SSL_get_ex_data' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engineD2Ev[_ZN5boost4asio3ssl6detail6engineD5Ev]+0x19): undefined reference toSSL_get_ex_data'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engineD2Ev[_ZN5boost4asio3ssl6detail6engineD5Ev]+0x33): undefined reference to SSL_set_ex_data' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engineD2Ev[_ZN5boost4asio3ssl6detail6engineD5Ev]+0x3c): undefined reference toBIO_free'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engineD2Ev[_ZN5boost4asio3ssl6detail6engineD5Ev]+0x45): undefined reference to SSL_free' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::engine::map_error_code(boost::system::error_code&) const':
sio_client_impl.cpp:(.text._ZNK5boost4asio3ssl6detail6engine14map_error_codeERNS_6system10error_codeE[_ZNK5boost4asio3ssl6detail6engine14map_error_codeERNS_6system10error_codeE]+0x83): undefined reference to BIO_ctrl' sio_client_impl.cpp:(.text._ZNK5boost4asio3ssl6detail6engine14map_error_codeERNS_6system10error_codeE[_ZNK5boost4asio3ssl6detail6engine14map_error_codeERNS_6system10error_codeE]+0x9a): undefined reference toSSL_get_shutdown'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::ssl::detail::engine::perform(int (boost::asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, boost::system::error_code&, unsigned long*)': sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm[_ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm]+0x27): undefined reference toBIO_ctrl_pending'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm[_ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm]+0x57): undefined reference to SSL_get_error' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm[_ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm]+0x5e): undefined reference toERR_get_error'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm[_ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm]+0x6a): undefined reference to BIO_ctrl_pending' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm[_ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm]+0xa4): undefined reference toSSL_get_shutdown'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm[_ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm]+0xad): undefined reference to boost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm[_ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm]+0x111): undefined reference toboost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm[_ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm]+0x159): undefined reference to boost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm[_ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm]+0x16d): undefined reference toboost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm[_ZN5boost4asio3ssl6detail6engine7performEMS3_FiPvmES4_mRNS_6system10error_codeEPm]+0x188): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZN5boost4asio6detail13epoll_reactor21deregister_descriptorEiRPNS2_16descriptor_stateEb[_ZN5boost4asio6detail13epoll_reactor21deregister_descriptorEiRPNS2_16descriptor_stateEb]+0x86): more undefined references toboost::system::system_category()' follow
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::ssl::context::~context()': sio_client_impl.cpp:(.text._ZN5boost4asio3ssl7contextD2Ev[_ZN5boost4asio3ssl7contextD5Ev]+0x32): undefined reference toSSL_CTX_get_ex_data'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl7contextD2Ev[_ZN5boost4asio3ssl7contextD5Ev]+0x41): undefined reference to SSL_CTX_get_ex_data' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl7contextD2Ev[_ZN5boost4asio3ssl7contextD5Ev]+0x5b): undefined reference toSSL_CTX_set_ex_data'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl7contextD2Ev[_ZN5boost4asio3ssl7contextD5Ev]+0x63): undefined reference to SSL_CTX_free' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionstd::_Sp_counted_ptr<boost::asio::ssl::context*, (__gnu_cxx::_Lock_policy)2>::_M_dispose()':
sio_client_impl.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl7contextELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl7contextELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x38): undefined reference to SSL_CTX_get_ex_data' sio_client_impl.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl7contextELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl7contextELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x47): undefined reference toSSL_CTX_get_ex_data'
sio_client_impl.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl7contextELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl7contextELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x61): undefined reference to SSL_CTX_set_ex_data' sio_client_impl.cpp:(.text._ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl7contextELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt15_Sp_counted_ptrIPN5boost4asio3ssl7contextELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x69): undefined reference toSSL_CTX_free'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >::cancel()': sio_client_impl.cpp:(.text._ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE6cancelEv[_ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE6cancelEv]+0x19): undefined reference toboost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE6cancelEv[_ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE6cancelEv]+0x8e): undefined reference to boost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE6cancelEv[_ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE6cancelEv]+0x11d): undefined reference toboost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE6cancelEv[_ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE6cancelEv]+0x131): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::detail::task_io_service::run(boost::system::error_code&)':
sio_client_impl.cpp:(.text._ZN5boost4asio6detail15task_io_service3runERNS_6system10error_codeE[_ZN5boost4asio6detail15task_io_service3runERNS_6system10error_codeE]+0x30): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZN5boost4asio6detail15task_io_service3runERNS_6system10error_codeE[_ZN5boost4asio6detail15task_io_service3runERNS_6system10error_codeE]+0x8d): more undefined references toboost::system::system_category()' follow
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::ip::resolver_service<boost::asio::ip::tcp>::fork_service(boost::asio::io_service::fork_event)': sio_client_impl.cpp:(.text._ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE12fork_serviceENS0_10io_service10fork_eventE[_ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE12fork_serviceENS0_10io_service10fork_eventE]+0x81): undefined reference topthread_create'
sio_client_impl.cpp:(.text._ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE12fork_serviceENS0_10io_service10fork_eventE[_ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE12fork_serviceENS0_10io_service10fork_eventE]+0x96): undefined reference to boost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE12fork_serviceENS0_10io_service10fork_eventE[_ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE12fork_serviceENS0_10io_service10fork_eventE]+0x186): undefined reference topthread_join'
sio_client_impl.cpp:(.text._ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE12fork_serviceENS0_10io_service10fork_eventE[_ZN5boost4asio2ip16resolver_serviceINS1_3tcpEE12fork_serviceENS0_10io_service10fork_eventE]+0x1a4): undefined reference to pthread_detach' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::io_service::io_service()':
sio_client_impl.cpp:(.text._ZN5boost4asio10io_serviceC2Ev[_ZN5boost4asio10io_serviceC5Ev]+0x2d): undefined reference to boost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio10io_serviceC2Ev[_ZN5boost4asio10io_serviceC5Ev]+0x92): undefined reference toboost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::io_service::service\* boost::asio::detail::service_registry::createboost::asio::ip::resolver_service<boost::asio::ip::tcp >(boost::asio::io_service&)': sio_client_impl.cpp:(.text._ZN5boost4asio6detail16service_registry6createINS0_2ip16resolver_serviceINS4_3tcpEEEEEPNS0_10io_service7serviceERS8_[_ZN5boost4asio6detail16service_registry6createINS0_2ip16resolver_serviceINS4_3tcpEEEEEPNS0_10io_service7serviceERS8_]+0x5a): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::detail::posix_thread::funcboost::asio::detail::resolver_service_base::work_io_service_runner::run()': sio_client_impl.cpp:(.text._ZN5boost4asio6detail12posix_thread4funcINS1_21resolver_service_base22work_io_service_runnerEE3runEv[_ZN5boost4asio6detail12posix_thread4funcINS1_21resolver_service_base22work_io_service_runnerEE3runEv]+0x11): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ip::detail::endpoint::to_string(boost::system::error_code&) const': sio_client_impl.cpp:(.text._ZNK5boost4asio2ip6detail8endpoint9to_stringERNS_6system10error_codeE[_ZNK5boost4asio2ip6detail8endpoint9to_stringERNS_6system10error_codeE]+0xd8): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZNK5boost4asio2ip6detail8endpoint9to_stringERNS_6system10error_codeE[_ZNK5boost4asio2ip6detail8endpoint9to_stringERNS_6system10error_codeE]+0x31c): more undefined references toboost::system::system_category()' follow /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::ssl::detail::stream_core::stream_core(ssl_ctx_st*, boost::asio::io_service&)':
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail11stream_coreC2EP10ssl_ctx_stRNS0_10io_serviceE[_ZN5boost4asio3ssl6detail11stream_coreC5EP10ssl_ctx_stRNS0_10io_serviceE]+0x14): undefined reference toSSL_new' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail11stream_coreC2EP10ssl_ctx_stRNS0_10io_serviceE[_ZN5boost4asio3ssl6detail11stream_coreC5EP10ssl_ctx_stRNS0_10io_serviceE]+0x38): undefined reference to SSL_ctrl'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail11stream_coreC2EP10ssl_ctx_stRNS0_10io_serviceE[_ZN5boost4asio3ssl6detail11stream_coreC5EP10ssl_ctx_stRNS0_10io_serviceE]+0x4c): undefined reference toSSL_ctrl' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail11stream_coreC2EP10ssl_ctx_stRNS0_10io_serviceE[_ZN5boost4asio3ssl6detail11stream_coreC5EP10ssl_ctx_stRNS0_10io_serviceE]+0x60): undefined reference to SSL_ctrl'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail11stream_coreC2EP10ssl_ctx_stRNS0_10io_serviceE[_ZN5boost4asio3ssl6detail11stream_coreC5EP10ssl_ctx_stRNS0_10io_serviceE]+0x78): undefined reference toBIO_new_bio_pair' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail11stream_coreC2EP10ssl_ctx_stRNS0_10io_serviceE[_ZN5boost4asio3ssl6detail11stream_coreC5EP10ssl_ctx_stRNS0_10io_serviceE]+0x87): undefined reference to SSL_set_bio'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail11stream_coreC2EP10ssl_ctx_stRNS0_10io_serviceE[_ZN5boost4asio3ssl6detail11stream_coreC5EP10ssl_ctx_stRNS0_10io_serviceE]+0x219): undefined reference toERR_get_error' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function std::_Sp_counted_ptr_inplace<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp > >, std::allocator<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp > > >, (__gnu_cxx::_Lock_policy)2>::_M_dispose()':
sio_client_impl.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x33): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x63): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x8b): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0xd5): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x101): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv[_ZNSt23_Sp_counted_ptr_inplaceIN5boost4asio3ssl6streamINS1_19basic_stream_socketINS1_2ip3tcpENS1_21stream_socket_serviceIS6_EEEEEESaISA_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv]+0x131): more undefined references to boost::system::system_category()' follow
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::shutdown_op, std::function<void (boost::system::error_code const&)> >::operator()(boost::system::error_code, unsigned long, int)': sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x117): undefined reference to BIO_ctrl_pending'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x124): undefined reference toSSL_shutdown' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x13a): undefined reference to SSL_get_error'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x143): undefined reference toERR_get_error' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x151): undefined reference to BIO_ctrl_pending'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x18c): undefined reference toSSL_get_shutdown' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x199): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x234): undefined reference toSSL_shutdown' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x2b1): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x33f): undefined reference toBIO_read' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x389): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x39f): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_11shutdown_opESt8functionIFvRKNS_6system10error_codeEEEEclESD_mi]+0x45b): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionwebsocketpp::transport::asio::connectionwebsocketpp::config::asio_tls_client::transport_config::handle_timer(std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, boost::system::error_code const&)': sio_client_impl.cpp:(.text._ZN11websocketpp9transport4asio10connectionINS_6config15asio_tls_client16transport_configEE12handle_timerESt10shared_ptrIN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS9_11wait_traitsISD_EENS9_22waitable_timer_serviceISD_SF_EEEEESt8functionIFvRKSt10error_codeEERKNS8_6system10error_codeE[_ZN11websocketpp9transport4asio10connectionINS_6config15asio_tls_client16transport_configEE12handle_timerESt10shared_ptrIN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS9_11wait_traitsISD_EENS9_22waitable_timer_serviceISD_SF_EEEEESt8functionIFvRKSt10error_codeEERKNS8_6system10error_codeE]+0x4e): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionwebsocketpp::transport::asio::connectionwebsocketpp::config::asio_tls_client::transport_config::init(std::function<void (std::error_code const&)>)': sio_client_impl.cpp:(.text._ZN11websocketpp9transport4asio10connectionINS_6config15asio_tls_client16transport_configEE4initESt8functionIFvRKSt10error_codeEE[_ZN11websocketpp9transport4asio10connectionINS_6config15asio_tls_client16transport_configEE4initESt8functionIFvRKSt10error_codeEE]+0x1d8): undefined reference to SSL_ctrl'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::async_result<boost::asio::handler_type<boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> >, void (boost::system::error_code, unsigned long)>::type>::type boost::asio::stream_socket_serviceboost::asio::ip::tcp::async_receive<boost::asio::mutable_buffers_1, boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> > >(boost::asio::detail::reactive_socket_serviceboost::asio::ip::tcp::implementation_type&, boost::asio::mutable_buffers_1 const&, int, boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> >&&)': sio_client_impl.cpp:(.text._ZN5boost4asio21stream_socket_serviceINS0_2ip3tcpEE13async_receiveINS0_17mutable_buffers_1ENS0_3ssl6detail5io_opINS0_19basic_stream_socketIS3_S4_EENS8_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISN_EST_St12_PlaceholderILi1EEEENSD_26is_continuation_if_runningEEEEEEENS0_12async_resultINS0_12handler_typeIT0_FvSV_mEE4typeEE4typeERNSD_23reactive_socket_serviceIS3_E19implementation_typeERKT_iOS1C_[_ZN5boost4asio21stream_socket_serviceINS0_2ip3tcpEE13async_receiveINS0_17mutable_buffers_1ENS0_3ssl6detail5io_opINS0_19basic_stream_socketIS3_S4_EENS8_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISN_EST_St12_PlaceholderILi1EEEENSD_26is_continuation_if_runningEEEEEEENS0_12async_resultINS0_12handler_typeIT0_FvSV_mEE4typeEE4typeERNSD_23reactive_socket_serviceIS3_E19implementation_typeERKT_iOS1C_]+0xcc): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::async_result<boost::asio::handler_type<boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> >, void (boost::system::error_code)>::type>::type boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >::async_wait<boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> > >(boost::asio::detail::deadline_timer_serviceboost::asio::time_traits<boost::posix_time::ptime >::implementation_type&, boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> >&&)': sio_client_impl.cpp:(.text._ZN5boost4asio22deadline_timer_serviceINS_10posix_time5ptimeENS0_11time_traitsIS3_EEE10async_waitINS0_3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceISD_EEEENS9_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISS_ESY_St12_PlaceholderILi1EEEENSI_26is_continuation_if_runningEEEEEEENS0_12async_resultINS0_12handler_typeIT_FvS10_EE4typeEE4typeERNSI_22deadline_timer_serviceIS5_E19implementation_typeEOS1H_[_ZN5boost4asio22deadline_timer_serviceINS_10posix_time5ptimeENS0_11time_traitsIS3_EEE10async_waitINS0_3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceISD_EEEENS9_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISS_ESY_St12_PlaceholderILi1EEEENSI_26is_continuation_if_runningEEEEEEENS0_12async_resultINS0_12handler_typeIT_FvS10_EE4typeEE4typeERNSI_22deadline_timer_serviceIS5_E19implementation_typeEOS1H_]+0x97): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::async_result<boost::asio::handler_type<boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)> >, void (boost::system::error_code, unsigned long)>::type>::type boost::asio::stream_socket_serviceboost::asio::ip::tcp::async_receive<boost::asio::mutable_buffers_1, boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)> > >(boost::asio::detail::reactive_socket_serviceboost::asio::ip::tcp::implementation_type&, boost::asio::mutable_buffers_1 const&, int, boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)> >&&)': sio_client_impl.cpp:(.text._ZN5boost4asio21stream_socket_serviceINS0_2ip3tcpEE13async_receiveINS0_17mutable_buffers_1ENS0_3ssl6detail5io_opINS0_19basic_stream_socketIS3_S4_EENS8_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISJ_ESP_St12_PlaceholderILi1EEEEEEEENS0_12async_resultINS0_12handler_typeIT0_FvSR_mEE4typeEE4typeERNS0_6detail23reactive_socket_serviceIS3_E19implementation_typeERKT_iOS16_[_ZN5boost4asio21stream_socket_serviceINS0_2ip3tcpEE13async_receiveINS0_17mutable_buffers_1ENS0_3ssl6detail5io_opINS0_19basic_stream_socketIS3_S4_EENS8_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISJ_ESP_St12_PlaceholderILi1EEEEEEEENS0_12async_resultINS0_12handler_typeIT0_FvSR_mEE4typeEE4typeERNS0_6detail23reactive_socket_serviceIS3_E19implementation_typeERKT_iOS16_]+0x197): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::async_result<boost::asio::handler_type<boost::asio::detail::connect_op<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp>, boost::asio::ip::basic_resolver_iteratorboost::asio::ip::tcp, boost::asio::detail::default_connect_condition, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::endpoint<websocketpp::config::asio_tls_client::transport_config>::_)(std::shared_ptrwebsocketpp::transport::asio::connection<websocketpp::config::asio_tls_client::transport_config >, std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, boost::system::error_code const&)> (websocketpp::transport::asio::endpointwebsocketpp::config::asio_tls_client::transport_config_, std::shared_ptrwebsocketpp::transport::asio::connection<websocketpp::config::asio_tls_client::transport_config >, std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> >, void (boost::system::error_code)>::type>::type boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >::async_connect<boost::asio::detail::connect_op<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp>, boost::asio::ip::basic_resolver_iteratorboost::asio::ip::tcp, boost::asio::detail::default_connect_condition, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::endpoint<websocketpp::config::asio_tls_client::transport_config>::_)(std::shared_ptrwebsocketpp::transport::asio::connection<websocketpp::config::asio_tls_client::transport_config >, std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, boost::system::error_code const&)> (websocketpp::transport::asio::endpointwebsocketpp::config::asio_tls_client::transport_config_, std::shared_ptrwebsocketpp::transport::asio::connection<websocketpp::config::asio_tls_client::transport_config >, std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> > >(boost::asio::ip::basic_endpointboost::asio::ip::tcp const&, boost::asio::detail::connect_op<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp>, boost::asio::ip::basic_resolver_iteratorboost::asio::ip::tcp, boost::asio::detail::default_connect_condition, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::endpoint<websocketpp::config::asio_tls_client::transport_config>::_)(std::shared_ptrwebsocketpp::transport::asio::connection<websocketpp::config::asio_tls_client::transport_config >, std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, boost::system::error_code const&)> (websocketpp::transport::asio::endpointwebsocketpp::config::asio_tls_client::transport_config_, std::shared_ptrwebsocketpp::transport::asio::connection<websocketpp::config::asio_tls_client::transport_config >, std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> >&&)': sio_client_impl.cpp:(.text._ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE13async_connectINS0_6detail10connect_opIS3_S5_NS2_23basic_resolver_iteratorIS3_EENS8_25default_connect_conditionENS8_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSI_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSK_10connectionISO_EEESQ_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISX_EENS0_22waitable_timer_serviceISX_SZ_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEEPSP_ST_S13_S19_St12_PlaceholderILi1EEEENS8_26is_continuation_if_runningEEEEEEENS0_12async_resultINS0_12handler_typeIT_FvS1B_EE4typeEE4typeERKNS2_14basic_endpointIS3_EEOS1R_[_ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE13async_connectINS0_6detail10connect_opIS3_S5_NS2_23basic_resolver_iteratorIS3_EENS8_25default_connect_conditionENS8_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSI_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSK_10connectionISO_EEESQ_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISX_EENS0_22waitable_timer_serviceISX_SZ_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEEPSP_ST_S13_S19_St12_PlaceholderILi1EEEENS8_26is_continuation_if_runningEEEEEEENS0_12async_resultINS0_12handler_typeIT_FvS1B_EE4typeEE4typeERKNS2_14basic_endpointIS3_EEOS1R_]+0xf2): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text.ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE13async_connectINS0_6detail10connect_opIS3_S5_NS2_23basic_resolver_iteratorIS3_EENS8_25default_connect_conditionENS8_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSI_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSK_10connectionISO_EEESQ_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISX_EENS0_22waitable_timer_serviceISX_SZ_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEEPSP_ST_S13_S19_St12_PlaceholderILi1EEEENS8_26is_continuation_if_runningEEEEEEENS0_12async_resultINS0_12handler_typeIT_FvS1B_EE4typeEE4typeERKNS2_14basic_endpointIS3_EEOS1R[ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE13async_connectINS0_6detail10connect_opIS3_S5_NS2_23basic_resolver_iteratorIS3_EENS8_25default_connect_conditionENS8_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSI_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSK_10connectionISO_EEESQ_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISX_EENS0_22waitable_timer_serviceISX_SZ_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEEPSP_ST_S13_S19_St12_PlaceholderILi1EEEENS8_26is_continuation_if_runningEEEEEEENS0_12async_resultINS0_12handler_typeIT_FvS1B_EE4typeEE4typeERKNS2_14basic_endpointIS3_EEOS1R]+0x174): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE13async_connectINS0_6detail10connect_opIS3_S5_NS2_23basic_resolver_iteratorIS3_EENS8_25default_connect_conditionENS8_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSI_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSK_10connectionISO_EEESQ_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISX_EENS0_22waitable_timer_serviceISX_SZ_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEEPSP_ST_S13_S19_St12_PlaceholderILi1EEEENS8_26is_continuation_if_runningEEEEEEENS0_12async_resultINS0_12handler_typeIT_FvS1B_EE4typeEE4typeERKNS2_14basic_endpointIS3_EEOS1R_[_ZN5boost4asio12basic_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS3_EEE13async_connectINS0_6detail10connect_opIS3_S5_NS2_23basic_resolver_iteratorIS3_EENS8_25default_connect_conditionENS8_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSI_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSK_10connectionISO_EEESQ_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISX_EENS0_22waitable_timer_serviceISX_SZ_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEEPSP_ST_S13_S19_St12_PlaceholderILi1EEEENS8_26is_continuation_if_runningEEEEEEENS0_12async_resultINS0_12handler_typeIT_FvS1B_EE4typeEE4typeERKNS2_14basic_endpointIS3_EEOS1R_]+0x18c): more undefined references to boost::system::system_category()' follow
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> >::operator()(boost::system::error_code, unsigned long, int)': sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISL_ESR_St12_PlaceholderILi1EEEENSB_26is_continuation_if_runningEEEEclEST_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISL_ESR_St12_PlaceholderILi1EEEENSB_26is_continuation_if_runningEEEEclEST_mi]+0x332): undefined reference to BIO_write'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISL_ESR_St12_PlaceholderILi1EEEENSB_26is_continuation_if_runningEEEEclEST_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISL_ESR_St12_PlaceholderILi1EEEENSB_26is_continuation_if_runningEEEEclEST_mi]+0x407): undefined reference toBIO_read' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISL_ESR_St12_PlaceholderILi1EEEENSB_26is_continuation_if_runningEEEEclEST_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISL_ESR_St12_PlaceholderILi1EEEENSB_26is_continuation_if_runningEEEEclEST_mi]+0x446): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISL_ESR_St12_PlaceholderILi1EEEENSB_26is_continuation_if_runningEEEEclEST_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opENS0_6detail15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISL_ESR_St12_PlaceholderILi1EEEENSB_26is_continuation_if_runningEEEEclEST_mi]+0x5ac): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp >, boost::asio::ssl::detail::handshake_op, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)>, boost::asio::detail::is_continuation_if_running> > >::operator()(boost::system::error_code const&, unsigned long, int)':
sio_client_impl.cpp:(.text._ZN5boost4asio6detail8write_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS5_EEEENS0_17mutable_buffers_1ENS1_14transfer_all_tENS0_3ssl6detail5io_opIS8_NSC_12handshake_opENS1_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISO_ESU_St12_PlaceholderILi1EEEENS1_26is_continuation_if_runningEEEEEEclESY_mi[_ZN5boost4asio6detail8write_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS5_EEEENS0_17mutable_buffers_1ENS1_14transfer_all_tENS0_3ssl6detail5io_opIS8_NSC_12handshake_opENS1_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISO_ESU_St12_PlaceholderILi1EEEENS1_26is_continuation_if_runningEEEEEEclESY_mi]+0x12b): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp >, boost::asio::ssl::detail::handshake_op, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::
)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)> >::operator()(boost::system::error_code, unsigned long, int)':
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISH_ESN_St12_PlaceholderILi1EEEEEclESP_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISH_ESN_St12_PlaceholderILi1EEEEEclESP_mi]+0x282): undefined reference toBIO_write' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISH_ESN_St12_PlaceholderILi1EEEEEclESP_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISH_ESN_St12_PlaceholderILi1EEEEEclESP_mi]+0x357): undefined reference to BIO_read'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISH_ESN_St12_PlaceholderILi1EEEEEclESP_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISH_ESN_St12_PlaceholderILi1EEEEEclESP_mi]+0x396): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISH_ESN_St12_PlaceholderILi1EEEEEclESP_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISH_ESN_St12_PlaceholderILi1EEEEEclESP_mi]+0x4ff): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::handshake_op, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::tls_socket::connection::*)(std::function<void (std::error_code const&)>, boost::system::error_code const&)> (std::shared_ptrwebsocketpp::transport::asio::tls_socket::connection, std::function<void (std::error_code const&)>, std::_Placeholder<1>)> > >::operator()(boost::system::error_code const&, unsigned long, int)': sio_client_impl.cpp:(.text._ZN5boost4asio6detail8write_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS5_EEEENS0_17mutable_buffers_1ENS1_14transfer_all_tENS0_3ssl6detail5io_opIS8_NSC_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISL_ESR_St12_PlaceholderILi1EEEEEEEclESV_mi[_ZN5boost4asio6detail8write_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS5_EEEENS0_17mutable_buffers_1ENS1_14transfer_all_tENS0_3ssl6detail5io_opIS8_NSC_12handshake_opESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISL_ESR_St12_PlaceholderILi1EEEEEEEclESV_mi]+0x222): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionwebsocketpp::transport::asio::tls_socket::connection::post_init(std::function<void (std::error_code const&)>)': sio_client_impl.cpp:(.text._ZN11websocketpp9transport4asio10tls_socket10connection9post_initESt8functionIFvRKSt10error_codeEE[_ZN11websocketpp9transport4asio10tls_socket10connection9post_initESt8functionIFvRKSt10error_codeEE]+0xf6): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN11websocketpp9transport4asio10tls_socket10connection9post_initESt8functionIFvRKSt10error_codeEE[_ZN11websocketpp9transport4asio10tls_socket10connection9post_initESt8functionIFvRKSt10error_codeEE]+0x143): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZN11websocketpp9transport4asio10tls_socket10connection9post_initESt8functionIFvRKSt10error_codeEE[_ZN11websocketpp9transport4asio10tls_socket10connection9post_initESt8functionIFvRKSt10error_codeEE]+0x2a2): more undefined references to boost::system::system_category()' follow
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionvoid boost::asio::detail::resolver_serviceboost::asio::ip::tcp::async_resolve<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::endpoint<websocketpp::config::asio_tls_client::transport_config>::_)(std::shared_ptrwebsocketpp::transport::asio::connection<websocketpp::config::asio_tls_client::transport_config >, std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, boost::system::error_code const&, boost::asio::ip::basic_resolver_iteratorboost::asio::ip::tcp)> (websocketpp::transport::asio::endpointwebsocketpp::config::asio_tls_client::transport_config_, std::shared_ptrwebsocketpp::transport::asio::connection<websocketpp::config::asio_tls_client::transport_config >, std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)>, boost::asio::detail::is_continuation_if_running> >(std::shared_ptr<void>&, boost::asio::ip::basic_resolver_queryboost::asio::ip::tcp const&, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, std::_Bind<std::_Mem_fn<void (websocketpp::transport::asio::endpoint<websocketpp::config::asio_tls_client::transport_config>::_)(std::shared_ptrwebsocketpp::transport::asio::connection<websocketpp::config::asio_tls_client::transport_config >, std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, boost::system::error_code const&, boost::asio::ip::basic_resolver_iteratorboost::asio::ip::tcp)> (websocketpp::transport::asio::endpointwebsocketpp::config::asio_tls_client::transport_config_, std::shared_ptrwebsocketpp::transport::asio::connection<websocketpp::config::asio_tls_client::transport_config >, std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, std::_Placeholder<1>, std::_Placeholder<2>)>, boost::asio::detail::is_continuation_if_running>&)': sio_client_impl.cpp:(.text._ZN5boost4asio6detail16resolver_serviceINS0_2ip3tcpEE13async_resolveINS1_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSC_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSE_10connectionISI_EEESK_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISR_EENS0_22waitable_timer_serviceISR_ST_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeENS3_23basic_resolver_iteratorIS4_EEEEPSJ_SN_SX_S13_St12_PlaceholderILi1EES1E_ILi2EEEENS1_26is_continuation_if_runningEEEEEvRSK_IvERKNS3_20basic_resolver_queryIS4_EERT_[_ZN5boost4asio6detail16resolver_serviceINS0_2ip3tcpEE13async_resolveINS1_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSC_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSE_10connectionISI_EEESK_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISR_EENS0_22waitable_timer_serviceISR_ST_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeENS3_23basic_resolver_iteratorIS4_EEEEPSJ_SN_SX_S13_St12_PlaceholderILi1EES1E_ILi2EEEENS1_26is_continuation_if_runningEEEEEvRSK_IvERKNS3_20basic_resolver_queryIS4_EERT_]+0x2bc): undefined reference to pthread_create'
sio_client_impl.cpp:(.text.ZN5boost4asio6detail16resolver_serviceINS0_2ip3tcpEE13async_resolveINS1_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSC_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSE_10connectionISI_EEESK_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISR_EENS0_22waitable_timer_serviceISR_ST_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeENS3_23basic_resolver_iteratorIS4_EEEEPSJ_SN_SX_S13_St12_PlaceholderILi1EES1E_ILi2EEEENS1_26is_continuation_if_runningEEEEEvRSK_IvERKNS3_20basic_resolver_queryIS4_EERT[ZN5boost4asio6detail16resolver_serviceINS0_2ip3tcpEE13async_resolveINS1_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSC_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSE_10connectionISI_EEESK_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISR_EENS0_22waitable_timer_serviceISR_ST_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeENS3_23basic_resolver_iteratorIS4_EEEEPSJ_SN_SX_S13_St12_PlaceholderILi1EES1E_ILi2EEEENS1_26is_continuation_if_runningEEEEEvRSK_IvERKNS3_20basic_resolver_queryIS4_EERT]+0x2d2): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio6detail16resolver_serviceINS0_2ip3tcpEE13async_resolveINS1_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSC_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSE_10connectionISI_EEESK_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISR_EENS0_22waitable_timer_serviceISR_ST_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeENS3_23basic_resolver_iteratorIS4_EEEEPSJ_SN_SX_S13_St12_PlaceholderILi1EES1E_ILi2EEEENS1_26is_continuation_if_runningEEEEEvRSK_IvERKNS3_20basic_resolver_queryIS4_EERT_[_ZN5boost4asio6detail16resolver_serviceINS0_2ip3tcpEE13async_resolveINS1_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio8endpointINSC_6config15asio_tls_client16transport_configEEEFvSt10shared_ptrINSE_10connectionISI_EEESK_INS0_20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsISR_EENS0_22waitable_timer_serviceISR_ST_EEEEESt8functionIFvRKSt10error_codeEERKNS_6system10error_codeENS3_23basic_resolver_iteratorIS4_EEEEPSJ_SN_SX_S13_St12_PlaceholderILi1EES1E_ILi2EEEENS1_26is_continuation_if_runningEEEEEvRSK_IvERKNS3_20basic_resolver_queryIS4_EERT_]+0x325): undefined reference to pthread_detach'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionunsigned long boost::asio::detail::epoll_reactor::cancel_timer<boost::asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > >(boost::asio::detail::timer_queue<boost::asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > >&, boost::asio::detail::timer_queue<boost::asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > >::per_timer_data&, unsigned long)': sio_client_impl.cpp:(.text._ZN5boost4asio6detail13epoll_reactor12cancel_timerINS1_18chrono_time_traitsINSt6chrono3_V212steady_clockENS0_11wait_traitsIS7_EEEEEEmRNS1_11timer_queueIT_EERNSD_14per_timer_dataEm[_ZN5boost4asio6detail13epoll_reactor12cancel_timerINS1_18chrono_time_traitsINSt6chrono3_V212steady_clockENS0_11wait_traitsIS7_EEEEEEmRNS1_11timer_queueIT_EERNSD_14per_timer_dataEm]+0x7a): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > >::cancel()': sio_client_impl.cpp:(.text._ZN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsIS4_EENS0_22waitable_timer_serviceIS4_S6_EEE6cancelEv[_ZN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsIS4_EENS0_22waitable_timer_serviceIS4_S6_EEE6cancelEv]+0x11): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsIS4_EENS0_22waitable_timer_serviceIS4_S6_EEE6cancelEv[_ZN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsIS4_EENS0_22waitable_timer_serviceIS4_S6_EEE6cancelEv]+0x43): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsIS4_EENS0_22waitable_timer_serviceIS4_S6_EEE6cancelEv[_ZN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS0_11wait_traitsIS4_EENS0_22waitable_timer_serviceIS4_S6_EEE6cancelEv]+0x59): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionwebsocketpp::transport::asio::connectionwebsocketpp::config::asio_tls_client::transport_config::handle_async_shutdown(std::shared_ptr<boost::asio::basic_waitable_timer<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock>, boost::asio::waitable_timer_service<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > > >, std::function<void (std::error_code const&)>, boost::system::error_code const&)': sio_client_impl.cpp:(.text._ZN11websocketpp9transport4asio10connectionINS_6config15asio_tls_client16transport_configEE21handle_async_shutdownESt10shared_ptrIN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS9_11wait_traitsISD_EENS9_22waitable_timer_serviceISD_SF_EEEEESt8functionIFvRKSt10error_codeEERKNS8_6system10error_codeE[_ZN11websocketpp9transport4asio10connectionINS_6config15asio_tls_client16transport_configEE21handle_async_shutdownESt10shared_ptrIN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS9_11wait_traitsISD_EENS9_22waitable_timer_serviceISD_SF_EEEEESt8functionIFvRKSt10error_codeEERKNS8_6system10error_codeE]+0x19): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZN11websocketpp9transport4asio10connectionINS_6config15asio_tls_client16transport_configEE21handle_async_shutdownESt10shared_ptrIN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS9_11wait_traitsISD_EENS9_22waitable_timer_serviceISD_SF_EEEEESt8functionIFvRKSt10error_codeEERKNS8_6system10error_codeE[_ZN11websocketpp9transport4asio10connectionINS_6config15asio_tls_client16transport_configEE21handle_async_shutdownESt10shared_ptrIN5boost4asio20basic_waitable_timerINSt6chrono3_V212steady_clockENS9_11wait_traitsISD_EENS9_22waitable_timer_serviceISD_SF_EEEEESt8functionIFvRKSt10error_codeEERKNS8_6system10error_codeE]+0x72): more undefined references toboost::system::system_category()' follow /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp >, boost::asio::ssl::detail::write_op<boost::asio::detail::consuming_buffers<boost::asio::const_buffer, std::vector<boost::asio::const_buffer, std::allocatorboost::asio::const_buffer > > >, boost::asio::detail::write_op<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp > >, std::vector<boost::asio::const_buffer, std::allocatorboost::asio::const_buffer >, boost::asio::detail::transfer_all_t, websocketpp::transport::asio::custom_alloc_handler<std::function<void (boost::system::error_code const&, unsigned long)> > > >::operator()(boost::system::error_code, unsigned long, int)':
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_8write_opINS0_6detail17consuming_buffersINS0_12const_bufferESt6vectorISD_SaISD_EEEEEENSB_8write_opINS1_6streamIS9_EESG_NSB_14transfer_all_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclEST_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_8write_opINS0_6detail17consuming_buffersINS0_12const_bufferESt6vectorISD_SaISD_EEEEEENSB_8write_opINS1_6streamIS9_EESG_NSB_14transfer_all_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclEST_mi]+0x3c7): undefined reference toBIO_read' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_8write_opINS0_6detail17consuming_buffersINS0_12const_bufferESt6vectorISD_SaISD_EEEEEENSB_8write_opINS1_6streamIS9_EESG_NSB_14transfer_all_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclEST_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_8write_opINS0_6detail17consuming_buffersINS0_12const_bufferESt6vectorISD_SaISD_EEEEEENSB_8write_opINS1_6streamIS9_EESG_NSB_14transfer_all_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclEST_mi]+0x4f9): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::detail::write_op<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > >, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> >, boost::asio::detail::transfer_all_t, websocketpp::transport::asio::custom_alloc_handler<std::function<void (boost::system::error_code const&, unsigned long)> > >::operator()(boost::system::error_code const&, unsigned long, int)': sio_client_impl.cpp:(.text._ZN5boost4asio6detail8write_opINS0_3ssl6streamINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS7_EEEEEESt6vectorINS0_12const_bufferESaISD_EENS1_14transfer_all_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEclESP_mi[_ZN5boost4asio6detail8write_opINS0_3ssl6streamINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS7_EEEEEESt6vectorINS0_12const_bufferESaISD_EENS1_14transfer_all_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEclESP_mi]+0xf1): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text.ZN5boost4asio6detail8write_opINS0_3ssl6streamINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS7_EEEEEESt6vectorINS0_12const_bufferESaISD_EENS1_14transfer_all_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEclESP_mi[ZN5boost4asio6detail8write_opINS0_3ssl6streamINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS7_EEEEEESt6vectorINS0_12const_bufferESaISD_EENS1_14transfer_all_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEclESP_mi]+0x142): undefined reference toboost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function boost::asio::async_result<boost::asio::handler_type<websocketpp::transport::asio::custom_alloc_handler<std::function<void (boost::system::error_code const&, unsigned long)> >, void (boost::system::error_code, unsigned long)>::type>::type boost::asio::async_write<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp > >, std::vector<boost::asio::const_buffer, std::allocatorboost::asio::const_buffer >, websocketpp::transport::asio::custom_alloc_handler<std::function<void (boost::system::error_code const&, unsigned long)> > >(boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp > >&, std::vector<boost::asio::const_buffer, std::allocatorboost::asio::const_buffer > const&, websocketpp::transport::asio::custom_alloc_handler<std::function<void (boost::system::error_code const&, unsigned long)> >&&)':
sio_client_impl.cpp:(.text.ZN5boost4asio11async_writeINS0_3ssl6streamINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEEEESt6vectorINS0_12const_bufferESaISC_EEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEENS0_12async_resultINS0_12handler_typeIT1_FvSL_mEE4typeEE4typeERT_RKT0_OST[ZN5boost4asio11async_writeINS0_3ssl6streamINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEEEESt6vectorINS0_12const_bufferESaISC_EEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEENS0_12async_resultINS0_12handler_typeIT1_FvSL_mEE4typeEE4typeERT_RKT0_OST]+0x79): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::detail::reactive_socket_send_op<boost::asio::mutable_buffers_1, boost::asio::detail::write_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp >, boost::asio::ssl::detail::write_op<boost::asio::detail::consuming_buffers<boost::asio::const_buffer, std::vector<boost::asio::const_buffer, std::allocatorboost::asio::const_buffer > > >, boost::asio::detail::write_op<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_serviceboost::asio::ip::tcp > >, std::vector<boost::asio::const_buffer, std::allocatorboost::asio::const_buffer >, boost::asio::detail::transfer_all_t, websocketpp::transport::asio::custom_alloc_handler<std::function<void (boost::system::error_code const&, unsigned long)> > > > > >::do_complete(boost::asio::detail::task_io_service
, boost::asio::detail::task_io_service_operation
, boost::system::error_code const&, unsigned long)':
sio_client_impl.cpp:(.text._ZN5boost4asio6detail23reactive_socket_send_opINS0_17mutable_buffers_1ENS1_8write_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS7_EEEES3_NS1_14transfer_all_tENS0_3ssl6detail5io_opISA_NSD_8write_opINS1_17consuming_buffersINS0_12const_bufferESt6vectorISH_SaISH_EEEEEENS4_INSC_6streamISA_EESK_SB_N11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEEEEE11do_completeEPNS1_15task_io_serviceEPNS1_25task_io_service_operationESX_m[_ZN5boost4asio6detail23reactive_socket_send_opINS0_17mutable_buffers_1ENS1_8write_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS7_EEEES3_NS1_14transfer_all_tENS0_3ssl6detail5io_opISA_NSD_8write_opINS1_17consuming_buffersINS0_12const_bufferESt6vectorISH_SaISH_EEEEEENS4_INSC_6streamISA_EESK_SB_N11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEEEEE11do_completeEPNS1_15task_io_serviceEPNS1_25task_io_service_operationESX_m]+0x2e4): undefined reference to boost::system::system_category()' /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZN5boost4asio6detail14strand_service8dispatchINS1_17rewrapped_handlerINS1_7binder2INS1_8write_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS9_EEEENS0_17mutable_buffers_1ENS1_14transfer_all_tENS0_3ssl6detail5io_opISC_NSG_12handshake_opENS1_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISS_ESY_St12_PlaceholderILi1EEEENS1_26is_continuation_if_runningEEEEEEES10_mEES1B_EEEEvRPNS2_11strand_implERT_[_ZN5boost4asio6detail14strand_service8dispatchINS1_17rewrapped_handlerINS1_7binder2INS1_8write_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS9_EEEENS0_17mutable_buffers_1ENS1_14transfer_all_tENS0_3ssl6detail5io_opISC_NSG_12handshake_opENS1_15wrapped_handlerINS0_10io_service6strandESt5_BindIFSt7_Mem_fnIMN11websocketpp9transport4asio10tls_socket10connectionEFvSt8functionIFvRKSt10error_codeEERKNS_6system10error_codeEEESt10shared_ptrISS_ESY_St12_PlaceholderILi1EEEENS1_26is_continuation_if_runningEEEEEEES10_mEES1B_EEEEvRPNS2_11strand_implERT_]+0x1ba): more undefined references to boost::system::system_category()' follow
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::ssl::detail::read_opboost::asio::mutable_buffers_1, boost::asio::detail::read_op<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_at_least_t, websocketpp::transport::asio::custom_alloc_handler<std::function<void (boost::system::error_code const&, unsigned long)> > > >::operator()(boost::system::error_code, unsigned long, int)': sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x102): undefined reference to BIO_ctrl_pending'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x124): undefined reference toSSL_read' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x132): undefined reference to SSL_get_error'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x13a): undefined reference toERR_get_error' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x148): undefined reference to BIO_ctrl_pending'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x194): undefined reference toSSL_get_shutdown' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x1a1): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x201): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x2b5): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x350): undefined reference toBIO_write' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x449): undefined reference to BIO_read'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x4b1): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x4c9): undefined reference to boost::system::system_category()'
sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x62b): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text._ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi[_ZN5boost4asio3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS6_EEEENS2_7read_opINS0_17mutable_buffers_1EEENS0_6detail7read_opINS1_6streamIS9_EESB_NSD_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEEEclESO_mi]+0x6e9): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In functionboost::asio::detail::read_op<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> > >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_at_least_t, websocketpp::transport::asio::custom_alloc_handler<std::function<void (boost::system::error_code const&, unsigned long)> > >::operator()(boost::system::error_code const&, unsigned long, int)': sio_client_impl.cpp:(.text._ZN5boost4asio6detail7read_opINS0_3ssl6streamINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS7_EEEEEENS0_17mutable_buffers_1ENS1_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEclESM_mi[_ZN5boost4asio6detail7read_opINS0_3ssl6streamINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS7_EEEEEENS0_17mutable_buffers_1ENS1_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEclESM_mi]+0xdd): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o):sio_client_impl.cpp:(.text._ZN5boost4asio6detail7read_opINS0_3ssl6streamINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS7_EEEEEENS0_17mutable_buffers_1ENS1_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEclESM_mi[_ZN5boost4asio6detail7read_opINS0_3ssl6streamINS0_19basic_stream_socketINS0_2ip3tcpENS0_21stream_socket_serviceIS7_EEEEEENS0_17mutable_buffers_1ENS1_19transfer_at_least_tEN11websocketpp9transport4asio20custom_alloc_handlerISt8functionIFvRKNS_6system10error_codeEmEEEEEclESM_mi]+0x124): more undefined references toboost::system::system_category()' follow /home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client_impl.cpp.o): In function _GLOBAL__sub_I__ZN3sio11client_implC2Ev':
sio_client_impl.cpp:(.text.startup+0xe1): undefined reference toboost::system::generic_category()' sio_client_impl.cpp:(.text.startup+0xed): undefined reference to boost::system::generic_category()'
sio_client_impl.cpp:(.text.startup+0xf9): undefined reference toboost::system::system_category()' sio_client_impl.cpp:(.text.startup+0x105): undefined reference to boost::system::system_category()'
/home/parallels/socket.io-client-cpp/build/lib/Release/libsioclient_tls.a(sio_client.cpp.o): In function_GLOBAL__sub_I__ZN3sio6clientC2Ev': sio_client.cpp:(.text.startup+0xe1): undefined reference to boost::system::generic_category()'
sio_client.cpp:(.text.startup+0xed): undefined reference toboost::system::generic_category()' sio_client.cpp:(.text.startup+0xf9): undefined reference to boost::system::system_category()'
sio_client.cpp:(.text.startup+0x105): undefined reference to`boost::system::system_category()'
collect2: error: ld returned 1 exit status
make: *** [webrtcsocketiotest] Error 1

error message on successful emit

Hi, I am working with a modified console example with SIO_TLS. The emit works and is received on the server side, but I am noticing a message every time I emit, I also get the console message;

ping exit,con is expired?0,ec:The I/O operation has been aborted because of either 
a thread exit or an application request

The message comes from within client_impl::ping would this be related to ping interval or ping timeout setting? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.