From ca34ae40f60ceca0b16f120c308163649dbe2064 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 16 Dec 2024 16:45:47 -0600 Subject: [PATCH] rx: Add rx_Writev* to liboafs_rx.la.sym Since OpenAFS 1.0, the fileserver has contained references to rx_WritevAlloc and rx_WritevProc (via rx_Writev()), but our liboafs_rx.la.sym has never exported these. This causes the fileserver to fail to build with --disable-static: $ make V=0 [...] LD .../src/viced/fileserver /usr/bin/ld: afsfileprocs.o: in function `FetchData_RXStyle': .../src/viced/afsfileprocs.c:6345: undefined reference to `rx_WritevAlloc' /usr/bin/ld: .../src/viced/afsfileprocs.c:6359: undefined reference to `rx_WritevProc' collect2: error: ld returned 1 exit status FAILED COMMAND: /bin/bash ../../libtool --quiet --mode=link --tag=CC gcc [...] -o fileserver [...] Add the missing symbols to liboafs_rx.la.sym. Change-Id: I88b73ed4b639e9c128c8d3c80bc60fc99e6aa3e1 Reviewed-on: https://gerrit.openafs.org/15991 Reviewed-by: Cheyenne Wills Reviewed-by: Michael Meffie Tested-by: Andrew Deason --- src/rx/liboafs_rx.la.sym | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rx/liboafs_rx.la.sym b/src/rx/liboafs_rx.la.sym index 6a5db7e6d3..5344c6d27d 100644 --- a/src/rx/liboafs_rx.la.sym +++ b/src/rx/liboafs_rx.la.sym @@ -103,6 +103,8 @@ rx_StartServer rx_UdpBufSize rx_WriteProc rx_WriteProc32 +rx_WritevAlloc +rx_WritevProc rx_clearPeerRPCStats rx_clearProcessRPCStats rx_connDeadTime