Public bug reported: When installing the 4.2.6 Guest Additions from Oracle on a Ubuntu 13.04 64-bit guest I saw the following message. I know its alpha at best but thought I would at least report what I saw and also my possible temporay fix.
# lsb_release -rd Description: Ubuntu Raring Ringtail (development branch) Release: 13.04 # cat /var/log/vboxadd-install.log ... /tmp/vbox.0/VBoxGuest-linux.c:199:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_VBoxGuestPciId’ /tmp/vbox.0/VBoxGuest-linux.c:328:21: error: ‘g_VBoxGuestPciId’ undeclared here (not in a function) /tmp/vbox.0/VBoxGuest-linux.c:209:1: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘g_VBoxGuestPciId’ make[2]: *** [/tmp/vbox.0/VBoxGuest-linux.o] Error 1 make[1]: *** [_module_/tmp/vbox.0] Error 2 make: *** [vboxguest] Error 2 Creating user for the Guest Additions. Creating udev rule for the Guest Additions kernel module. Temorarily I did the following until I can figure out why this is: # pwd /opt/VBoxGuestAdditions-4.2.6/src/vboxguest-4.2.6/vboxguest # diff VBoxGuest-linux.c VBoxGuest-linux.c.orig 199c199 < static const struct pci_device_id g_VBoxGuestPciId[] = --- > static const struct pci_device_id __devinitdata g_VBoxGuestPciId[] = Then the compile ran ok and the modules were built: # /etc/init.d/vboxadd setup Removing existing VirtualBox DKMS kernel modules ...done. Removing existing VirtualBox non-DKMS kernel modules ...done. Building the VirtualBox Guest Additions kernel modules ...done. Doing non-kernel setup of the Guest Additions ...done. Starting the VirtualBox Guest Additions ...done. $ lsmod | grep vbox vboxvideo 12611 1 drm 281283 2 vboxvideo vboxsf 39446 0 vboxguest 231397 6 vboxsf # modinfo vboxguest filename: /lib/modules/3.8.0-5-generic/updates/dkms/vboxguest.ko version: 4.2.6 license: GPL description: Oracle VM VirtualBox Guest Additions for Linux Module author: Oracle Corporation srcversion: 0FB22D1C2C973C6A5C6BEA2 alias: pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i* depends: vermagic: 3.8.0-5-generic SMP mod_unload modversions ** Affects: virtualbox-guest-additions (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1121156 Title: Compile of vboxguest module fails for Ubuntu 13.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virtualbox-guest-additions/+bug/1121156/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs