hi all ,mình sủ dụng ubuntu 8.04 thì cài vmware chạy tốt ,link hướng dẫn sau :http://www.howtoforge.com/ubuntu_feisty_fawn_vmware_server_howto
và khi format ổ cứng,cài lại ubuntu8.04 ,nhưng upgrade lên 8.10 và cài vmware thì bị lỗi :
Code:
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.27-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
CC [M] /tmp/vmware-config4/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config4/vmmon-only/./include/x86.h:24,
from /tmp/vmware-config4/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config4/vmmon-only/linux/driver.c:53:
/tmp/vmware-config4/vmmon-only/./include/x86paging.h:61:1: warning: "PTE_PFN_MASK" redefined
In file included from include/asm/paravirt.h:7,
from include/asm/irqflags.h:55,
from include/linux/irqflags.h:57,
from include/asm/system.h:11,
from include/asm/processor.h:17,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/vmware-config4/vmmon-only/linux/driver.c:16:
include/asm/page.h:22:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config4/vmmon-only/linux/vmhost.h:13,
from /tmp/vmware-config4/vmmon-only/linux/driver.c:84:
/tmp/vmware-config4/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config4/vmmon-only/linux/driver.c:171: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config4/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/tmp/vmware-config4/vmmon-only/linux/driver.c:175: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config4/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
/tmp/vmware-config4/vmmon-only/linux/driver.c: In function ‘__LinuxDriver_Ioctl’:
/tmp/vmware-config4/vmmon-only/linux/driver.c:1781: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config4/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config4/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config4/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/prebuilt_modules_linux.html".
Execution aborted
tất nhiên việc cài đặt chưa hoàn tất ,nhưng mình vẫn cố gắng start vmware
Code:
# vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.
chạy reconfig nhưng vẫn bị lỗi như trên
giúp mình nhé