Here is the Fix.. have Virtual Box installing XP right now.....below are the commands to enter and the responses to the sudo commands... I am not experienced programming but know enough to wiggle through sometimes... This is the solution to bug #1016165
Step 1 sudo apt-get install build-essential linux-headers-`uname -r` [sudo] password for lrbjr-dv7-64: Resulting Program Instructions completed by system - this is for your info.. no entry required... these are the responses to the sudo input above... Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. build-essential set to manually installed. The following packages were automatically installed and are no longer required: libasprintf0c2:i386 libgomp1:i386 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: linux-headers-3.5.0-22 linux-headers-3.5.0-22-generic 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 13.1 MB of archives. After this operation, 69.9 MB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main linux-headers-3.5.0-22 all 3.5.0-22.34 [12.1 MB] Get:2 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main linux-headers-3.5.0-22-generic amd64 3.5.0-22.34 [965 kB] Fetched 13.1 MB in 1min 31s (142 kB/s) Selecting previously unselected package linux-headers-3.5.0-22. (Reading database ... 173444 files and directories currently installed.) Unpacking linux-headers-3.5.0-22 (from .../linux-headers-3.5.0-22_3.5.0-22.34_all.deb) ... Selecting previously unselected package linux-headers-3.5.0-22-generic. Unpacking linux-headers-3.5.0-22-generic (from .../linux-headers-3.5.0-22-generic_3.5.0-22.34_amd64.deb) ... Setting up linux-headers-3.5.0-22 (3.5.0-22.34) ... Setting up linux-headers-3.5.0-22-generic (3.5.0-22.34) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 3.5.0-22-generic /boot/vmlinuz-3.5.0-22-generic Step 2 - correcting 12.10 and I am sure other previous versions.. the sudo command below can only be run after the updating the headers in step 1. sudo /etc/init.d/vboxdrv setup Resulting Program Instructions completed by system - this is for your info.. no entry required... these are the responses to the sudo input above... * Stopping VirtualBox kernel modules [ OK ] * Uninstalling old VirtualBox DKMS kernel modules [ OK ] * Trying to register the VirtualBox kernel modules using DKMS [ OK ] * Starting VirtualBox kernel modules [ OK ] -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
