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