On Thu, Feb 08, 2007 at 02:02:09PM +0000, Brendan Kehoe wrote:
>> > Sorry, for the kernel source you should do :
> >
> > # up2date -f kernel kernel-devel
> >
> > or
> >
> > # up2date -f kernel-smp kernel-smp-devel
> >
> > (always get both at the same time, just in case there is a new one)
> >
>> You'd think...I did kernel-devel first, but that didn't actually give me
> all of the headers and such.
>> What I ended up having to do were these steps as suggested by RedHat's
> docs at http://kbase.redhat.com/faq/FAQ_85_5109.shtm ...
>> up2date redhat-rpm-config rpm-build
> up2date --get-source kernel
> rpm -ivh /var/spool/up2date/kernel*.src.rpm
> cd /usr/src/redhat/SPECS
> rpmbuild -bp --target=i686 kernel-2.6.spec
> cd /usr/src/kernels/2.6.9-42.0.8.EL-smp-i686
> cp configs/kernel-2.6.9-i686-smp.config ./.config
> make oldconfig
> cp -a /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 /usr/src
> ln -s /usr/src/linux-2.6.9 /usr/src/linux
>> B
That sounds like the software you were building is broken. The
kernel-devel package usually does not contain all the headers, but
it should contain all the headers for the functionality built into
the corresponding kernel.
--
Darragh
"Nothing is foolproof to a sufficently talented fool."
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!