Ok, so FC4 doesn't do kernel source packages (sorry, I'm a Mandrake user). But you get them from the appropriate SRPM package. You can find the one you need here:
http://rpm.pbone.net/index.php3/stat...69_FC4.src.rpm
(or use 'up2date --get-source kernel' should also work)
Then do the following
# su
# rpm -Uvh kernel-2.6.11-1.1369_FC4.src.rpm
This writes the RPM contents into /usr/src/redhat/SOURCES and /usr/src/redhat/SPECS.
Prepare the kernel sources using the commands:
# cd /usr/src/redhat/SPECS
# rpmbuild -bp --target=noarch kernel.spec
Now move files to /usr/src, which is where most people expect it to be (replace <version> with appropriate number):
# cd /usr/src/redhat/BUILD/kernel-<version>
# mv linux-<version> /usr/src/
# cd /usr/src
# ln -s ./linux-<version> linux
Then follow the previous instructions I provided for compiling the
ATI kernel module, and restart X (or reboot).
Hope that works. After doing all the above, if your type 'fglrxinfo', you should get something like:
display: :0.0 screen: 0
OpenGL vendor string:
ATI Technologies Inc.
OpenGL renderer string: RADEON 9800 Pro Generic
OpenGL version string: 1.3.5140 (X4.3.0-8.14.13)