[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] SuSE 7.2 kernel source



Alex Hudson wrote:

> On Sunday 14 October 2001 19:44, you wrote:
> 
>>> Absolutely correct. /usr/src/linux should contain the headers to the
>>> version of the kernel your glibc was compiled on, IIRC.

It is rather strange then that when I installed the kernel-source rpm it 
bunged the sources in /usr/src/linux.  Ho hum.  I've moved them to 
/usr/local/src as you suggested.


>> glibc is the only thing that should require kernel headers to compile.
> 
> 
> glibc comes with a set of it's own headers; /usr/src/linux being they (or at 
> least, used to be). In that sense, they're not kernel headers, they're glibc 
> headers. I don't have a /usr/src/linux, but it used to be that 
> /usr/include/linux would be a link to it (oldish RedHat, I think - it's 
> certainly not that way any more).
> 
> 
>> Depending on kernel headers from userspace is wrong.
> 
> 
> To the extent that very few applications interface with the kernel from 
> userland, yes. Not wrong per se, though. "Generally unneccessary" is the term 
> I would use, I think.

I don't pretend to understand your discussion here, but I've nothing of 
interest in /usr/src and certainly no kernel headers:

root@linux:/usr/local/src/linux > ls -R /usr/src
/usr/src:
packages

/usr/src/packages:
BUILD  RPMS  SOURCES  SPECS  SRPMS

/usr/src/packages/BUILD:

/usr/src/packages/RPMS:
athlon  i386  i486  i586  i686  noarch

/usr/src/packages/RPMS/athlon:

/usr/src/packages/RPMS/i386:

/usr/src/packages/RPMS/i486:

/usr/src/packages/RPMS/i586:

/usr/src/packages/RPMS/i686:

/usr/src/packages/RPMS/noarch:

/usr/src/packages/SOURCES:

/usr/src/packages/SPECS:

/usr/src/packages/SRPMS:

___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.