From: Max Kellermann Date: Wed, 30 Jul 2025 05:44:34 +0000 (+0200) Subject: tools/ceph-dencoder/CMakeLists.txt: add missing dependencies to denc-mod-common X-Git-Tag: testing/wip-vshankar-testing-20250806.114233-debug~1^2~26 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0fffa230177058e01d8425c1a45db2536e7426fa;p=ceph-ci.git tools/ceph-dencoder/CMakeLists.txt: add missing dependencies to denc-mod-common This library uses symbols from ceph-common, uuid.cc and utime.cc but does not link them. This causes runtime linker errors (but usually doesn't because these other libraries just happen to be linked already). Signed-off-by: Max Kellermann --- diff --git a/src/tools/ceph-dencoder/CMakeLists.txt b/src/tools/ceph-dencoder/CMakeLists.txt index 3c8087413cb..1cd85189a6a 100644 --- a/src/tools/ceph-dencoder/CMakeLists.txt +++ b/src/tools/ceph-dencoder/CMakeLists.txt @@ -38,8 +38,11 @@ function(add_denc_mod name) endfunction() add_denc_mod(denc-mod-common + ../../include/uuid.cc + ../../include/utime.cc common_types.cc) target_link_libraries(denc-mod-common + ceph-common journal cls_cas_internal cls_lock_client