Is there a fix for Compiles Error on Mac?

+1 vote
MacOS High Sierra 10.13.3

multichain-1.0.x-mac-fix

 

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been
      explicitly marked deprecated herevoid    OSMemoryBarrier( void );
        ^
rpc/rpcserver.cpp:551:49: error: too many template arguments for class template 'basic_socket_acceptor'
static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
                                                ^                               ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: template is declared here
class basic_socket_acceptor
      ^
rpc/rpcserver.cpp:561:42: error: too many template arguments for class template 'basic_socket_acceptor'
static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
                                         ^                               ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: template is declared here
class basic_socket_acceptor
      ^
rpc/rpcserver.cpp:584:49: error: too many template arguments for class template 'basic_socket_acceptor'
static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
                                                ^                               ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: template is declared here
class basic_socket_acceptor
      ^
rpc/rpcserver.cpp:681:27: error: no matching constructor for initialization of 'ssl::context'
    rpc_ssl_context = new ssl::context(*rpc_io_service, ssl::context::sslv23);
                          ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/asio/ssl/impl/context.ipp:63:10: note: candidate constructor not viable: requires single argument 'm', but 2 arguments were provided
context::context(context::method m)
         ^
/usr/local/include/boost/asio/ssl/context.hpp:36:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
class context
      ^
rpc/rpcserver.cpp:700:50: error: no member named 'impl' in 'boost::asio::ssl::context'
        SSL_CTX_set_cipher_list(rpc_ssl_context->impl(), strCiphers.c_str());
                                ~~~~~~~~~~~~~~~  ^
rpc/rpcserver.cpp:760:13: error: no matching function for call to 'RPCListen'
            RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
            ^~~~~~~~~
2 warnings and 6 errors generated.
make[1]: *** [rpc/libbitcoin_server_a-rpcserver.o] Error 1
make: *** [all-recursive] Error 1
asked Apr 5, 2018 by rogerwarburton

1 Answer

+1 vote
boostdb? what ver?
answered Apr 20, 2018 by aseriousgogetta
...