LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't build kernel module for ATI RADEON 9700 PRO (https://www.linuxquestions.org/questions/linux-newbie-8/cant-build-kernel-module-for-ati-radeon-9700-pro-171023/)

ph0ngwh0ng 04-16-2004 03:00 PM

Can't build kernel module for ATI RADEON 9700 PRO
 
Hello,

My system:
Intel PIV on a Gigabyte i865PE
ATI RADEON 9700 PRO
RedHat 9 (kernel 2.4.20-8)

I am trying to build the kernel module for my ATI RADEON 9700 PRO. I have dowloaded kernel-2.4.20-8.src.rpm from ftp.redhat.com and I installed it. It copied a bunch of files in /usr/src/redhat/SOURCES. Amongst them was linux-2.4.20.tar.bz2. I have copied this to /usr/src and have uncompressed the bz and the tar and have created a symlink from /usr/src/linux to /usr/src/linux-2.4.20. The tar put all source files there. All? No! When I try to build the ATI kernel module, a message tells me he hasn't found version.h in /usr/src/linux/include/linux. I checked and it's not there. I checked on RedHat website to see the file listing included in the kernel sources and it is supposed to be there.

The thing is I have no clue as of what to do with the bunch of files copied to /usr/src/redhat/SOURCES. Can anyone help me in installing the kernel sources correctly. Please include detailed information 'cause I am indeed a newbie to Linux.

A puzzled fella

AutOPSY 04-16-2004 03:05 PM

rpms will put the files where they belong.

bzips need to be uncompressed, and untarred in the directory you want the files in.

http://rpm.pbone.net
go there and you need kernel-source-2.4.20-8.i386.rpm.
(do a search it comes up with links to download.)

its an rpm all you need to do is install it.
Thats the sources your looking for .

ph0ngwh0ng 04-16-2004 03:10 PM

It works! It's alive! ALIVE!!!! Thank you!


All times are GMT -5. The time now is 03:20 AM.