Re: One more time: /usr/include/linux, /usr/include/asm

From: Denis Vlasenko (vda@port.imtp.ilyichevsk.odessa.ua)
Date: Thu Nov 21 2002 - 07:50:36 EST


On 20 November 2002 20:05, Mark H. Wood wrote:
> I just built a new glibc. (Yes, I do that.) Recalling that the
> above-mentioned paths are (according to Linus and many others) not
> supposed to be links to /usr/src/linux or any other
> kernel-kit-du-jour, I resolved to be a good boy and get rid of those
> links. For some reason I expected that 'make install' for glibc
> would create directories there and put into them whatever it wanted.
> I recall that that was discussed....
>
> No dice. glibc 2.3.1 still installs headers into
> /usr/include/{VARIOUS} which refer to /usr/include/linux and
> /usr/include/asm but does not supply that to which they refer.
> *sigh* After rummaging through several long threads in the archives,
> I still don't have an answer to the following:
>
> 1. What is supposed to be in /usr/include/linux and /usr/include/asm?

Kernel header files against which glibc was built.

> 2. Where does the information come from?

>From kernel source you chose to build glibc against.
There is a glibc configure option to select which kernel
header directory to use. I normally copy it from latest
stable kernel into glibc source to prevent any unwanted
interactions.

> 3. Who is responsible for putting it there?

Don't remember. Anyway, it's easy to do by hand if make install
did not do it for you.

--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:35 EST