rx: Add rxs_Ref et al to liboafs_rx.la.sym

On Linux and possibly other platforms, if configure is run with the
--disable-static option, anything linking against liboafs_rxkad.la will
fail:

    gcc [...] -o afsd [...] .../src/auth/liboafs_auth.la [...] -lafshcrypto -lrokenafs -lpthread -lresolv
    /home/build/openafs/src/rxkad/.libs/liboafs_rxkad.so: undefined reference to `rxs_Ref'
    /home/build/openafs/src/rxkad/.libs/liboafs_rxkad.so: undefined reference to `rxs_SetRefs'
    /home/build/openafs/src/rxkad/.libs/liboafs_rxkad.so: undefined reference to `rxs_DecRef'
    collect2: error: ld returned 1 exit status
    make: *** [afsd] Error 1

The references to these symbols were added in commit 9d7b94493c (rx: Use
atomics for rx_securityClass refcounts), but that commit didn't add them
to the liboafs_rx.la.sym symbol file. Add them to allow the build to
complete with --disable-static.

Change-Id: I14b348d1be6bf6e8f512d1cac6a70a58fd6f39a1
Reviewed-on: https://gerrit.openafs.org/15988
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
This commit is contained in:
Ben Huntsman 2024-12-12 18:58:32 -08:00 committed by Andrew Deason
parent 2b9ba03ef7
commit 3de1ffe929

View File

@ -155,7 +155,10 @@ rxi_syscallp
rxi_tracename
rxnull_NewClientSecurityObject
rxnull_NewServerSecurityObject
rxs_DecRef
rxs_Ref
rxs_Release
rxs_SetRefs
xdr_afsUUID
xdr_afs_int32
xdr_afs_int64