I have having some issues installing the Guest additions on Kali Linux as a guest on VirtualBox.I'm not really sure whom to consult with ,I thought this forum would be a good place to start. I followed these instructions http://kanishkashowto.com/2013/09/03...by-step-guide/ , but I am still met with
Code:
Building the main Guest Additions module ...fail!
. It tells me to look up the /var/log/vboxadd-install.log to see what happened, but I am not able to really interpret.

Let me know if you need anymore information. I would greatly appreciate the help, since I need the guest additions to use a USB adapter, that of which I need to practice pentesting other machines. Sure, I can use a live CD, but I enjoy having saved prefrences on the installation.

P.s I had to delete some of the code from the log since this forums only allows 10000 characters
Code:
Uninstalling modules from DKMS
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxguest/4.2.16/source ->
                 /usr/src/vboxguest-4.2.16

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.14-kali1-amd64 -C /lib/modules/3.14-kali1-amd64/build M=/var/lib/dkms/vboxguest/4.2.16/build......(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.14-kali1-amd64 (x86_64)
Consult /var/lib/dkms/vboxguest/4.2.16/build/make.log for more information.
Failed to install using DKMS, attempting to install without
grep: /lib/modules/3.14-kali1-amd64/build/include/linux/version.h: No such file or directory
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/3.14-kali1-amd64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
make -C /usr/src/linux-headers-3.14-kali1-amd64 \
	KBUILD_SRC=/usr/src/linux-headers-3.14-kali1-common \
	KBUILD_EXTMOD="/tmp/vbox.0" -f /usr/src/linux-headers-3.14-kali1-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 missing.";\
	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.14-kali1-common/scripts/Makefile.build obj=/tmp/vbox.0
  -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(VBoxGuest)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxguest)" -c -o /tmp/vbox.0/.tmp_VBoxGuest.o /tmp/vbox.0/VBoxGuest.c
/tmp/vbox.0/VBoxGuest.c: In function ‘VBoxGuestCommonGetHandledEventsLocked’:
/tmp/vbox.0/VBoxGuest.c:87:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/tmp/vbox.0/VBoxGuest.c: In function ‘VBoxGuestCommonCheckEvents’:
/tmp/vbox.0/VBoxGuest.c:2510:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/tmp/vbox.0/VBoxGuest.c:2528:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/tmp/vbox.0/VBoxGuest.c: In function ‘VBoxGuestCommonGuestCapsAcquire’:
/tmp/vbox.0/VBoxGuest.c:2577:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/tmp/vbox.0/VBoxGuest.c:2622:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/tmp/vbox.0/VBoxGuest.c:2635:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/tmp/vbox.0/VBoxGuest.c: In function ‘VBoxGuestCommonIOCtl’:
/tmp/vbox.0/VBoxGuest.c:2788:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(memobj_r0drv_linux)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxguest)" -c -o /tmp/vbox.0/r0drv/linux/.tmp_memobj-r0drv-linux.o /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeMapUser’:
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1539:26: error: ‘struct mm_struct’ has no member named ‘numa_next_reset’
make[4]: *** [/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[3]: *** [_module_/tmp/vbox.0] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make: *** [vboxguest] Error 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.