On Tuesday 19 July 2005 16:43, Paul Howarth wrote: > On Tue, 2005-07-19 at 07:29 +1000, Benham Family wrote: > > On Tuesday 19 July 2005 01:07, James Kosin wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Benham Family wrote: > > > | Apparently it expects kernel sources in > > > | /usr/src/kernels/2.6.11-1.1369_FC4-i686, but the FC4 install didn't > > > | put them there. Checking the README file on the first install disk > > > | I discovered that unlike my previous installation, kernel sources > > > | were no longer included. I needed to download > > > | kernel-2.6.11-1.1369_FC4.src.rpm. Looking at the man page for rpm I > > > | guessed I needed to --install it, but that didn't seem to do > > > | anything exciting. After some searching I discovered it had put a > > > | large number of files into /usr/src/redhat/SOURCES. My joy was > > > | short-lived when I found that this was not the desired kernel > > > | source code, but the source code for a different kernel and a large > > > | number of .patch files. > > > | > > > | How do I get to my desired kernel source from where I am? do I have > > > | to extract the bzip2'd tarball and apply the patches one by one? in > > > | some particular order? > > > | > > > | cheers, Tim > > > > > > Tim, > > > > > > 'rpmbuild -bp SPECS/kernel-2.6.spec' from the /usr/src/redhat > > > directory should do the trick. > > > > Thanks James, but that gives me > > > > error: Architecture is not included: i386 > > This would probably work (from the /usr/src/redhat directory): > # rpmbuild -bp --target=i686 SPECS/kernel-2.6.spec Nice try. This one didn't error, but even though I changed the symlink /lib/modules/yadda/build to point to the redhat/BUILD/kernel-2.6.11 directory your suggestion created, make still complained about not being able to find the kernel sources. cheers, Tim