Vmware What is the location of the directory of C header files that match your running问题的解决
来源:互联网 发布:华策影视 知乎 编辑:程序博客网 时间:2024/06/05 05:43
问题描述:运行./vmware-install.pl后,一直按enter键就ok了,当出现下面这个提示后,你就要小心了.
Before running VMware Tools for the first time, you need toconfigure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl".Do you want
this program to invoke the command for you now? [yes]
Before you can compile modules, you need to have the followinginstalled...
make
gcc
kernel headers of the running kernel
上面提示的意思安装vmware tools必须先安装gcc和内核头文件。
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gccbinary.
Would you like to change it? [no]
问题来了:它找不到我的内核头文件的路径
Searching for a valid kernel header path...
The path "" is not valid.
Would you like to change it? [yes]
What is the location of the directory of C header files that matchyour running
kernel?
提示我要输入内核头文件的路径
会出现这种问题有两种情况:
一种是你没有安装内核头文件,那就要先安装.
另外一种情况是vmware的问题,其实kernel header已经安装了,只是没有正确的被识别到
解决办法如下:
1.
如果没有提示错误信息,ps: uname-r
2.
ln -s ../generated/autoconf.h
ln -s ../generated/utsrelease.h
这两条命令给vmwaretools关联了正确的内核头文件的位置
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gccbinary.
Would you like to change it? [no]
Searching for a valid kernel header path...
Detected the kernel headers of the running kernelat
"/lib/modules/2.6.38-8-generic/build/include". //cd/lib/modules/`uname -r`/build/include/linux
The path "/lib/modules/2.6.38-8-generic/build/include" appears tobe a valid
path to the kernel headers of the running kernel.
Would you like to change it? [no]
--------------------------------------------------------------------------
Enter ,that's ok!
- Vmware What is the location of the directory of C header files that match your running问题的解决
- Vmware What is the location of the directory of C header files that match your running问题的解决
- Vmware What is the location of the directory of C header files that match your running问题的解决
- Vmware What is the location of the directory of C header files that match your running问题的解决办法
- 终于解决了问题What is the location of the directory of C header files that match your running kernel
- What is the location of the directory of C header files that match your running kernel?
- What is the location of the directory of C header files that match your running kernel?
- What is the location of the directory of C header files that match your running kernel?
- opensuse 11.3--安装vmware tools 【What is the location of the directory of C header files that match your running】已解决
- VMware-tools安装错误the location of the directory of C header files that match your running问题的解决办法
- “What is the location of the directory of C header files that match your running kernel?” On Ubuntu
- vmserver安装出错What is the location of the directory of C header files that match your running kernel?
- wmware提示What is the location of the directory of C header files that match your running kernel?
- what is the location of the directory of c header files that match your running kernel -SLES11.2
- What is the location of the directory of C header files that match your running kernel問題解決(VMWare+CentOS5.5+vmware-tools)
- vmware-tool 安装缺少头文件 What is the location of the directory of C header files that match your running
- fedora 14 安装VM tools 问题:What is the location of the directory of C header files that match your running kernel?
- VMware虚拟机ubuntu和主操作系统硬盘之间的文件共享的实现和What is the location of the directory of C header files that match your running问题的解决办法
- but although mancini's successor
- 【黑马程序员】SQLserver笔记之索引和视图的管理
- 宁静难得放假年德国基尔年度奖金
- C#使用TCP/IP与ModBus进行通讯
- JavaEE技术路线图
- Vmware What is the location of the directory of C header files that match your running问题的解决
- Proguard android代码混淆 防止反编译
- 表达式求值
- 基于tiny6410 的led驱动
- mysql导入sql文件
- 一些比较好的知识点学习网址
- Java获取当前的日期和时间
- 《征服C指针》第一章重点小结
- 数字统计---解题思路