public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] linux-headers in baselayout
@ 2003-02-13  8:41 Ingo Krabbe
  2003-02-13 10:05 ` Joseph Carter
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo Krabbe @ 2003-02-13  8:41 UTC (permalink / raw
  To: Gentoo Developer

I have a small problem with linux headers as a dependency in
baselayout.  Hmm, I don't know exactly why I encounter it at all:

Linux headers install /usr/include/linux and /usr/include/asm.

A normal developer configuration would be to link
/usr/src/linux/include/linux -> /usr/include/linux and
/usr/src/linux/include/asm -> /usr/include/asm

The configuration headers in linux-headers of course won't match an own
kernel configuration in most cases.

So what am I supposed to do ? Should I fake emerge linux-headers-2.4.19
or are there more sophisticated methods.  Overwriting baselayout ebuild
is no acceptable answer !

BYE INGO

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] linux-headers in baselayout
  2003-02-13  8:41 [gentoo-dev] linux-headers in baselayout Ingo Krabbe
@ 2003-02-13 10:05 ` Joseph Carter
  2003-02-13 10:15   ` Ingo Krabbe
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Carter @ 2003-02-13 10:05 UTC (permalink / raw
  To: Gentoo Developer

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

On Thu, Feb 13, 2003 at 09:41:48AM +0100, Ingo Krabbe wrote:
> I have a small problem with linux headers as a dependency in
> baselayout.  Hmm, I don't know exactly why I encounter it at all:
> 
> Linux headers install /usr/include/linux and /usr/include/asm.
> 
> A normal developer configuration would be to link
> /usr/src/linux/include/linux -> /usr/include/linux and
> /usr/src/linux/include/asm -> /usr/include/asm

Linus Torvalds has said repeatedly that these should match the glibc
headers, NOT your current kernel.  He justified himself, and others have
provided the same and other good reasons not to have those be symlinks.

For some reason, people refuse to listen.

-- 
Joseph Carter <knghtbrd@efn.org>             A mighty Oak is the result of
  ^ a nut                                       a nut that held its ground
 
Try intercal.
You will never hate another programming language again.
        -- Richard Braakman


[-- Attachment #2: Type: application/pgp-signature, Size: 253 bytes --]

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

* Re: [gentoo-dev] linux-headers in baselayout
  2003-02-13 10:05 ` Joseph Carter
@ 2003-02-13 10:15   ` Ingo Krabbe
  0 siblings, 0 replies; 3+ messages in thread
From: Ingo Krabbe @ 2003-02-13 10:15 UTC (permalink / raw
  To: Gentoo Developer

On Thu, Feb 13, 2003 at 02:05:18AM -0800, Joseph Carter wrote:
> On Thu, Feb 13, 2003 at 09:41:48AM +0100, Ingo Krabbe wrote:
> > I have a small problem with linux headers as a dependency in
> > baselayout.  Hmm, I don't know exactly why I encounter it at all:
> > 
> > Linux headers install /usr/include/linux and /usr/include/asm.
> > 
> > A normal developer configuration would be to link
> > /usr/src/linux/include/linux -> /usr/include/linux and
> > /usr/src/linux/include/asm -> /usr/include/asm
> 
> Linus Torvalds has said repeatedly that these should match the glibc
> headers, NOT your current kernel.  He justified himself, and others have
> provided the same and other good reasons not to have those be symlinks.
> 
> For some reason, people refuse to listen.
> 
> -- 
> Joseph Carter <knghtbrd@efn.org>             A mighty Oak is the result of
>   ^ a nut                                       a nut that held its ground
>  
> Try intercal.
> You will never hate another programming language again.
>         -- Richard Braakman
> 

Hmm, yes thats understood, no problem to use it this way.  I'm just a
bit confused about "/usr/include/autoconf.h", which contains different
variables, then the running kernel.  This again is a problem for the
alsa-driver module which complains about missing version information in
modules, that I actually switched off.

I come through that this is a bug of alsa-driver.  Wouldn't it be
usefull to remove autoconf.h at all for secrutity reasons since packages
that rely on the current kernel configuration should be compiled against
/usr/src/linux/include/linux and not against /usr/include/linux ?

BYE INGO

--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2003-02-13 10:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-13  8:41 [gentoo-dev] linux-headers in baselayout Ingo Krabbe
2003-02-13 10:05 ` Joseph Carter
2003-02-13 10:15   ` Ingo Krabbe

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