On 2011-11-10, Jonas de Buhr <jonas.de.b...@gmx.net> wrote:
> Hello everyone!
>
> virtualbox modules fails with the following
>
> * Messages for package app-emulation/virtualbox-modules-4.1.4:
>
>  * Could not find a Makefile in the kernel source directory.
[...]

> # uname -a
> Linux <hostname> 2.6.39-gentoo-r3 #5 SMP Sun Oct 9 19:25:51 CEST 2011
> x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel
> GNU/Linux
>
> i don't get it. does anybody know whats wrong?

Presumably there isn't a Makefile in /usr/src/Linux?

If you've done a "make clean" or something similar in the linux source
directory (or if you've never built a kernel), you'll have to
re-generate at least the files required to build modules.  Try doing
"make modules_prepare" in your linux source directory.

The full story is in 

/usr/src/linux/Documentation/kbuild/modules.txt sectio 2.

-- 
Grant Edwards               grant.b.edwards        Yow! My Aunt MAUREEN was a
                                  at               military advisor to IKE &
                              gmail.com            TINA TURNER!!


Reply via email to