From: Adam C. Emerson Date: Thu, 3 Apr 2025 20:03:53 +0000 (-0400) Subject: test/objectstore/allocsim: Fix link error X-Git-Tag: testing/wip-vshankar-testing-20250411.090237-debug~13^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=38ff6260514230a3721500e65411d9126af5ee0e;p=ceph-ci.git test/objectstore/allocsim: Fix link error I think this is another one that works by coincidence due to the optimizer. ``` /usr/bin/ld: CMakeFiles/replayer.dir/ops_replayer.cc.o: undefined reference to symbol '_ZN4ceph18__ceph_assert_failERKNS_11assert_dataE' /usr/bin/ld: /home/lightspill/work/ceph/main/build/lib/libceph-common.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status ``` Signed-off-by: Adam C. Emerson --- diff --git a/src/test/objectstore/allocsim/CMakeLists.txt b/src/test/objectstore/allocsim/CMakeLists.txt index cbfbc698863..bf63ef381b8 100644 --- a/src/test/objectstore/allocsim/CMakeLists.txt +++ b/src/test/objectstore/allocsim/CMakeLists.txt @@ -5,6 +5,7 @@ add_executable(replayer ops_replayer.cc) target_link_libraries(replayer PRIVATE fmt + ceph-common librados Boost::program_options )