[问题]安装vmware workstation时出错
-
- 帖子: 40
- 注册时间: 2005-07-29 0:38
- 来自: 福建漳州
[问题]安装vmware workstation时出错
帮忙看看,从接受协议后的出错信息,到底是哪需要调整。
Do you accept? (yes/no) y
Thank you.
grep: /proc/ksyms: 没有那个文件或目录
grep: /proc/ksyms: 没有那个文件或目录
grep: /proc/ksyms: 没有那个文件或目录
Trying to find a suitable vmmon module for your running kernel.
None of VMware Workstation's pre-built vmmon modules is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] y
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.10-5-686/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config0/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.6.10-5-686'make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.6.10-5-686'
make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.6.10-5-686'In file included from /lib/modules/2.6.10-5-686/build/include/asm/processor.h:18,
from /lib/modules/2.6.10-5-686/build/include/asm/thread_info.h:17,
from /lib/modules/2.6.10-5-686/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.10-5-686/build/include/linux/spinlock.h:12,
from /lib/modules/2.6.10-5-686/build/include/linux/capability.h:45,
from /lib/modules/2.6.10-5-686/build/include/linux/sched.h:7,
from /lib/modules/2.6.10-5-686/build/include/linux/module.h:10, from ../linux/driver.c:16:
/lib/modules/2.6.10-5-686/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.10-5-686/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.10-5-686/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
../linux/driver.c:25:27: linux/wrapper.h: 没有那个文件或目录
In file included from ../linux/driver.c:45:
../linux/driver.h:51:1: warning: "DEVICE_NAME_SIZE" redefined
In file included from /lib/modules/2.6.10-5-686/build/include/linux/miscdevice.h:5,
from ../linux/driver.h:12,
from ../linux/driver.c:45:
/lib/modules/2.6.10-5-686/build/include/linux/device.h:25:1: warning: this is the location of the previous definition
../linux/driver.c: At top level:
../linux/driver.c:133: warning: initialization from incompatible pointer type
../linux/driver.c: In function `init_module':
../linux/driver.c:246: error: structure has no member named `prev'
../linux/driver.c:247: error: structure has no member named `next'
../linux/driver.c: In function `Panic':
../linux/driver.c:1304: warning: implicit declaration of function `_exit'
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
make[2]: *** [driver.o] 错误 1
make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.6.10-5-686'
make[1]: *** [driver] 错误 2
make[1]: Leaving directory `/tmp/vmware-config0/vmmon-only'
make: *** [auto-build] 错误 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference ... linux.html".
Execution aborted.
root@ubuntu:/home/user/vmware-distrib #
Do you accept? (yes/no) y
Thank you.
grep: /proc/ksyms: 没有那个文件或目录
grep: /proc/ksyms: 没有那个文件或目录
grep: /proc/ksyms: 没有那个文件或目录
Trying to find a suitable vmmon module for your running kernel.
None of VMware Workstation's pre-built vmmon modules is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] y
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.10-5-686/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config0/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.6.10-5-686'make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.6.10-5-686'
make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.6.10-5-686'In file included from /lib/modules/2.6.10-5-686/build/include/asm/processor.h:18,
from /lib/modules/2.6.10-5-686/build/include/asm/thread_info.h:17,
from /lib/modules/2.6.10-5-686/build/include/linux/thread_info.h:21,
from /lib/modules/2.6.10-5-686/build/include/linux/spinlock.h:12,
from /lib/modules/2.6.10-5-686/build/include/linux/capability.h:45,
from /lib/modules/2.6.10-5-686/build/include/linux/sched.h:7,
from /lib/modules/2.6.10-5-686/build/include/linux/module.h:10, from ../linux/driver.c:16:
/lib/modules/2.6.10-5-686/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.10-5-686/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.10-5-686/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
../linux/driver.c:25:27: linux/wrapper.h: 没有那个文件或目录
In file included from ../linux/driver.c:45:
../linux/driver.h:51:1: warning: "DEVICE_NAME_SIZE" redefined
In file included from /lib/modules/2.6.10-5-686/build/include/linux/miscdevice.h:5,
from ../linux/driver.h:12,
from ../linux/driver.c:45:
/lib/modules/2.6.10-5-686/build/include/linux/device.h:25:1: warning: this is the location of the previous definition
../linux/driver.c: At top level:
../linux/driver.c:133: warning: initialization from incompatible pointer type
../linux/driver.c: In function `init_module':
../linux/driver.c:246: error: structure has no member named `prev'
../linux/driver.c:247: error: structure has no member named `next'
../linux/driver.c: In function `Panic':
../linux/driver.c:1304: warning: implicit declaration of function `_exit'
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
make[2]: *** [driver.o] 错误 1
make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.6.10-5-686'
make[1]: *** [driver] 错误 2
make[1]: Leaving directory `/tmp/vmware-config0/vmmon-only'
make: *** [auto-build] 错误 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference ... linux.html".
Execution aborted.
root@ubuntu:/home/user/vmware-distrib #
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
我来也。
显示,然后
如果你还没安装GCC等一堆东东,请:
这样应该可以了吧。
如果还是有点问题,
要include 的路径可以从这找到:/lib/modules/<<module release number>>/build/include
代码: 全选
uname -r
代码: 全选
sudo apt-get install linux-headers-`uname -r`
代码: 全选
sudo apt-get install build-essential
如果还是有点问题,
要include 的路径可以从这找到:/lib/modules/<<module release number>>/build/include
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
如果安装了
sudo apt-get install linux-headers-2.6.10-5-686 (这是我的)
应该就可以的吧。
并且可以build-essential也不用装,只装gcc 就可以了吧?
刚才去了官方论坛看看,好像有的人可以,有的不可以 :
http://ubuntuforums.org/showthread.php? ... mon+module
sudo apt-get install linux-headers-2.6.10-5-686 (这是我的)
应该就可以的吧。
并且可以build-essential也不用装,只装gcc 就可以了吧?
刚才去了官方论坛看看,好像有的人可以,有的不可以 :
http://ubuntuforums.org/showthread.php? ... mon+module
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
-
- 帖子: 40
- 注册时间: 2005-07-29 0:38
- 来自: 福建漳州
1. Since VMware does not support any of the current Hoary kernels (2.6.10-x), you will have to build the vmware modules during the installation, so there are something you have to load before you start installing Vmware.
b. linux-source (apt-get install linux-source-xxx). For instance, mine is 2.6.10 for my running kernel 2.6.10-5-686
2. the kernel source does not get installed after you apt-get, so you will need to go to the /usr/src dir and manually untar it. After you get the directory, then do "ln -sf you_linux_source_dir linux". This will create a symblic link named "linux" under the same dir.
个人觉得以上这两点比较关键。
安装了vmware workstation 5后,我又将其卸载。下了个4.0版的,安装时仍然无法通过,难道是版本问题。
b. linux-source (apt-get install linux-source-xxx). For instance, mine is 2.6.10 for my running kernel 2.6.10-5-686
2. the kernel source does not get installed after you apt-get, so you will need to go to the /usr/src dir and manually untar it. After you get the directory, then do "ln -sf you_linux_source_dir linux". This will create a symblic link named "linux" under the same dir.
个人觉得以上这两点比较关键。
安装了vmware workstation 5后,我又将其卸载。下了个4.0版的,安装时仍然无法通过,难道是版本问题。