Situation is still present in the 4.1.18 version of VirtualBox and the latest version of the kernel. $ uname -r 3.5.0-2-generic
Error reported when installing the guest additions: Building the VirtualBox Guest Additions kernel modules The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason. Building the main Guest Additions module ...fail! (Look at /var/log/vboxadd-install.log to find out what went wrong) Doing non-kernel setup of the Guest Additions ...done. Installing the Window System drivers Installing X.Org Server 1.11 modules ...done. Setting up the Window System to use the Guest Additions ...done. You may need to restart the hal service and the Window System (or just restart the guest system) to enable the Guest Additions. Installing graphics libraries and desktop services components ...done. Attached /var/log/vboxadd-install.log which still indicates: /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1150:9: error: implicit declaration of function ‘do_mmap’ [-Werror=implicit-function-declaration] ** Attachment added: "vboxadd-install.log" https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1016165/+attachment/3205419/+files/vboxadd-install.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1016165 Title: virtualbox-guest-dkms 4.1.16-dfsg-2: virtualbox-guest kernel module failed to build [error: implicit declaration of function ‘do_mmap’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1016165/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs