virtualbox-guest-dkms 4.1.12-dfsg-2ubuntu0.3: virtualbox-guest kernel module failed to build

Bug #1225291 reported by Stacey-ird
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
New
Undecided
Unassigned

Bug Description

After a fresh install of Ubuntu Desktop 12.04.3 64-bit

sudo apt-get update
sudo apt-get dist-upgrade
reboot
sudo apt-get install virtualbox-guest-utils
.
.
.
Setting up virtualbox-guest-dkms (4.1.12-dfsg-2ubuntu0.3) ...
Loading new virtualbox-guest-4.1.12 DKMS files...
First Installation: checking all kernels...
Building only for 3.8.0-30-generic
Building initial module for 3.8.0-30-generic
Error! Bad return status for module build on kernel: 3.8.0-30-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/4.1.12/build/make.log for more information.

/var/lib/dkms/virtualbox-guest/4.1.12/build/make.log reads:

DKMS make.log for virtualbox-guest-4.1.12 for kernel 3.8.0-30-generic (x86_64)
Sat Sep 14 16:31:05 NZST 2013
make: Entering directory `/usr/src/linux-headers-3.8.0-30-generic'
  LD /var/lib/dkms/virtualbox-guest/4.1.12/build/built-in.o
  LD /var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/built-in.o
  CC [M] /var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.o
/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.c:206:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_VBoxGuestPciId’
/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.c:216:1: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘g_VBoxGuestPciId’
make[2]: *** [/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.o] Error 1
make[1]: *** [/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest] Error 2
make: *** [_module_/var/lib/dkms/virtualbox-guest/4.1.12/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.8.0-30-generic'

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: virtualbox-guest-dkms 4.1.12-dfsg-2ubuntu0.3
ProcVersionSignature: Ubuntu 3.8.0-30.44~precise1-generic 3.8.13.6
Uname: Linux 3.8.0-30-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
DKMSKernelVersion: 3.8.0-30-generic
Date: Sat Sep 14 16:31:09 2013
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 4.1.12-dfsg-2ubuntu0.3
SourcePackage: virtualbox
Title: virtualbox-guest-dkms 4.1.12-dfsg-2ubuntu0.3: virtualbox-guest kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
VirtualBox.ModInfo:

Revision history for this message
Stacey-ird (stacey-ird) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Stacey-ird (stacey-ird) wrote :

I did another fresh install of Ubuntu 12.04.3 Desktop 64-bit (In VirtualBox 4.2.16r86992 on Windows 8 Pro) and this time waited for the Additional Drivers dialog to appear. It offered to install x86 virtualization solution - guest addition module source for dkms. This also failed with same error.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1101867, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.