问题描述
- virtualbox安装增强工具失败
-
共享文件夹failed
已安装包(fedora21 kernel3.19)
abrt-addon-kerneloops-2.3.0-4.fc21.x86_64
kernel-3.19.3-200.fc21.x86_64
kernel-core-3.19.3-200.fc21.x86_64
kernel-devel-3.19.3-200.fc21.x86_64
kernel-headers-3.19.3-200.fc21.x86_64
kernel-modules-3.19.3-200.fc21.x86_64
libreport-plugin-kerneloops-2.3.0-6.fc21.x86_64
日志:
Uninstalling modules from DKMS
Attempting to install using DKMSCreating symlink /var/lib/dkms/vboxguest/4.3.20/source ->
/usr/src/vboxguest-4.3.20DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make KERNELRELEASE=3.19.3-200.fc21.x86_64 -C /lib/modules/3.19.3-200.fc21.x86_64/build M=/var/lib/dkms/vboxguest/4.3.20/build...........(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.19.3-200.fc21.x86_64 (x86_64)
Consult /var/lib/dkms/vboxguest/4.3.20/build/make.log for more information.
Failed to install using DKMS, attempting to install without
grep: /lib/modules/3.19.3-200.fc21.x86_64/build/include/linux/version.h: No such file or directory
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/3.19.3-200.fc21.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 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)
解决方案
http://jingyan.baidu.com/article/c1a3101e8963ccde646deb6b.html
http://www.jb51.net/os/RedHat/35035.html
解决方案二:
导入 然后自动安装 最后在虚拟机中还有一些步骤要操作