Skip to content

Commit

Permalink
Fix/add missing lib to nano_rpc build (#4190)
Browse files Browse the repository at this point in the history
Fixes build error:

CMakeFiles/nano_rpc.dir/entry.cpp.o: in function `(anonymous
namespace)::endpoint_hash_raw(boost::asio::ip::basic_endpoint<boost::asio::ip::udp>
const&)':
/workspace/nano/node/common.hpp:31: undefined reference to
`nano::ip_address_hash_raw(boost::asio::ip::address const&, unsigned
short)'
/usr/bin/ld: CMakeFiles/nano_rpc.dir/entry.cpp.o: in function
`(anonymous
namespace)::endpoint_hash_raw(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>
const&)':
/workspace/nano/node/common.hpp:36: undefined reference to
`nano::ip_address_hash_raw(boost::asio::ip::address const&, unsigned
short)'
  • Loading branch information
thsfs committed Mar 20, 2023
1 parent 6eca8c5 commit 92733c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/nano_rpc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ add_executable(nano_rpc entry.cpp)
target_link_libraries(
nano_rpc
rpc
node
secure
Boost::filesystem
Boost::log_setup
Expand Down

0 comments on commit 92733c2

Please sign in to comment.