]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/objectstore/allocsim: Fix link error 62669/head
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 3 Apr 2025 20:03:53 +0000 (16:03 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 3 Apr 2025 20:03:53 +0000 (16:03 -0400)
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 <aemerson@redhat.com>
src/test/objectstore/allocsim/CMakeLists.txt

index cbfbc698863ef5560db53dffa8106d6c2f564dc6..bf63ef381b844552db4a09100a7f8075624f789f 100644 (file)
@@ -5,6 +5,7 @@ add_executable(replayer ops_replayer.cc)
 target_link_libraries(replayer
     PRIVATE
     fmt
+    ceph-common
     librados
     Boost::program_options
 )