Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] Re: glibc-kernel-headers

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Hamish Greig <hgreig AT bigpond.net.au>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] Re: glibc-kernel-headers
  • Date: Sun, 8 Feb 2004 21:35:30 +1100

> > that would mean you didn't actually have a /usr/src/linux link to your
> > 2.4.2X sources I think. PLease check the link is there and recast glibc.
>
> indeed there is no such link, because I understood from various messages in
> the list relating to the kernel that the link was now obsolete, and that
> spells should look at /lib/modules/`uname -r`/build to determine the
> relevant source tree. All other spells have been building correctly since
> the /usr/src/linux symlink was removed
>
> Also, I thought that the new glibc-kernel-headers spell provided the
> relevant information. These were installed in /usr/include/linux
>
> > Hamish
>
> Regards, Treeve

Unfortunately if you build a kernel with no modules /lib/modules/`uname
-r`/build doesn't exist, so the symlink to /usr/src/linux had to be
reinstated. It is once again part of the linux spell as we needed a
definitive way of locating kernel sources from the most recently compiled
(and hopefully running) kernel.

The glibc-kernel-headers are for userspace only so they are installed
to /usr/include.

Hamish

--
IRC nick: drmoriarty
SMGL co-conspirator
# Do You SMGL!?
# http://www.sourcemage.org/
# Linux so advanced it may as well be magic!
ANTI-SPAM WARNING: I delete any html message from my server without reading
Please use text only

Attachment: pgpnB6bx2jGes.pgp
Description: signature




Archive powered by MHonArc 2.6.24.

Top of Page