unable to find the sources of your current Linux kernel.
2017-03-05 14:48
627 查看
运行
时FAILED,查看日志:
意思是说没有内核源文件,解决的办法是运行
分别是编译器,内核,内核头文件以及Makefile,然后再重启,让系统从新的内核文件选项启动。再运行
就可以编译成功了。
sh ./VBoxLinuxAdditions.run
时FAILED,查看日志:
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop. Creating user for the Guest Additions. Creating udev rule for the Guest Additions kernel module.
意思是说没有内核源文件,解决的办法是运行
yum instal gcc.i686 kernel.i686 kernel-devel.i686 reboot
分别是编译器,内核,内核头文件以及Makefile,然后再重启,让系统从新的内核文件选项启动。再运行
sh ./VBoxLinuxAdditions.run
就可以编译成功了。
相关文章推荐
- VirtualBox安装VBoxLinuxAdditions错误:unable to find the sources of your current linux kernel
- VirtualBox安装VBoxLinuxAdditions错误:unable to find the sources of your current linux kernel
- unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make a
- vbox安装,启动错误:Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
- VirtualBox安装VBoxLinuxAdditions错误:unable to find the sources of your current linux kernel
- redhat 6.4 安装VirtualBox自动增强功能功:unable to find the sources of your current Linux kernel
- kali 安装virtualbox tools出错ERROR: UNABLE TO FIND THE SOURCES OF YOUR CURRENT LINUX KERNEL.
- unable to find the sources of your current Linux k
- Unable to Find Sources for Current Linux Kernel
- how to find the address of git to download linux kernel soure
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot – please use a kernel appropriate for your CPU"(安装深度Linux的时候就需要)
- linux里面编译安装显卡驱动失败:ERROR:Unable to find the kernel source tree for the currently running kernel.
- c++执行程序出现"unable to find a version of the runtime"的错误提示
- XP下运行VS2010生成程序报错:unable to find a version of the runtime to run this application
- .NET版本问题 转[.Net Framework Initialization Error – Unable to find a version of the runtime to run this applicatio]
- linux之Unable to find the ncurses libraries or the required header files.错误解决办法
- 执行 maven 命令 报错Unable to add module to the current project as it is not of packaging type 'pom'
- 装mysql时,报unable to find a version of the runtime to run this application
- Unable to find a version of the runtime to run this application.
- 安装Fedora时遇到unable to find any devices of the type needed for this installation type问题的解决