Results 1 to 1 of 1

Thread: Guest Additions module failure on VBox install

  1. #1
    Join Date
    2014-Jun
    Posts
    1

    Guest Additions module failure on VBox install

    Currently tryingt to install Kali 1.0.7 (Debian 64 bit) on Virtual Box 4.3.12 r93733.

    I have the .iso file (VOBOXADDITIONS_4.3.12_93733) mounted and ready to install, but when I try to execute

    Code:
    ./VBoxLinuxAdditions.run
    I get an error that reads

    Code:
    Buililding the main Guest Additions module ...fail!
    I can confirm that my /etc/apt/sources.list file has the following sources added:

    Code:
    deb http://http.kali.org/kal kali main non-free contrib
    deb-src http://httpkali.org/kali kali main non-free contrib
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    I've ran the command

    Code:
    apt-get update && apt-get install -y linux-headers-$(uname -r)
    to ensure my headers are up to date. Yet when trying to autorun the iso I still get the failure.

    Log file from /var/log/vboxadd-install.log reads as follows:
    Code:
    /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
       gcc-4.7 -Wp,-MD,/tmp/vbox.0/.VBoxGuest-linux.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.7/include -I/usr/src/linux-headers-3.14-kali1-common/arch/x86/include -Iarch/x86/include/generated  -I/usr/src/linux-headers-3.14-kali1-common/include -Iinclude -I/usr/src/linux-headers-3.14-kali1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.14-kali1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.14-kali1-common/include/linux/kconfig.h   -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h   -I/lib/modules/3.14-kali1-amd64/build/include   -I/tmp/vbox.0/   -I/tmp/vbox.0/include   -I/tmp/vbox.0/r0drv/linux   -I/tmp/vbox.0/vboxguest/   -I/tmp/vbox.0/vboxguest/include   -I/tmp/vbox.0/vboxguest/r0drv/linux -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_linux)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxguest)" -c -o /tmp/vbox.0/.tmp_VBoxGuest-linux.o /tmp/vbox.0/VBoxGuest-linux.c
    @                                                                                                              
                                                                                                  1,1           Top
    Any advice for troubleshooting or solving this error would be most welcome. Thanks in advance.

    UPDATE: I just fired up a Debian 32 bit install following the same protocol listed above. Once I updated the linux headers, Guest Additions module installed without failure.
    Last edited by chapcore; 2014-06-22 at 18:37. Reason: Update on troubleshooting

Similar Threads

  1. Cannot Install Virtualbox guest additions
    By NewUser in forum General Archive
    Replies: 0
    Last Post: 2017-02-17, 15:08
  2. Building the main Guest Additions module - crashed
    By frafri in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2015-08-14, 16:40
  3. Building the main Guest Additions module - crashed
    By frafri in forum Installing Archive
    Replies: 4
    Last Post: 2015-08-14, 16:40

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •