AnsweredAssumed Answered

amdgpu 19.30 RPM install fails "building initial module" for linux kernel 5.3

Question asked by porcelainmouse on Jan 1, 2020
Latest reply on Jan 18, 2020 by kow

Does anyone know that amdgpu-install *should* fail on kernel 5.3?

 

If not, I could use some help fixing it.  All the other RPMs seemed to install fine, but during the post-install script for amdgpu-core-19.30-934563.el8.noarch, the DKMS build failed almost immediately:

 

 

  CC [M]  /var/lib/dkms/amdgpu/19.30-934563.el8/build/amd/amdgpu/amdgpu_drv.o
In file included from <command-line>:
/var/lib/dkms/amdgpu/19.30-934563.el8/build/include/kcl/kcl_version.h:4:32: error: missing expression between '(' and ')'
    4 | #define DRM_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
      |                                ^

I've had many similar problems with AMD drivers in the past, but generally have been able to make them work. So, I just don't know if this is expected incompatibility or something I can fix if I could figure out what is wrong.

Outcomes