From 8c411e38dae995333168b970d6bf6140281e9e3c Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Mon, 19 Apr 2021 23:55:12 +0300 Subject: [PATCH] Fix undefined symbol --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d093b245..a03e266e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -45,6 +45,7 @@ add_library(vitastor_blk SHARED blockstore_write.cpp blockstore_sync.cpp blockstore_stable.cpp blockstore_rollback.cpp blockstore_flush.cpp crc32c.c ringloop.cpp ) target_link_libraries(vitastor_blk + vitastor_common ${LIBURING_LIBRARIES} tcmalloc_minimal ) @@ -57,7 +58,7 @@ add_library(vitastor_common STATIC http_client.cpp osd_ops.cpp pg_states.cpp timerfd_manager.cpp base64.cpp ) target_compile_options(vitastor_common PUBLIC -fPIC) - + # vitastor-osd add_executable(vitastor-osd osd_main.cpp osd.cpp osd_secondary.cpp osd_peering.cpp osd_flush.cpp osd_peering_pg.cpp