LIMXTEC/Bitcloud

ZeroMQ Linking issues

azilber opened this issue · 1 comments

Linking error when compiling Bitcloud v2.0.0.5 and linking against zermomq v4.2.3 on Linux (Devuan 1.0 (Jessie 8)).

:~/Bitcloud-v.2.0.0.5$ make Making all in src make[1]: Entering directory '/home/coins/Bitcloud-v.2.0.0.5/src' make[2]: Entering directory '/home/coins/Bitcloud-v.2.0.0.5/src' CXX zmq/libbitcoin_zmq_a-zmqabstractnotifier.o CXX zmq/libbitcoin_zmq_a-zmqnotificationinterface.o CXX zmq/libbitcoin_zmq_a-zmqpublishnotifier.o AR libbitcoin_zmq.a CXXLD bitcloudd libbitcoin_zmq.a(libbitcoin_zmq_a-zmqnotificationinterface.o): In functionCZMQNotificationInterface::Shutdown()':
/home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqnotificationinterface.cpp:123: undefined reference to zmq_ctx_destroy' libbitcoin_zmq.a(libbitcoin_zmq_a-zmqnotificationinterface.o): In functionzmqError(char const*)':
/home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqnotificationinterface.cpp:15: undefined reference to zmq_strerror' libbitcoin_zmq.a(libbitcoin_zmq_a-zmqnotificationinterface.o): In functionCZMQNotificationInterface::Initialize()':
/home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqnotificationinterface.cpp:80: undefined reference to zmq_init' libbitcoin_zmq.a(libbitcoin_zmq_a-zmqpublishnotifier.o): In functionzmq_send_multipart':
/home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqpublishnotifier.cpp:42: undefined reference to zmq_msg_send' /home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqpublishnotifier.cpp:50: undefined reference tozmq_msg_close'
/home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqpublishnotifier.cpp:30: undefined reference to zmq_msg_init_size' /home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqpublishnotifier.cpp:37: undefined reference tozmq_msg_data'
/home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqpublishnotifier.cpp:46: undefined reference to zmq_msg_close' libbitcoin_zmq.a(libbitcoin_zmq_a-zmqpublishnotifier.o): In functionCZMQAbstractPublishNotifier::Initialize(void*)':
/home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqpublishnotifier.cpp:69: undefined reference to zmq_socket' /home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqpublishnotifier.cpp:76: undefined reference tozmq_bind'
/home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqpublishnotifier.cpp:80: undefined reference to zmq_close' libbitcoin_zmq.a(libbitcoin_zmq_a-zmqpublishnotifier.o): In functionCZMQAbstractPublishNotifier::Shutdown()':
/home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqpublishnotifier.cpp:122: undefined reference to zmq_setsockopt' /home/coins/Bitcloud-v.2.0.0.5/src/zmq/zmqpublishnotifier.cpp:123: undefined reference tozmq_close'
collect2: error: ld returned 1 exit status
Makefile:2762: recipe for target 'bitcloudd' failed
make[2]: *** [bitcloudd] Error 1
make[2]: Leaving directory '/home/coins/Bitcloud-v.2.0.0.5/src'
Makefile:7107: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/coins/Bitcloud-v.2.0.0.5/src'
Makefile:583: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

@azilber we're on a new build now,

Do you want to check this error with the new source code?

Let's close this issue if it's no longer valid.