public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jonas de Buhr <jonas.de.buhr@gmx.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: app-emulation/virtualbox-modules and kernel sources
Date: Sun, 13 Nov 2011 00:32:31 +0100	[thread overview]
Message-ID: <20111113003231.322453b4@toxic.dbnet> (raw)
In-Reply-To: <j9h47g$og1$1@dough.gmane.org>

Am Thu, 10 Nov 2011 18:13:04 +0000 (UTC)
schrieb Grant Edwards <grant.b.edwards@gmail.com>:

> On 2011-11-10, Jonas de Buhr <jonas.de.buhr@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?

sorry, i was in a hurry, i really should have asked more specific
questions. yes, there is no makefile in the kernel sources and that
causes all make commands in the kernel source dir to fail (of course).

i have the sources for 3.0.6 installed and configured emerge to change
the symlinks on install of kernel sources.
but... does emerge delete the older makefiles? why would it? 

i hope there is a reasonable explanation for the makefiles
disappearing, i really can't use a failing HD at the moment.

> 
> 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

well, i built the kernel i am running, is there a different way? :P

> 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.
> 

thanks!



  reply	other threads:[~2011-11-12 23:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-10 17:13 [gentoo-user] app-emulation/virtualbox-modules and kernel sources Jonas de Buhr
2011-11-10 18:13 ` [gentoo-user] " Grant Edwards
2011-11-12 23:32   ` Jonas de Buhr [this message]
2011-11-13 11:58     ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111113003231.322453b4@toxic.dbnet \
    --to=jonas.de.buhr@gmx.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox