安裝vmware server 出現下面的問題,搜索網路使用vmware-any-to-any-updates 也不管用。應該如何安裝呢?謝謝amro@amro-laptop:~$ sudo vmware-config.pl Making sure services for VMware Server are stopped.
None of the pre-built vmmon modules for VMware Server 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)? 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?
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system. make:進入目錄'/tmp/vmware-config1/vmmon-only' make -C /lib/modules/2.6.32-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make: 正在進入目錄 `/usr/src/linux-headers-2.6.32-24-generic' CC /tmp/vmware-config1/vmmon-only/linux/driver.o In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:31: /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:78: error: conflicting types for 『poll_initwait』 include/linux/poll.h:70: note: previous declaration of 『poll_initwait』 was here In file included from /tmp/vmware-config1/vmmon-only/./include/vmware.h:38, from /tmp/vmware-config1/vmmon-only/linux/driver.c:99: /tmp/vmware-config1/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32, from /tmp/vmware-config1/vmmon-only/linux/driver.h:29, from /tmp/vmware-config1/vmmon-only/linux/driver.c:101: /tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined In file included from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr.h:4, from /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/processor.h:21, from include/linux/prefetch.h:14, from include/linux/list.h:6, from include/linux/module.h:9, from /tmp/vmware-config1/vmmon-only/./include/compat_module.h:27, from /tmp/vmware-config1/vmmon-only/linux/driver.c:26: /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/msr-index.h:228:1: warning: this is the location of the previous definition In file included from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:103, .......以下略 我一般是安裝workstation版本。 沒看見錯誤啊,難道被底下略了。 那幾個停止的 failed,可能是沒啟動吧。 你用的那個linux,版本?vmware server你用的那個版本? 我以前裝vmware server也遇到過build mod的問題,印象里是有一些頭文件,庫文件的路徑不對. 找到具體文件,做個符號鏈接就行了。 謝謝大家的幫助,還是換成vmware workstation了,畢竟只是個練習,簡單點能用上就好。再次感謝大家 :)