public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] linux-headers ebuild version.
  @ 2003-06-20 19:25 99%   ` Martin Schlemmer
  0 siblings, 0 replies; 1+ results
From: Martin Schlemmer @ 2003-06-20 19:25 UTC (permalink / raw
  To: Chris PeBenito; +Cc: svyatogor, Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 1464 bytes --]

On Fri, 2003-06-20 at 20:03, Chris PeBenito wrote:
> On Fri, 2003-06-20 at 15:20, Svyatogor wrote:
> > AFAIK the version of headers and of kernel are supposed to be the same. But in 
> > this case, I'll have vanilla-sources-2.4.21 and say my iptables will be build 
> > against headers for 2.4.19.
> > 
> > My question is: are there any plans to bump up the version of the headers 
> > package, or it is obsolete. In the later case, I guess, no package should 
> > depend on virtual/os-headers any more, but rather on virtual/linux-sources 
> > (or probably the *sources, shoudl provide os-headers).
> 
> The headers should be the same ones used to compile glibc.  i.e. the
> headers should match the library object files.  Its been said many times
> that /usr/include/{linux,asm} should not be symlinked to the kernel
> sources.

I do not know if I 100% agree with this.  Something like iptables is
more like drivers ... you need to be spot on, or in close vicinity of
the running kernel with the headers you compile it against.

Anyhow, in general in Gentoo, if you compile something like iptable,
nvidia-kernel, alsa, etc, it use the kernel headers in /usr/src/linux,
as it is easier to manage (say you are running kernel from livecd,
but want to compile whatever for your kernel that you will be
booting ...).


Regards,

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-06-20 20:20     [gentoo-dev] linux-headers ebuild version Svyatogor
2003-06-20 18:03     ` Chris PeBenito
2003-06-20 19:25 99%   ` Martin Schlemmer

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