Hi, my attempt to install AMD-uprof deb package on ubuntu 18.04 failed with "recipe for target 'dkms' failed" error message. Linux headers for the currect version has been installed. Any idea to fix that?
$ sudo dpkg -i amduprof_2.0-493_amd64.deb
[sudo] password for mahmood:
Selecting previously unselected package amduprof.
(Reading database ... 202468 files and directories currently installed.)
Preparing to unpack amduprof_2.0-493_amd64.deb ...
Unpacking amduprof (2.0-493) ...
Setting up amduprof (2.0-493) ...
Installing AMD Power Profiler driver.
Installing AMDPowerProfiler Linux kernel module version 7.02.
Makefile:76: recipe for target 'dkms' failed
make: *** [dkms] Error 10
ERROR: AMD Power Profiler driver installation failed.
$ sudo apt install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.18.0-21-generic is already the newest version (4.18.0-21.22~18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
Try asking our question on AMD Server Guru from here: AMD Server Gurus
Found this at Server Guru about the same error you are getting in Ubuntu with AMDuPROF: uprof installation fails