Problem building ATI 10.12 module on kernel 2.6.37-rc5

I’m getting the following error when building fglrx (ati) version 10.12 driver module on OpenSuSE 11.4M5 kernel 2.6.37-rc5: :’( :’(

*CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:402:5: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function âKCL_SetPageCache_Arrayâ:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1316:13: warning: passing argument 1 of âKCL_ConvertPageToKernelAddressâ makes pointer from integer without a cast
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:327:35: note: expected âvoid *â but argument is of type âlong unsigned intâ
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function âKCL_ACPI_GetAcpiHandlesâ:
/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:486:5: error: implicit declaration of function âlibip_get_acpi_handlesâ
make[4]: *** [/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o] Fout 1
make[3]: *** [module/lib/modules/fglrx/build_mod/2.6.x] Fout 2
make[2]: *** [sub-make] Fout 2
make[1]: *** [all] Fout 2
make[1]: Map ‘/usr/src/linux-2.6.37-rc5-12-obj/i386/default’ wordt verlaten
make: *** [kmod_build] Fout 2

Frequently Asked Questions -
read “Why does fglrx not work for my kernel?”

Thanks eng-int it’s a release candidate kernel indeed, so it’s not officially supported by ATI fglrx driver. :expressionless:

I am hoping that ATi will support the 2.6.37 kernel soon however I think I read somewhere you can patch the module to work on 2.6.37.

Probably since my version of 2.6.37 is still RC5, and not the stable version, the solutions on internet are only solving part of the problems I run into. The part this post is about won’t be solved by anything I found until now.

Yes that is definitely possible

Yesterday I installed the ati drivers and had the same problem. In my opinion do not use ati drivers because they are uncompleted. I use only the 3d acceleration of ati, motherboard’s chipchet drivers and amd profiler for processor.

And hopefully soon don’t even need to install the fglrx drivers:
Good news for ATI hardware users in 2.6.38 kernel

This won’t make it into openSUSE 11.4 but should make it in the release after that