Gentoo Archives: gentoo-user

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel
Date: Wed, 08 Dec 2004 03:52:15
Message-Id: pan.2004.12.08.03.51.49.801434@gg3.net
In Reply to: Re: [gentoo-user] Re: Vmware modules doesn't build for gentoo-2.6.9-gentoo-r3 kernel by Martin Larsson
1 On Tue, 07 Dec 2004 21:31:26 +0100, Martin Larsson wrote:
2
3 > On Tue, 7 Dec 2004 21:13:54 +0100, Martin Larsson
4 > <martin.larsson@×××××.com> wrote:
5 >
6 > /usr/include/linux contains the C-library headers (ie. for printf and
7 > atoi and so on).
8
9 Not exactly. "printf" is defined in /usr/include/stdio.h, "atoi" is
10 defined in /usr/include/stdlib.h.
11
12 You gave examples with basic functions that have nothing to do with
13 the kernel. There is a nice quote in the LFS book:
14
15 http://lfs.osuosl.org/lfs/view/5.1.1/chapter06/kernelheaders.html
16
17 As it states:
18
19 The essential part is where Linus states that the header files should be
20 the ones which Glibc was compiled against. These are the headers that
21 should be used when you later compile other packages, as they are the
22 ones that match the object-code library files. By copying the headers
23 [to /usr/include/linux], we ensure that they remain available if later
24 you upgrade your kernel.
25
26 So, if you use the headers for 2.6.9 and you run a 2.6.9 kernel, the
27 headers in /usr/include/linux and /usr/src/linux/include/linux will be
28 identical.
29
30 --
31 / Georgi Georgiev / We're only in it for the volume. -- Black /
32 \ chutz@×××.net \ Sabbath \
33 / +81(90)6266-1163 / /
34
35
36
37 --
38 gentoo-user@g.o mailing list