1 |
/usr/src/linux is a symlink to the cuurent kernel. |
2 |
|
3 |
|
4 |
-----Original Message----- |
5 |
From: Martin Larsson [mailto:martin.larsson@×××××.com] |
6 |
Sent: Tuesday, December 07, 2004 3:31 PM |
7 |
To: gentoo-user@l.g.o |
8 |
Subject: Re: [gentoo-user] Re: Vmware modules doesn't build for |
9 |
gentoo-2.6.9-gentoo-r3 kernel |
10 |
|
11 |
On Tue, 7 Dec 2004 21:13:54 +0100, Martin Larsson <martin.larsson@×××××.com> |
12 |
wrote: |
13 |
> |
14 |
> So ... which do we use? /usr/src/linux? usr/include/linux? |
15 |
> /lib/modules/2.6.9-gentoo-r3/build/include? |
16 |
|
17 |
To answer my own question, and to restate what Georgi wrote (sorry for |
18 |
stripping your name from the quote): |
19 |
/usr/src/linux contains (or should contain) the default (or latest) kernel |
20 |
so /usr/src/linux/include contains that kernels headers. |
21 |
/usr/src/linux-2.6.9-gentoo-r3/include would then contain the headers for |
22 |
that specific version of the kernel. |
23 |
|
24 |
/lib/modues/2.6.9-gentoo-r3/build/include contains the kernel headers used |
25 |
for compiling that version of the modules. |
26 |
|
27 |
/usr/include/linux contains the C-library headers (ie. for printf and atoi |
28 |
and so on). |
29 |
|
30 |
M. |
31 |
|
32 |
-- |
33 |
gentoo-user@g.o mailing list |
34 |
|
35 |
-- |
36 |
gentoo-user@g.o mailing list |