amd / esmi_ib_library

E-SMI: EPYC™ System management Interface In-band Library
Other
25 stars 8 forks source link

asm/amd_hsmp.h: No such file or directory #14

Open GowriShankarEAAS opened 2 months ago

GowriShankarEAAS commented 2 months ago

Hi, I am getting following error. kindly suggest what i am missing ?

esmi_ib_library/include/e_smi/e_smi.h:11:10: fatal error: asm/amd_hsmp.h: No such file or directory 11 | #include <asm/amd_hsmp.h> | ^~~~ compilation terminated.

sumachidanand commented 2 months ago

Hi, Esmi_ib_library has dependency on amd_hsmp driver and its header file. Please copy amd_hsmp.h header file from https://github.com/amd/amd_hsmp.git repo to /usr/include/asm/ on RHEL systems /usr/include/x86_64-linux-gnu/asm/ on Ubuntu systems and try rebuilding the esmi library,

Also use the corresponding hsmp driver to get all the features working.