Recently, I installed Fedora 14 on Vmware Workstation6.0.3,
First I check the version of the kernel
Code:
[jing@jing ~]$ uname -r
2.6.35.14-95.fc14.i686
[jing@jing ~]$ rpm -q kernel-devel
kernel-devel-2.6.35.14-95.fc14.i686
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.
Code:
[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?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
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)?
[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.35.14-95.fc14.i686/build/include]
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/2.6.35.14-95.fc14.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.35.14-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[2]: *** [/tmp/vmware-config24/vmmemctl-only/os.o] Error 1
make[1]: *** [_module_/tmp/vmware-config24/vmmemctl-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.35.14-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 ]
.