1 |
On 2011-11-10, Jonas de Buhr <jonas.de.buhr@×××.net> wrote: |
2 |
> Hello everyone! |
3 |
> |
4 |
> virtualbox modules fails with the following |
5 |
> |
6 |
> * Messages for package app-emulation/virtualbox-modules-4.1.4: |
7 |
> |
8 |
> * Could not find a Makefile in the kernel source directory. |
9 |
[...] |
10 |
|
11 |
> # uname -a |
12 |
> Linux <hostname> 2.6.39-gentoo-r3 #5 SMP Sun Oct 9 19:25:51 CEST 2011 |
13 |
> x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel |
14 |
> GNU/Linux |
15 |
> |
16 |
> i don't get it. does anybody know whats wrong? |
17 |
|
18 |
Presumably there isn't a Makefile in /usr/src/Linux? |
19 |
|
20 |
If you've done a "make clean" or something similar in the linux source |
21 |
directory (or if you've never built a kernel), you'll have to |
22 |
re-generate at least the files required to build modules. Try doing |
23 |
"make modules_prepare" in your linux source directory. |
24 |
|
25 |
The full story is in |
26 |
|
27 |
/usr/src/linux/Documentation/kbuild/modules.txt sectio 2. |
28 |
|
29 |
-- |
30 |
Grant Edwards grant.b.edwards Yow! My Aunt MAUREEN was a |
31 |
at military advisor to IKE & |
32 |
gmail.com TINA TURNER!! |