From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev-return-3871-arch-gentoo-dev=gentoo.org@gentoo.org>
Received: (qmail 18054 invoked by uid 1002); 20 Jun 2003 19:24:49 -0000
Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm
Precedence: bulk
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Help: <mailto:gentoo-dev-help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev-unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-dev-subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@gentoo.org
Received: (qmail 26194 invoked from network); 20 Jun 2003 19:24:42 -0000
From: Martin Schlemmer <azarah@gentoo.org>
Reply-To: azarah@gentoo.org
To: Chris PeBenito <pebenito@gentoo.org>
Cc: svyatogor@gentoo.org, Gentoo-Dev <gentoo-dev@gentoo.org>
In-Reply-To: <1056132198.1508.16.camel@chris.pebenito.net>
References: <200306202020.32428.svyatogor@gentoo.org>
	 <1056132198.1508.16.camel@chris.pebenito.net>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-gCj8kL7kjXDf9+0kD8SN"
Organization: 
Message-Id: <1056137130.8844.7.camel@nosferatu.lan>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.4- 
Date: 20 Jun 2003 21:25:30 +0200
Subject: Re: [gentoo-dev] linux-headers ebuild version.
X-Archives-Salt: 9054e502-f4ee-4b5c-815a-719e652d6b47
X-Archives-Hash: 3a0b18a4613e845c5c7cfe246f364b81

--=-gCj8kL7kjXDf9+0kD8SN
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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=20
> > this case, I'll have vanilla-sources-2.4.21 and say my iptables will be=
 build=20
> > against headers for 2.4.19.
> >=20
> > My question is: are there any plans to bump up the version of the heade=
rs=20
> > package, or it is obsolete. In the later case, I guess, no package shou=
ld=20
> > depend on virtual/os-headers any more, but rather on virtual/linux-sour=
ces=20
> > (or probably the *sources, shoudl provide os-headers).
>=20
> 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,

--=20

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



--=-gCj8kL7kjXDf9+0kD8SN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA+81+pqburzKaJYLYRAnA/AJ42RhDP5k274YMRtNPar9evsfYGGQCghT1f
c51RCDlODNXgJZZQ+TprYAc=
=pRY6
-----END PGP SIGNATURE-----

--=-gCj8kL7kjXDf9+0kD8SN--