[Pkg-virtualbox-devel] Bug#785161: Bug#785161: kbuild: module-assistant fails to build virtualbox-source
Gianfranco Costamagna
costamagnagianfranco at yahoo.it
Wed May 13 16:43:44 UTC 2015
Please post the *exact* sequence you run in order to spot the problem.
I never used vbox source, I use vbox-dkms :)
cheers,
G.
Sent from Yahoo Mail on Android
From:"lorenz lor" <lorenzo.ru.g at gmail.com>
Date:Wed, 13 May, 2015 at 18:40
Subject:Re: [Pkg-virtualbox-devel] Bug#785161: kbuild: module-assistant fails to build virtualbox-source
Hi Frank,
I was not aware of the right procedure to export the module's source from the VirtualBox tree, so thank you for pointing out :)
@ Debian Maintainers:
I still think there is a problem with m-a and/or virtualbox-source Debian packages: from the first message I post it seems that m-a is using kmk to build the vbox module instead of the standard make, and this is an "unsupported way of building" that leads to the failure.
Of course, as a non developer, I have a limited ability to understand this kind of problems so if you think there is nothing to fix I won't push this issue further.
Thank you for your attention
Lorenzo
2015-05-13 14:52 GMT+02:00 Frank Mehnert <frank.mehnert at oracle.com>:
Hi Lorenzo,
On Wednesday 13 May 2015 14:23:09 lorenz lor wrote:
> I'm a bit confused about the snipped you post: if I understand right, the
> point is that " kbuild is not meant to build vbox kernel modules".
> So to build the modules I'm supposed to do something like
> ./configure
> make
> make install
> ?
> is that right?
No.
I'm talking about VirtualBox. To build the sources you need to do
./configure
kmk
kmk packing
This builds the whole tree and as part of the compilation process, the kernel
modules are built as well but these modules are NOT meant to be actually used.
To compile the Linux kernel modules, do
./src/VBox/HostDrivers/Support/linux/export_modules ~/vboxhost.tar.gz
Then extract the resulting archive and do
make
in the resulting directory. This will compile the kernel modules against the
currently installed kernel sources.
make install
Will install the kernel modules into /lib/modules/...
Please be aware that kmk as part of kBuild is something completely different
than Linux kbuild (= kernel build system).
Frank
--
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20150513/8399ed87/attachment-0002.html>
More information about the Pkg-virtualbox-devel
mailing list