VirtualBoxGuestAdditions woes on fedora 20 vm
Posted: 2. Sep 2014, 22:58
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.
dkms, kernel-devel and kernel-headers are all installed.
the error is:
thanks if anyone can see the problem 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_64Code: 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_64the 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.logCode: 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