public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Using kernel headers that are not for the running kernel
@ 2004-06-17 23:28 Nick Bartos
  2004-06-18  0:04 ` David Schwartz
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Nick Bartos @ 2004-06-17 23:28 UTC (permalink / raw)
  To: linux-kernel

I have a little distro that I am trying to upgrade to 2.6.x.

The problem is that when I use the headers for 2.6.x, glibc 2.2.5 won't
compile.  Eventually I want to upgrade glibc/gcc, but not at the moment. 
If I use the headers from 2.4.26 for the system, but just compile the
2.6.7 kernel, things do compile fine for everything.

This distro is small, and I can rebuild the entire thing in about 90 mins,
so if I change the kernel (or really anything that has other deps), I just
rebuild the entire thing to make sure everything is in sync.

I see that a lot of distros use a separate package for the kernel headers,
which do not necessarily coincide with the running kernel.

I am wondering what (if any) are the side effects of doing this are,
especially when the kernel versions are so different.  I was thinking that
there may be issues with some progs if the prototypes for certain kernel
functions weren't the same.  However people are doing it and it does seem
to work, but I am wondering how it fends for stability.

Comments?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-06-21 15:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-17 23:28 Using kernel headers that are not for the running kernel Nick Bartos
2004-06-18  0:04 ` David Schwartz
2004-06-18 13:25   ` Krzysztof Halasa
2004-06-18  9:27 ` Jesper Juhl
2004-06-19 10:46 ` Rob Landley
2004-06-20 16:24   ` Jeff Garzik
2004-06-21  0:37     ` Rob Landley
2004-06-21 15:29       ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox