Recently, I installed Fedora 14 on Vmware Workstation6.0.3,
First I check the version of the kernel
[jing@jing ~]$ uname -r
[jing@jing ~]$ rpm -q kernel-devel
So the running kernel and the kernel of Fedora 14 is same.
Second, I install the Vmware tools as a root user, I found there are some errors on building vmhgfs, vmmemctl, vmblock, vmxnet modul.
Can you give me some suggestions on this problem, I will appreciate your help very much.
The details of installation as follow.
[root@jing vmware-tools]# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
In which directory do you want to install the binary files?
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
What is the directory that contains the init scripts?
In which directory do you want to install the daemon files?
In which directory do you want to install the library files?
In which directory do you want to install the documentation files?
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] y
The installation of VMware Tools 6.0.3 build-80004 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] y
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ OK ]
Trying to find a suitable vmmemctl module for your running kernel.
None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
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
Extracting the sources of the vmmemctl module.
Building the vmmemctl module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config24/vmmemctl-only'
make -C /lib/modules/18.104.22.168-95.fc14.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make: Entering directory `/usr/src/kernels/22.214.171.124-95.fc14.i686'
CC [M] /tmp/vmware-config24/vmmemctl-only/os.o
In file included from /tmp/vmware-config24/vmmemctl-only/os.c:40:0:
/tmp/vmware-config24/vmmemctl-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config24/vmmemctl-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config24/vmmemctl-only/compat_wait.h:60:13: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:72:13: note: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config24/vmmemctl-only/os.c: In function ‘os_init’:
/tmp/vmware-config24/vmmemctl-only/os.c:567:24: error: ‘struct proc_dir_entry’ has no member named ‘get_info’
make: *** [/tmp/vmware-config24/vmmemctl-only/os.o] Error 1
make: *** [_module_/tmp/vmware-config24/vmmemctl-only] Error 2
make: Leaving directory `/usr/src/kernels/126.96.36.199-95.fc14.i686'
make: *** [vmmemctl.ko] Error 2
make: Leaving directory `/tmp/vmware-config24/vmmemctl-only'
Unable to build the vmmemctl module.
The memory manager driver (vmmemctl module) is used by VMware host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you want the memory management feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]