Building an ATI driver module
X86 / Mandrakelinux 10.1 (Official) / Installation
Problem is building the ATI driver module for my graphics card which without proper drivers is scoring a phearsome 150fps with glxgears. During the rpm installation of the package it gives a message saying everything went almost ok, but two steps are required first before the driver runs; the first is to go to /lib/modules/fglrx/build_mod and run a make.sh script which bombs with the following results:
ATI module generator V 2.0
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/188.8.131.52-12mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make: Entering directory `/lib/modules/184.108.40.206-12mdk/build'
make: *** No rule to make target `modules'. Stop.
make: Leaving directory `/lib/modules/220.127.116.11-12mdk/build'
make: *** [kmod_build] Error 2
build succeeded with return value 0
duplicating results into driver repository...
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
This process creates a broken link to the module fglrx.ko