compile 0.11.1 error on Ubuntu 12.04 with boost 1.58 #7285

issue cqtenq opened this issue on January 4, 2016
  1. cqtenq commented at 12:36 PM on January 4, 2016: contributor

    When I compile core 0.11.1, I'm getting a error ," SSLv3_method?.has not been declared"

    CXX bitcoind-bitcoind.o In file included from /usr/include/boost/asio/ssl/context.hpp:786:0, from /usr/include/boost/asio/ssl.hpp:19, from rpcprotocol.h:16, from rpcserver.h:10, from bitcoind.cpp:7: /usr/include/boost/asio/ssl/impl/context.ipp: In constructor ?.oost::asio::ssl::context::context(boost::asio::ssl::context_base::method)?. /usr/include/boost/asio/ssl/impl/context.ipp:93:29: error: ?.:SSLv3_method?.has not been declared /usr/include/boost/asio/ssl/impl/context.ipp:96:29: error: ?.:SSLv3_client_method?.has not been declared /usr/include/boost/asio/ssl/impl/context.ipp:99:29: error: ?.:SSLv3_server_method?.has not been declared bitcoind.cpp: In function ?.ool AppInit(int, char)?. bitcoind.cpp:68:30: warning: format ?.s?.expects argument of type ?.har*?. but argument 2 has type ?.har?.[-Wformat] make[2]: *** [bitcoind-bitcoind.o] Error 1

  2. jonasschnelli commented at 1:02 PM on January 4, 2016: contributor

    This looks like a boost issue. How did you install boost (manually compiled)?

  3. unsystemizer commented at 1:47 PM on January 4, 2016: contributor

    This was fixed in boost v1.58. Maybe you're not using v1.58 (e.g. have < 1.58 as well).

  4. laanwj commented at 11:24 AM on January 5, 2016: member

    Seems like a conflict between openssl and boost versions / compile options. SSLv3_method was probably deprecated/removed for security reasons and your version of boost still assumes it present. Also suggest upgrading boost.

    As this happens outside of the bitcoin core source base there's nothing that we can do here. (however: compiling with master/0.12 will likely not run into this error as it no longer uses boost asio)

  5. laanwj closed this on Jan 5, 2016

  6. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 09:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me