From 6519e6b4314a8676bb96030c8348b68aa45eb966 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 16 Dec 2024 16:55:12 -0600 Subject: [PATCH] fsint: Add RXAFS_GetXStats to liboafs_fsint.la.sym Since OpenAFS 1.0, xstat_fs_test and xstat_cm_test have contained references to RXAFS_GetXStats and RXAFCB_GetXStats, respectively, but these are not exported by our liboafs_fsint.la.sym. This causes the build to fail with --disable-static: $ make V=0 LD .../src/xstat/xstat_cm_test /usr/bin/ld: ./.libs/liboafs_xstat_cm.so: undefined reference to `RXAFSCB_GetXStats' collect2: error: ld returned 1 exit status FAILED COMMAND: /bin/bash ../../libtool --quiet --mode=link --tag=CC gcc [...] -o xstat_cm_test xstat_cm_test.o liboafs_xstat_cm.la [...] [...] LD .../src/xstat/xstat_fs_test /usr/bin/ld: ./.libs/liboafs_xstat_fs.so: undefined reference to `RXAFS_GetXStats' collect2: error: ld returned 1 exit status FAILED COMMAND: /bin/bash ../../libtool --quiet --mode=link --tag=CC gcc [...] -o xstat_fs_test xstat_fs_test.o liboafs_xstat_fs.la [...] Add the missing functions to liboafs_fsint.la.sym. Change-Id: If58262eb017fd12819f59edda1e99dd9a6e8042b Reviewed-on: https://gerrit.openafs.org/15993 Tested-by: BuildBot Reviewed-by: Cheyenne Wills Reviewed-by: Michael Meffie --- src/fsint/liboafs_fsint.la.sym | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fsint/liboafs_fsint.la.sym b/src/fsint/liboafs_fsint.la.sym index e7f147c964..46dde7bd64 100644 --- a/src/fsint/liboafs_fsint.la.sym +++ b/src/fsint/liboafs_fsint.la.sym @@ -3,6 +3,7 @@ EndRXAFSCB_ProbeUuid EndRXAFS_FetchData EndRXAFS_StoreData RXAFSCB_CallBack +RXAFSCB_GetXStats RXAFSCB_InitCallBackState RXAFSCB_InitCallBackState3 RXAFSCB_Probe @@ -14,6 +15,7 @@ RXAFS_FetchStatus RXAFS_GetTime RXAFS_GetStatistics RXAFS_GetStatistics64 +RXAFS_GetXStats RXAFS_GiveUpCallBacks RXAFS_MakeDir RXAFS_OpCodeIndex