Any help or advice would be muchly appreciated :)
I get the following output when trying to run "bash /media/cdrom0/VBoxLinuxGuestAdditions.run".
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
Warning: unknown version of the X Window System installed. Not installing
X Window System drivers.
Installing modules ...done.
Installing graphics libraries and desktop services components ...done.
Host machine: Windows 7 Enterprise SP1
Virtualbox Version 4.1.6r74713 (on a work machine, no option to try latest version I'm afraid).
I have Arch working fine with GuestAdditions installed so unsure if the version of VirtualBox matters.
Below is the contents of /var/log/vboxadd-install.log:
Uninstalling modules from DKMS
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxguest/4.1.6/source ->
/usr/src/vboxguest-4.1.6
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=3.16.0-4-amd64 -C /lib/modules/3.16.0-4-amd64/build M=/var/l$
Error! Bad return status for module build on kernel: 3.16.0-4-amd64 (x86_64)
Consult /var/lib/dkms/vboxguest/4.1.6/build/make.log for more information.
Failed to install using DKMS, attempting to install without
grep: /lib/modules/3.16.0-4-amd64/build/include/linux/version.h: No such file o$
make KBUILD_VERBOSE=1 -C /lib/modules/3.16.0-4-amd64/build SUBDIRS=/tmp/vbox.0 $
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
make -C /usr/src/linux-headers-3.16.0-4-amd64 \
KBUILD_SRC=/usr/src/linux-headers-3.16.0-4-common \
KBUILD_EXTMOD="/tmp/vbox.0" -f /usr/src/linux-headers-3.16.0-4-common/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( $
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are$
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it$
echo >&2 ; \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f /usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build obj=/tmp/$
gcc-4.8 -Wp,-MD,/tmp/vbox.0/.VBoxGuest-linux.o.d -nostdinc -isystem /usr/li$
/tmp/vbox.0/VBoxGuest-linux.c:206:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘$
static const struct pci_device_id __devinitdata g_VBoxGuestPciId[] =
^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:75:0,
from /tmp/vbox.0/VBoxGuest-linux.c:28:
/usr/src/linux-headers-3.16.0-4-common/include/linux/module.h:138:40: error: ‘_$
extern const struct type##_device_id __mod_##type##__##name##_device_table \
^
/tmp/vbox.0/VBoxGuest-linux.c:216:1: note: in expansion of macro ‘MODULE_DEVICE$
MODULE_DEVICE_TABLE(pci, g_VBoxGuestPciId);
^
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:262: recipe for t$
make[4]: *** [/tmp/vbox.0/VBoxGuest-linux.o] Error 1
/usr/src/linux-headers-3.16.0-4-common/Makefile:1350: recipe for target '_modul$
make[3]: *** [_module_/tmp/vbox.0] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
/tmp/vbox.0/Makefile.include.footer:78: recipe for target 'vboxguest' failed
make: *** [vboxguest] Error 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
Cheers
Clint