Indeed, I made a mistake:
the new headers are installed at the end of the installation process
with (see
http://fedoraproject.org/wiki/Docs/CustomKernel):
su -c 'rpm -ivh kernel-<version>.<arch>.rpm
kernel-firmware-<version>.<arch>.rpm
kernel-headers-<version>.<arch>.rpm
kernel-devel-<version>.<arch>.rpm'
But still the problem is the same:
I need to
1)first patch the kernel
2)then compile some apps in userland
and I do not know what kernel headers version (old or new) to use for step 1
and step 2.
Ryad
PS: here is what I got when I do
rpm -qa | grep kernel-headers
kernel-headers-2.6.33.3-85.fc13.i686
kernel-headers-2.6.35.6-43.fc13.i686
On Fri, Oct 15, 2010 at 4:51 PM, Ryad Ben-El-Kezadri <ryad.bek(a)gmail.com>wrote:
The problem is that I need to
1)first patch the kernel
2)then compile some apps in userland with my new patched kernel
My problem is that
I do not know what kernel version (old or new) to use for step 1 and step
2.
On Fri, Oct 15, 2010 at 4:27 PM, Kyle McMartin <kyle(a)mcmartin.ca> wrote:
> On Fri, Oct 15, 2010 at 04:16:35PM +0200, Ryad Ben-El-Kezadri wrote:
> > I will have to compile applications in userland that needs the new
> headers.
> > Can I safely remove the old headers?
> >
>
> Unless you need something from the new ones, you should probably keep
> the /old/ headers instead, since those are the ones the C library is
> built against (roughly.) I'm not entirely sure why that wiki page
> recommends installing new headers, but it probably shouldn't.
>
> --Kyle
>