NVIDIA / nvidia-persistenced

NVIDIA driver persistence daemon
MIT License
53 stars 13 forks source link

Doesn't work on RHEL-8 ppc64le #5

Open karanb21 opened 4 years ago

karanb21 commented 4 years ago

https://fedoraproject.org/wiki/Changes/SunRPCRemoval If you guys can update the Daemon to work for RHEL-8 P9 as well!

karanb21 commented 4 years ago
root@ibm-hpc]# make install
   CC           command_server.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from command_server.c:28:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from nvidia-persistenced.h:33,
                 from command_server.c:32:
nvpd_rpc.h:9:10: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:127: _out/Linux_ppc64le/command_server.o] Error 1
moritzschaefer commented 3 years ago

Same issue on nixos

rmorell commented 3 years ago

nvidia-persistenced was updated to use libtirpc, when available, rather than rpc from glibc in 450.51: https://github.com/NVIDIA/nvidia-persistenced/commit/7e0489451c0af7d8af307f2a466c78c399494561

Do you have libtirpc installed, and can pkg-config find it?