LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2011, 01:30 AM   #1
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Rep: Reputation: 15
Can't build vmhgfs module for the installation of VMware Tools on Fedora 14


Recently, I installed Fedora 14 on Vmware Workstation6.0.3,
Before I installed it, I update and install all the packages of Fedora 14 by yum.
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 ] 

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your 
running kernel.  Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes] 

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config25/vmhgfs-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-config25/vmhgfs-only/message.o
In file included from /tmp/vmware-config25/vmhgfs-only/kernelStubs.h:17:0,
                 from /tmp/vmware-config25/vmhgfs-only/message.c:32:
/tmp/vmware-config25/vmhgfs-only/vm_basic_types.h:104:7: warning: "__FreeBSD__" is not defined
In file included from include/linux/kernel.h:15:0,
                 from /tmp/vmware-config25/vmhgfs-only/kernelStubs.h:19,
                 from /tmp/vmware-config25/vmhgfs-only/message.c:32:
include/linux/types.h:41:24: error: conflicting types for ‘uintptr_t’
/tmp/vmware-config25/vmhgfs-only/vm_basic_types.h:170:32: note: previous declaration of ‘uintptr_t’ was here
make[2]: *** [/tmp/vmware-config25/vmhgfs-only/message.o] Error 1
make[1]: *** [_module_/tmp/vmware-config25/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.35.14-95.fc14.i686'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-config25/vmhgfs-only'
Unable to build the vmhgfs module.

The filesystem driver (vmhgfs module) is used only for the shared folder 
feature. The rest of the software provided by VMware Tools is designed to work 
independently of this feature.
If you wish to have the shared folders 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 ] 

pcnet32                26409  0 
Unloading pcnet32 module

Trying to find a suitable vmxnet module for your running kernel.

None of the pre-built vmxnet modules for VMware Tools is suitable for your 
running kernel.  Do you want this program to try to build the vmxnet module for
your system (you need to have a C compiler installed on your system)? [yes] 

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config26/vmxnet-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-config26/vmxnet-only/vmxnet.o
In file included from /tmp/vmware-config26/vmxnet-only/vmxnet.c:37:0:
/tmp/vmware-config26/vmxnet-only/vm_basic_types.h:104:7: warning: "__FreeBSD__" is not defined
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_probe_device’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:551:12: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:670:7: error: ‘struct net_device’ has no member named ‘open’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:671:7: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:672:7: error: ‘struct net_device’ has no member named ‘stop’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:673:7: error: ‘struct net_device’ has no member named ‘get_stats’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:674:7: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:676:7: error: ‘struct net_device’ has no member named ‘tx_timeout’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:680:7: error: ‘struct net_device’ has no member named ‘poll_controller’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:684:7: error: ‘struct net_device’ has no member named ‘set_mac_address’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:685:7: error: ‘struct net_device’ has no member named ‘do_ioctl’
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_remove_device’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:737:35: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_init_ring’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:803:53: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_open’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:887:53: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘check_tx_queue’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1141:46: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_tx’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1204:60: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_rx’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1593:46: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_interrupt’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1692:37: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_close’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1774:46: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_load_multicast’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1851:48: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1853:34: error: ‘struct net_device’ has no member named ‘mc_list’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1863:24: error: ‘struct net_device’ has no member named ‘mc_count’
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1864:13: error: dereferencing pointer to incomplete type
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1865:13: error: dereferencing pointer to incomplete type
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_set_multicast_list’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1912:46: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-config26/vmxnet-only/vmxnet.c: In function ‘vmxnet_get_stats’:
/tmp/vmware-config26/vmxnet-only/vmxnet.c:1992:46: error: ‘struct net_device’ has no member named ‘priv’
make[2]: *** [/tmp/vmware-config26/vmxnet-only/vmxnet.o] Error 1
make[1]: *** [_module_/tmp/vmware-config26/vmxnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.35.14-95.fc14.i686'
make: *** [vmxnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config26/vmxnet-only'
Unable to build the vmxnet module.

The fast network device driver (vmxnet module) is used only for our fast 
networking interface. The rest of the software provided by VMware Tools is 
designed to work independently of this feature.
If you wish to have the fast network driver enabled, 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 ] 

Trying to find a suitable vmblock module for your running kernel.

None of the pre-built vmblock modules for VMware Tools is suitable for your 
running kernel.  Do you want this program to try to build the vmblock module 
for your system (you need to have a C compiler installed on your system)? 
[yes] 
Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config27/vmblock-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-config27/vmblock-only/linux/filesystem.o
In file included from /tmp/vmware-config27/vmblock-only/linux/os.h:21:0,
                 from /tmp/vmware-config27/vmblock-only/linux/filesystem.c:22:
/tmp/vmware-config27/vmblock-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config27/vmblock-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config27/vmblock-only/./include/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
In file included from /tmp/vmware-config27/vmblock-only/linux/vmblockInt.h:26:0,
                 from /tmp/vmware-config27/vmblock-only/linux/filesystem.c:23:
/tmp/vmware-config27/vmblock-only/./include/vm_basic_types.h:104:7: warning: "__FreeBSD__" is not defined
/tmp/vmware-config27/vmblock-only/linux/filesystem.c: In function ‘VMBlockInitFileSystem’:
/tmp/vmware-config27/vmblock-only/linux/filesystem.c:120:4: warning: passing argument 5 of ‘kmem_cache_create’ from incompatible pointer type
include/linux/slab.h:101:20: note: expected ‘void (*)(void *)’ but argument is of type ‘void (*)(struct kmem_cache *, void *)’
/tmp/vmware-config27/vmblock-only/linux/filesystem.c: In function ‘Iget’:
/tmp/vmware-config27/vmblock-only/linux/filesystem.c:262:4: error: implicit declaration of function ‘iget’
/tmp/vmware-config27/vmblock-only/linux/filesystem.c:262:10: warning: assignment makes pointer from integer without a cast
/tmp/vmware-config27/vmblock-only/linux/filesystem.c:290:34: error: ‘struct nameidata’ has no member named ‘dentry’
/tmp/vmware-config27/vmblock-only/linux/filesystem.c:291:4: error: implicit declaration of function ‘path_release’
make[2]: *** [/tmp/vmware-config27/vmblock-only/linux/filesystem.o] Error 1
make[1]: *** [_module_/tmp/vmware-config27/vmblock-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.35.14-95.fc14.i686'
make: *** [vmblock.ko] Error 2
make: Leaving directory `/tmp/vmware-config27/vmblock-only'
Unable to build the vmblock module.

The vmblock module enables dragging or copying files from within a host and 
dropping or pasting them onto your guest (host to guest drag and drop and file 
copy/paste).  The rest of the software provided by VMware Tools is designed to 
work independently of this feature (including guest to host drag and drop and 
file copy/paste).

If you would like the host to guest drag and drop and file copy/paste features,
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 ] 

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service 
provides a new communication capability with the Host, primarily for 
development at the moment.  Would you like to enable this feature? [no] 



Detected X.org version 0.0.0.



No drivers for X.org version: 0.0.0.
 
Old 08-29-2011, 04:55 AM   #2
lengyue
Member
 
Registered: Aug 2008
Posts: 31

Original Poster
Rep: Reputation: 15
I have downloaded a newer version of workstation of 7.1.4, and this problem is solved :)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware snapshot with VMware tools loses network on restart (Host XP, Guest Fedora) John Fletcher Linux - General 12 10-18-2010 12:28 PM
VMware Tools won't compile vmhgfs module under Xubuntu Edgy burnsah Ubuntu 0 01-26-2007 01:14 AM
VMWare Tools Installation problem on Gentoo: Runlevels Wolfbeast Linux - Software 1 07-21-2004 03:17 AM
installation of module-init-tools rpm beejayzed Linux - Newbie 1 02-01-2004 04:33 AM
VMWare kernel module build fails jpbarto Linux From Scratch 8 05-23-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration