From: Daniel Gryniewicz Date: Mon, 18 Sep 2023 12:50:53 +0000 (-0400) Subject: RGW - Fix cls test build on new gcc X-Git-Tag: v19.0.0~469^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F53502%2Fhead;p=ceph.git RGW - Fix cls test build on new gcc The new encoder types broke building the cls test on newer gcc (13+) due to undefined encoder/decoder. Add the file that defines those to the test. Signed-off-by: Daniel Gryniewicz --- diff --git a/src/cls/CMakeLists.txt b/src/cls/CMakeLists.txt index 7981fd347485..57d0dace67c5 100644 --- a/src/cls/CMakeLists.txt +++ b/src/cls/CMakeLists.txt @@ -323,7 +323,8 @@ if (WITH_RADOSGW) install(TARGETS cls_rgw_gc DESTINATION ${cls_dir}) set(cls_rgw_gc_client_srcs - rgw_gc/cls_rgw_gc_client.cc) + rgw_gc/cls_rgw_gc_client.cc + rgw/cls_rgw_types.cc) add_library(cls_rgw_gc_client STATIC ${cls_rgw_gc_client_srcs}) target_include_directories(cls_rgw_gc_client PUBLIC "${CMAKE_SOURCE_DIR}/src/rgw/driver/rados"