[问题]安装vmworkstation询问对应kernel的C header的位置,应该在哪里啊?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- miaomiaolvlv
- 帖子: 64
- 注册时间: 2006-04-25 18:25
[问题]安装vmworkstation询问对应kernel的C header的位置,应该在哪里啊?
/usr/src/linux没有嘛,我刚装的7。04啊
我像在你的声音里,如同这一切的你。
我正在你的一切里,听见了你的声音。
我正在你的一切里,听见了你的声音。
- xport
- 帖子: 1277
- 注册时间: 2006-05-19 21:23
- 联系:
其实我是一个演员!-http://blog.csdn.net/xport/
- miaomiaolvlv
- 帖子: 64
- 注册时间: 2006-04-25 18:25
- miaomiaolvlv
- 帖子: 64
- 注册时间: 2006-04-25 18:25
- stlxv
- 论坛版主
- 帖子: 8275
- 注册时间: 2006-05-03 0:39
- 来自: المريخ
代码: 全选
stlxv@stlxvcomputer:~$ cd /usr/src/linux-headers-2.6.
linux-headers-2.6.17-10/ linux-headers-2.6.17-11-generic/
linux-headers-2.6.17-10-generic/ linux-headers-2.6.20-15/
linux-headers-2.6.17-11/ linux-headers-2.6.20-15-generic/
PHP是最好的语言!不服来战!
- miaomiaolvlv
- 帖子: 64
- 注册时间: 2006-04-25 18:25
stlxv 写了:代码: 全选
stlxv@stlxvcomputer:~$ cd /usr/src/linux-headers-2.6. linux-headers-2.6.17-10/ linux-headers-2.6.17-11-generic/ linux-headers-2.6.17-10-generic/ linux-headers-2.6.20-15/ linux-headers-2.6.17-11/ linux-headers-2.6.20-15-generic/
这是什么意思?请说详细一些好吗?谢谢!
我像在你的声音里,如同这一切的你。
我正在你的一切里,听见了你的声音。
我正在你的一切里,听见了你的声音。
- xport
- 帖子: 1277
- 注册时间: 2006-05-19 21:23
- 联系:
在我给出的路径后面补一个include !miaomiaolvlv 写了:好像不是的哦
或许你根本就没有去执行我给你列出来的命令,去看看里面有什么东西!
酒已经帮你斟了,难道还要我帮你举杯么?
其实我是一个演员!-http://blog.csdn.net/xport/
- miaomiaolvlv
- 帖子: 64
- 注册时间: 2006-04-25 18:25
这位大哥火气不要这么旺嘛,我明白你的意思,我看了你所说的那个目录,但是VM报错说这个头文件和running kernel不相符合。报错如下:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.20-15/include
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.20-15-generic). Even if the module were to
compile successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
我看了一个论坛说好像是这个header-sources没有安装,这到底是怎么回事嘛!我是新人,请大家多关照啦!
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.20-15/include
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.20-15-generic). Even if the module were to
compile successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
我看了一个论坛说好像是这个header-sources没有安装,这到底是怎么回事嘛!我是新人,请大家多关照啦!
我像在你的声音里,如同这一切的你。
我正在你的一切里,听见了你的声音。
我正在你的一切里,听见了你的声音。
- xport
- 帖子: 1277
- 注册时间: 2006-05-19 21:23
- 联系:
代码: 全选
[xport@ubuntu ~] $ apt-cache search "linux-headers-`uname -r`"
linux-headers-2.6.20-15-generic - Linux kernel headers for version 2.6.20 on x86/x86_64
代码: 全选
[xport@ubuntu ~] $ sudo apt-get install "linux-headers-2.6.20-15-generic"
其实我是一个演员!-http://blog.csdn.net/xport/
-
- 帖子: 3
- 注册时间: 2006-08-06 20:48
-
- 帖子: 4
- 注册时间: 2008-02-15 16:34
i have the same problem!
i used 5.5.3 and i have the same problem!