-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE] error: ‘HSMP_GET_METRIC_TABLE_VER’ undeclared #9
Comments
Hi, Esmi library needs amd_hsmp.h header file. This header file can be taken from https://github.com/amd/amd_hsmp/ or from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/include/uapi/asm/amd_hsmp.h?h=v6.8-rc3. If the header file is old and the esmi library is new, this kind of errors will be seen. Please copy https://github.com/amd/amd_hsmp/blob/master/amd_hsmp.h to /usr/include/asm/ or /usr/include/x86_64-linux-gnu/asm/ path in your system and then compile the esmi library, Also clone the latest amd_hsmp/ module, compile and insert this module to get the new features(from modinfo above, version is 1.0, latest version is 2.0). |
I'm getting the below error when trying to build the library:
I've compiled and loaded the amd_hsmp and amd_energy modules as well
modinfo: amd_hsmp
modinfo: amd_energy
The text was updated successfully, but these errors were encountered: