Problem installing ATI Catalyst Proprietary Driver-8.861

Good day

I am trying to install the ATI Catalyst Driver on openSUSE 11.4 64-bit but get the error “fatal error: linux/smp_lock.h: No such file or directory”

I downloaded the ati-driver-installer-11-6-x86.x86_64.run file from ATI’s website

The install seems to be running but fails near the end.

This is the log output:

Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Uninstalling any previously installed drivers.
Forcing uninstall of ATI Catalyst(TM) Proprietary Driver.
No integrity verification is done.
restore of system environment completed
Uninstall fglrx driver complete.
For detailed log of uninstall, please see /etc/ati/fglrx-uninstall.log
System must be rebooted to avoid system instability and potential data loss.
/usr/share/ati/amd-uninstall.sh completed with 0
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[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/2.6.39.3-1-desktop/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.39.3-1-obj/x86_64/desktop'
make -C ../../../linux-2.6.39.3-1 O=/usr/src/linux-2.6.39.3-1-obj/x86_64/desktop/. modules
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:117:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[4]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[3]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.39.3-1-obj/x86_64/desktop'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
[Reboot] Kernel Module : mkinitrd

Thanks in advance.

Do you have the package kernel-source installed?

If not, try installing kernel-source then run the driver installer again

You can try atiupgrade: openSUSE Forums - ATI driver with atiupgrade
It will install the kernel sources, create a package of the ATI driver and install it (wich implies compiling the module - that’s why you need the kernel sources at installation time).