安装到编译的那一步
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
我修改了自己的c header目录/usr/src/linux-headers-2.6.24-17-generic/include
但提示The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.24-17-generic). Even if the module were to compile successfully, it would not load into the running kernel.
我用uname -r 查看内核版本
brhhk@brhhk-laptop:~$ uname -r
2.6.24-17-generic
确实是同一个版本
不知道是什么原因呢?
我把目录列出来,大家帮我看一下需要的文件完整吗?还是目录不对?我提供的路径是/usr/src/linux-headers-2.6.24-17-generic/include
brhhk@brhhk-laptop:/usr/src/linux-headers-2.6.24-17-generic/include$ ls
acpi asm-frv asm-mips asm-sparc crypto net xen
asm asm-generic asm-parisc asm-sparc64 Kbuild pcmcia
asm-alpha asm-h8300 asm-powerpc asm-um keys rdma
asm-arm asm-ia64 asm-ppc asm-v850 linux rxrpc
asm-avr32 asm-m32r asm-s390 asm-x86 math-emu scsi
asm-blackfin asm-m68k asm-sh asm-xtensa media sound
asm-cris asm-m68knommu asm-sh64 config mtd video
[已解决]关于vmware6.03在hardy上的安装,提示找不到C header files。
-
- 帖子: 124
- 注册时间: 2007-02-24 18:59
[已解决]关于vmware6.03在hardy上的安装,提示找不到C header files。
上次由 brhhk 在 2008-05-08 16:07,总共编辑 1 次。
- 吴广德
- 帖子: 347
- 注册时间: 2006-10-26 9:24
- 系统: Ubuntu 18.04 LTS
- 来自: 中国-广西-南宁
-
- 帖子: 124
- 注册时间: 2007-02-24 18:59