id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host 6958,debian lenny - kernel compilation problem on self made kernel,Michele Petrazzo,,"Hi all,[[BR]] my system is a debian lenny with kernel compiled by myself (with bfs patch) and I found that there is a problem compiling vboxdrv (/etc/init.d/vboxdrv setup): error message (vbox-install.log) say me:[[BR]] Makefile:170: *** Error: /usr/src/linux (version 2.6.34) does not match the current kernel (version 2.6.34-bfs). Stop. Looking around I see two things:[[BR]] - I have no /usr/src/linux link even if it's indicated[[BR]] - /lib/modules/2.6.34-bfs/build point to a directory (/home/michele/Download/kernel/linux-2.6.34) where I have the 2.6.34 kernel sources *with* bfs patch. Conversely if I create the /build link pointing to /usr/src/linux-headers-2.6.34-bfs it compile without problem. So can be that Makefile look for the wrong file in case of self build kernels? (of course can be also a problem of the debian kernel installation / compile procedure, but I never seen other problems with other softwares, so... ) P.s. I compile the kernel with standard debian-way, so:[[BR]] fakeroot make-kpkg --append-to-version -bfs kernel_image --initrd kernel_headers[[BR]] dpkg -i linux-headers-2.6.34-bfs* linux-kernel-2-6.34-bfs* Michele",defect,closed,installer,VirtualBox 3.2.4,invalid,,,other,Linux