<div dir="ltr">Hi Frank,<div><br></div><div>I was not aware of the right procedure to export the module's source from the VirtualBox tree, so thank you for pointing out :)</div><div><br></div><div>@ Debian Maintainers:</div><div>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.</div><div>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.</div><div><br></div><div>Thank you for your attention</div><div><br></div><div>Lorenzo</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-13 14:52 GMT+02:00 Frank Mehnert <span dir="ltr"><<a href="mailto:frank.mehnert@oracle.com" target="_blank">frank.mehnert@oracle.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Lorenzo,<br>
<span class=""><br>
On Wednesday 13 May 2015 14:23:09 lorenz lor wrote:<br>
> I'm a bit confused about the snipped you post: if I understand right, the<br>
> point is that  " kbuild is not meant to build vbox kernel modules".<br>
> So to build the modules I'm supposed to do something like<br>
> ./configure<br>
> make<br>
> make install<br>
> ?<br>
> is that right?<br>
<br>
</span>No.<br>
<br>
I'm talking about VirtualBox. To build the sources you need to do<br>
<br>
  ./configure<br>
  kmk<br>
  kmk packing<br>
<br>
This builds the whole tree and as part of the compilation process, the kernel<br>
modules are built as well but these modules are NOT meant to be actually used.<br>
To compile the Linux kernel modules, do<br>
<br>
  ./src/VBox/HostDrivers/Support/linux/export_modules ~/vboxhost.tar.gz<br>
<br>
Then extract the resulting archive and do<br>
<br>
  make<br>
<br>
in the resulting directory. This will compile the kernel modules against the<br>
currently installed kernel sources.<br>
<br>
  make install<br>
<br>
Will install the kernel modules into /lib/modules/...<br>
<br>
Please be aware that kmk as part of kBuild is something completely different<br>
than Linux kbuild (= kernel build system).<br>
<span class="HOEnZb"><font color="#888888"><br>
Frank<br>
--<br>
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox<br>
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany<br>
<br>
ORACLE Deutschland B.V. & Co. KG<br>
Hauptverwaltung: Riesstraße 25, D-80992 München<br>
Registergericht: Amtsgericht München, HRA 95603<br>
<br>
Komplementärin: ORACLE Deutschland Verwaltung B.V.<br>
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande<br>
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697<br>
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher</font></span></blockquote></div><br></div>