Page 1 of 1

VirtualBoxGuestAdditions woes on fedora 20 vm

Posted: 2. Sep 2014, 22:58
by neuronetv
I can't get VirtualBoxGuestAdditions to install in a fedora 20 vm, it fails all the time. I was following the instructions here:
http://www.if-not-true-then-false.com/2 ... nt-page-1/

Here's what I have so far.

Code: Select all

# uname -rmi
3.15.10-201.fc20.x86_64 x86_64 x86_64

Code: Select all

# rpm -qa kernel\* | sort
kernel-3.11.10-301.fc20.x86_64
kernel-3.15.10-201.fc20.x86_64
kernel-devel-3.15.10-201.fc20.x86_64
kernel-headers-3.15.10-201.fc20.x86_64
dkms, kernel-devel and kernel-headers are all installed.
the error is:

Code: Select all

Building the VirtualBox Guest Additions kernel module...
Unable to build the kernel module.  See the log file /var/log/vboxadd-install.log

Code: Select all

# tail -f /var/log/vboxadd-install.log
  gcc -Wp,-MD,/tmp/vbox.5/.cmc.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include -I/usr/src/kernels/3.15.10-201.fc20.x86_64/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/kernels/3.15.10-201.fc20.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.15.10-201.fc20.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.15.10-201.fc20.x86_64/include/linux/kconfig.h -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 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -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 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -I/usr/src/kernels/3.15.10-201.fc20.x86_64/include -I/tmp/vbox.5/ -I/tmp/vbox.5/include -I/tmp/vbox.5/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DRT_WITH_VBOX -DIN_MODULE -DIN_GUEST_R0 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(cmc)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxadd)" -c -o /tmp/vbox.5/cmc.o /tmp/vbox.5/cmc.c
In file included from /tmp/vbox.5/r0drv/linux/the-linux-kernel.h:38:0,
                 from /tmp/vbox.5/cmc.c:21:
/tmp/vbox.5/include/iprt/types.h:87:30: fatal error: linux/autoconf.h: No such file or directory
 #  include <linux/autoconf.h>
                              ^
compilation terminated.
make[2]: *** [/tmp/vbox.5/cmc.o] Error 1
make[1]: *** [_module_/tmp/vbox.5] Error 2
make: *** [vboxadd] Error 2
thanks if anyone can see the problem here....

Re: VirtualBoxGuestAdditions woes on fedora 20 vm

Posted: 2. Sep 2014, 23:17
by Perryg
Post the guests log file ( as an attachment )

Re: VirtualBoxGuestAdditions woes on fedora 20 vm

Posted: 3. Sep 2014, 09:28
by neuronetv
log is attached and thanks for your response.

Re: VirtualBoxGuestAdditions woes on fedora 20 vm

Posted: 3. Sep 2014, 14:44
by Perryg
That wasn't the guests log file, but it tells me what your issue is anyway.

Code: Select all

Installing VirtualBox 2.0.4 Guest Additions, built Thu Oct 23 20:51:31 CEST 2008
This build is too old for Fedora 20. You need something in the 4.2.* series at least and probably 4.3.12 to be sure.

Re: VirtualBoxGuestAdditions woes on fedora 20 vm

Posted: 3. Sep 2014, 17:35
by neuronetv
ah yes thankyou perry you were right. I got v 4.3.12 and the install went fine. I feel such a plonk for not seeing that one.