LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ATI RADEON 9200 Driver on kernel 2.6.14.6 (https://www.linuxquestions.org/questions/linux-hardware-18/ati-radeon-9200-driver-on-kernel-2-6-14-6-a-446752/)

deftone` 05-20-2006 12:51 PM

ATI RADEON 9200 Driver on kernel 2.6.14.6
 
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.

Emerson 05-21-2006 06:15 AM

Quote:

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?
This is the directory for your current kernel source. So you better install kernel sources.

deftone` 05-22-2006 09:26 AM

Ok... I'll try that, although I do have the kernel headers installed and on the ATI site, it says I need kernel source OR headers.

gkiagia 06-30-2006 04:11 AM

Quote:

Originally Posted by deftone`
Ok... I'll try that, although I do have the kernel headers installed and on the ATI site, it says I need kernel source OR headers.

Then, make this symlink point to the directory where the kernel headers are. (don't ask me where. I've no idea)


All times are GMT -5. The time now is 04:08 PM.