Closed penny56 closed 2 years ago
Looks like you don't have a compiler installed. The most pragmatic way on RHEL 8.3 should be to install the "Development Tools" group via
dnf group install "Development Tools"
Thanks Stefan, I think I have a progress after the "Development Tools" installed, but still encountered a fatal while make:
[root@t257davet smc-tools-1.6.0]# make
CC smc-preload.o
LINK libsmc-preload.so
Makefile:101: "Warning: Skipping 31/32-bit library build because 31/32-bit build tools"
Makefile:102: " are unavailable. SMC will not support 31/32 bit applications"
Makefile:103: " unless the glibc devel package for the appropriate addressing"
Makefile:104: " mode is installed and the preload libraries are rebuilt."
CC smcd.o
In file included from smc.c:27:
libnetlink.h:23:10: fatal error: netlink/genl/genl.h: No such file or directory
#include <netlink/genl/genl.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:110: smcd.o] Error 1
Thanks~
You're missing the header file netlink/genl/genl.h. Install libnl3-devel to get that.
Thanks Stefan, it compiled completed, close this ticket.
Hi, I got this error while I make the smc-tools:
I loaded the SMC module before I did the make
The OS environment is RHEL8.3 and the tool version is 1.6.0, thanks for the help and any question please let me know.