1 |
Am Thu, 10 Nov 2011 18:13:04 +0000 (UTC) |
2 |
schrieb Grant Edwards <grant.b.edwards@×××××.com>: |
3 |
|
4 |
> On 2011-11-10, Jonas de Buhr <jonas.de.buhr@×××.net> wrote: |
5 |
> > Hello everyone! |
6 |
> > |
7 |
> > virtualbox modules fails with the following |
8 |
> > |
9 |
> > * Messages for package app-emulation/virtualbox-modules-4.1.4: |
10 |
> > |
11 |
> > * Could not find a Makefile in the kernel source directory. |
12 |
> [...] |
13 |
> |
14 |
> > # uname -a |
15 |
> > Linux <hostname> 2.6.39-gentoo-r3 #5 SMP Sun Oct 9 19:25:51 CEST |
16 |
> > 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel |
17 |
> > GNU/Linux |
18 |
> > |
19 |
> > i don't get it. does anybody know whats wrong? |
20 |
> |
21 |
> Presumably there isn't a Makefile in /usr/src/Linux? |
22 |
|
23 |
sorry, i was in a hurry, i really should have asked more specific |
24 |
questions. yes, there is no makefile in the kernel sources and that |
25 |
causes all make commands in the kernel source dir to fail (of course). |
26 |
|
27 |
i have the sources for 3.0.6 installed and configured emerge to change |
28 |
the symlinks on install of kernel sources. |
29 |
but... does emerge delete the older makefiles? why would it? |
30 |
|
31 |
i hope there is a reasonable explanation for the makefiles |
32 |
disappearing, i really can't use a failing HD at the moment. |
33 |
|
34 |
> |
35 |
> If you've done a "make clean" or something similar in the linux source |
36 |
> directory (or if you've never built a kernel), you'll have to |
37 |
|
38 |
well, i built the kernel i am running, is there a different way? :P |
39 |
|
40 |
> re-generate at least the files required to build modules. Try doing |
41 |
> "make modules_prepare" in your linux source directory. |
42 |
> |
43 |
> The full story is in |
44 |
> |
45 |
> /usr/src/linux/Documentation/kbuild/modules.txt sectio 2. |
46 |
> |
47 |
|
48 |
thanks! |