tzachi_621

uprof installation fails

Discussion created by tzachi_621 on Sep 15, 2018
Latest reply on Sep 25, 2018 by tzachi_621

I am calling :

sudo dpkg -i ./amduprof_1.2-275_amd64.deb

 

It seems that DKMS compilation is failing.

 

CC [M]  /usr/src/AMDPowerProfiler-7.02/src/PwrProfHwaccess.o

  CC [M]  /usr/src/AMDPowerProfiler-7.02/src/PwrProfModule.o

  CC [M]  /usr/src/AMDPowerProfiler-7.02/src/PwrProfSharedMemOps.o

  CC [M]  /usr/src/AMDPowerProfiler-7.02/src/PwrProfTimer.o

/usr/src/AMDPowerProfiler-7.02/src/PwrProfTimer.c: In function ‘SetInstructionPointer’:

/usr/src/AMDPowerProfiler-7.02/src/PwrProfTimer.c:98:12: error: implicit declaration of function ‘get_irq_regs’ [-Werror=implicit-function-declaration]

     regs = get_irq_regs();

            ^

/usr/src/AMDPowerProfiler-7.02/src/PwrProfTimer.c:98:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]

     regs = get_irq_regs();

          ^

cc1: some warnings being treated as errors

            ^

 

I am using Ubuntu 16.04 LTS 64bit

kernel version : 4.15.0-33-generic

gcc version : gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609

 

Can you assist?

 

Sincerely

 

Tzachi Cohen

Outcomes