On 22/01/11 19:42, Boyd Stephen Smith Jr. wrote:
In<[🔎] 4D3B20C8.3080503@o2.pl>, MRH wrote:CC [M] /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/SUPDrv-linux.o In file included from /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/include/VBox/types.h:30, from /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/../SUPDrvInternal.h:35, from /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/SUPDrv-linux.c:31: /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/include/iprt/types.h:105:31: error: linux/autoconf.h: No such fil e or directoryThis file should be provided by the linux-headers-* package for your kernel. Make sure you are this package installed in order to build kernel modules.
Installed. As I wrote before, I build and installed both linux-image and linux-headers.
I have home-build kernel. I suspect the problem is I build the kernel with --append-to-version: make-kpkg --initrd --revision=.mrh.01 --append-to-version=.mrh.01 but this helps me keeping things tidy.I'm not familiar with make-kpkg since the stock Debian kernels have served me well so far. Does it prepare all the linux-* .debs? You'll need linux- headers-* for building kernel modules.
Yes, it builds: linux-image-2.6.38-rc1.mrh.01_.mrh.01_amd64.deb linux-headers-2.6.38-rc1.mrh.01_.mrh.01_amd64.deb and I have them installed.I tried reinstalling dkms, kernel-package, virtualbox, both linux image and headers - still nothing.
I installed stock debian kernel - then it worked -ish - I mean both drivers have compiled, however X environment did not work (nvidia driver didn't work) and some other things I use are not available in the stock kernel.
Kind regards, Michal -- Michal R. Hoffmann