cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

r00t9
Journeyman III

WARNING: amdgpu dkms failed for running kernel

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   /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 ?

0 Likes
0 Replies