Hello.
First off, I want to say I know there are many similar threads, HowTos and so on, but I couldn't find a solution, so that's why I'm posting this thread.
I am trying to install the ATI drivers for RADEON. I am running Slackware 10.2 with a 2.6.14.6 precompiled kernel. I have the headers package installed, as it is required according to ATI's site so that I could compile the kernel module. I have tried to install from every possible source I could find: RPM package from the ATI site (converting to tgz), the .run installer and I also found an older version of the driver (for Slack10.1) at linuxpackages.
But the kernel module always seems to fail to compile itself. This is the log from the failed installation:
Code:
initializing...
cleaning...
patching 'highmem.h'...
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/2.6.14.6/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make: *** /lib/modules/2.6.14.6/build: No such file or directory. Stop.
make: *** [kmod_build] Error 2
build failed with return value 2
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)
I found that /lib/modules/2.6.14.6/build is a symbolic link. It points to /usr/src/linux-2.6.14.6 (such directory does not exist), but where should it point to?
If I try to go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh', as the install script proposed, I get the same error
Code:
make -C /lib/modules/2.6.14.6/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make: *** /lib/modules/2.6.14.6/build: No such file or directory. Stop.
Any suggestions will be appreciated.