r00t9

WARNING: amdgpu dkms failed for running kernel

Discussion created by r00t9 on Mar 14, 2020

I try to install amd-gpu-pro but i get this error

 

Command: ./amdgpu-pro-install --pro

 

Building initial module for 5.3.0-40-generic
Error! Bad return status for module build on kernel: 5.3.0-40-generic (amd64)

 

cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/atombios_crtc.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/atombios_crtc.o] Error 1
cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_kms.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_kms.o] Error 1
cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_connectors.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_connectors.o] Error 1
  LD [M]  /var/lib/dkms/amdgpu/19.50-967956/build/ttm/amdttm.o
cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_atombios.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_atombios.o] Error 1
cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/atom.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/atom.o] Error 1
cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_device.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_device.o] Error 1
scripts/Makefile.build:519: recipe for target '/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu' failed
make[1]: *** [/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu] Error 2
Makefile:1655: recipe for target '_module_/var/lib/dkms/amdgpu/19.50-967956/build' failed
make: *** [_module_/var/lib/dkms/amdgpu/19.50-967956/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.3.0-40-generic'

 

OS: Linux Mint 19.3 Tricia

Kernel: 5.3.0-40-generic

GPU: XFX Radeon RX570 RS Black Edition 8.0 GB

CPU: amd 2700

 

Any ideas how to fix that error ?

Outcomes