install amd drivers on redhat 9

Latest response

hi all,
i have a strange issue when trying to install amdgpupro on my fresh installed RHEL9.
after compiling the error is:
"Local GCC version 110202 does not match kernel compiler GCC version 110201"

but i don't have gcc 11.2.2

[root@hal9000 ~]# gcc --version
gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)

and the stock kernel is compiled with gcc 11.2.1 too

[root@hal9000 ~]# cat /proc/version 
Linux version 5.14.0-70.13.1.el9_0.x86_64 (mockbuild@x86-vm-08.build.eng.bos.redhat.com) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.35.2-17.el9) #1 SMP PREEMPT Thu Apr 14 12:42:38 EDT 2022

what can i do here?
thanks...

Responses