the last commit in this repo was well before the release of rhel9. in alma9 or rocky9 you get the same errors that are in https://github.com/Mellanox/nv_peer_memory/issues/8