AnsweredAssumed Answered

Linux:Unable to compile AMD/ATI fglrx kernel-modules under kernel

Question asked by nouvo09 on Mar 13, 2012
Latest reply on May 17, 2012 by nouvo09

Here is the copy of the bug I have related on (bug Nr 802121)



Description of problem:


I own an ATI graphic card, and I use the AMD proprietary driver fglrx since


Habitually when there is a new release of the kernel, DKMS automatically builds

the news modules.


This is impossible with the last kernel.

To make the computer run I had to return back to te preceding one,

which compiles perfectly.


This AMD driver runs also perfectly on RHEL 6


Version-Release number of selected component (if applicable):


kernel/ kernel-devel


How reproducible:

Install an FC15 system and the proprietary AMD driver

with kernel, it compiles an runs

with the

it produces an error message, see below:


there is the same error trying to build the modules without dkms and compile




Actual results:

doesnt' work and fallback to the radeon driver


Expected results:

works and is able to run 3D and compiz aso


Additional info:


[Message] Kernel Module : Found kernel module build environment, generating

kernel module now.

AMD kernel module generator version 2.1

doing Makefile based build for kernel 2.6.x and higher

rm -rf *.c *.h *.o *.ko *.a .??* *.symvers

make -C /lib/modules/

SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules

make[1] : on entre dans le répertoire «

/usr/src/kernels/ »

  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function


/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5804:28: erreur:

‘TS_USEDFPU’ undeclared (first use in this function)

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5804:28: note: each

undeclared identifier is reported only once for each function it appears in

make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Erreur 1

make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Erreur 2

make[1] : on quitte le répertoire « /usr/src/kernels/ »

make: *** [kmod_build] Erreur 2

build failed with return value 2


and here is the reply of the redhat bugzilla team:


TS_USEDFPU was removed in the stable backport of Linus' FPU handling fixes.

The fglrx code will need to adapt to those changes.