Feel free to skip to the good stuff. First, I want to thank Pascal Stumpf, Ted
Unangst, and Remi Pointel for replying to my last message.
P. Stumpf included a port of bitcoind to OpenBSD, but it did not compile on my
Sparc64 machine because it included Intel's SSE2 ( -DFOURWAYSSE2 ).
T. Unangst and R. Pointel both pointed out obvious and helpful facts.
Ld was unable to find boost_system-mt or any other boost lib because they had
a different name. So boost_system-mt became boost_system-gcc42-mt for all the
boost libs.
Now i have a problem with Boost's code
---THE GOOD STUFF---
# gmake -f Makefile2 bitcoind
g++ -c -O2 -fstack-protector -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__
-D__WXGTK__ -DNOPCH -DUSE_SSL -D__BSD__ -I"/home/root2/bitcoind/deps/include"
-I"/home/root2/bitcoind/deps/include/boost-1_37"
-L"/home/root2/bitcoind/deps/lib" -o obj/nogui/rpc.o rpc.cpp
In file included from
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/context_service.hpp:30,
from
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/context.hpp:22,
from
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl.hpp:19,
from rpc.cpp:12:
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:
In member function 'void
boost::asio::ssl::detail::openssl_context_service::create(SSL_CTX*&,
boost::asio::ssl::context_base::method)':
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:74:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:77:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:80:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:83:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:86:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:89:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:92:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:95:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:98:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:101:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:104:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
/home/root2/bitcoind/deps/include/boost-1_37/boost/asio/ssl/detail/openssl_context_service.hpp:107:
error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
gmake: *** [obj/nogui/rpc.o] Error 1
Here is a snip-it from the offending file:74:
void create(impl_type& impl, context_base::method m)
{
::SSL_METHOD* ssl_method = 0;
switch (m)
{
case context_base::sslv2:
ssl_method = ::SSLv2_method();
break;
case context_base::sslv2_client:
ssl_method = ::SSLv2_client_method();
break;
case context_base::sslv2_server:
ssl_method = ::SSLv2_server_method();
break;
Again, any help is appreciated!
#