VMware Cloud Community
resteves
Enthusiast
Enthusiast

ESXi 5 + VM with Fedora 16 + VMWare tools

Hi,

I've installed a VM with Fedora 16 (x86_64), and i can't compile vmware tools on it.

I get this errors:

Initializing...


Making sure services for VMware Tools are stopped.

Stopping vmware-tools (via systemctl):                     [  OK  ]


[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no]


Before you can compile modules, you need to have the following installed...

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]

Searching for a valid kernel header path...
Detected the kernel headers at
"/lib/modules/3.1.2-1.fc16.x86_64/build/include".
The path "/lib/modules/3.1.2-1.fc16.x86_64/build/include" appears to be a valid
path to the 3.1.2-1.fc16.x86_64 kernel headers.
Would you like to change it? [no]

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmci-only'
make -C /lib/modules/3.1.2-1.fc16.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.1.2-1.fc16.x86_64'
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciUtil.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmci_drv.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciNotifications.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciProcess.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciEvent.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciQueuePair.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciKernelIf.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciQPair.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestKernelIf.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/kernelStubsLinux.o
  LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-root/modules/vmci-only/vmci.mod.o
  LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.ko
make[1]: Leaving directory `/usr/src/kernels/3.1.2-1.fc16.x86_64'
make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/vmware-root/modules/vmci-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/vmware-root/modules/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory `/tmp/vmware-root/modules/vmci-only'

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmci-only'
make -C /lib/modules/3.1.2-1.fc16.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.1.2-1.fc16.x86_64'
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciUtil.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmci_drv.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciNotifications.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciProcess.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciEvent.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciQueuePair.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciKernelIf.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciQPair.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/vmciGuestKernelIf.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/kernelStubsLinux.o
  LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-root/modules/vmci-only/vmci.mod.o
  LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.ko
make[1]: Leaving directory `/usr/src/kernels/3.1.2-1.fc16.x86_64'
make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/vmware-root/modules/vmci-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/vmware-root/modules/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory `/tmp/vmware-root/modules/vmci-only'
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vsock-only'
make -C /lib/modules/3.1.2-1.fc16.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.1.2-1.fc16.x86_64'
  CC [M]  /tmp/vmware-root/modules/vsock-only/linux/af_vsock.o
/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:105:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/vmware-root/modules/vsock-only/linux/af_vsock.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vsock-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.1.2-1.fc16.x86_64'
make: *** [vsock.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vsock-only'

The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and
host.  The rest of this software provided by VMware Tools is designed to work
independently of this feature.  If you wish to have the VSOCK 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 the Enter key to continue.]

The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.  Use the flag
--clobber-kernel-modules=vmxnet3 to override.

The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.  Use the flag
--clobber-kernel-modules=pvscsi to override.

The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.  Use the flag
--clobber-kernel-modules=vmmemctl to override.

The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish
to enable this feature? [no]

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmxnet-only'
make -C /lib/modules/3.1.2-1.fc16.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.1.2-1.fc16.x86_64'
  CC [M]  /tmp/vmware-root/modules/vmxnet-only/vmxnet.o
In file included from /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:36:0:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:186:0: warning: "alloc_netdev" redefined [enabled by default]
include/linux/netdevice.h:2438:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:187:0: warning: "alloc_etherdev" redefined [enabled by default]
include/linux/etherdevice.h:53:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:208:1: error: conflicting types for ‘netif_start_queue’
include/linux/netdevice.h:1804:20: note: previous definition of ‘netif_start_queue’ was here
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: In function ‘netif_start_queue’:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:210:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:214:1: error: conflicting types for ‘netif_stop_queue’
include/linux/netdevice.h:1869:20: note: previous definition of ‘netif_stop_queue’ was here
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: In function ‘netif_stop_queue’:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:216:19: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:220:1: error: conflicting types for ‘netif_queue_stopped’
include/linux/netdevice.h:1895:19: note: previous definition of ‘netif_queue_stopped’ was here
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: In function ‘netif_queue_stopped’:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:226:1: error: conflicting types for ‘netif_wake_queue’
include/linux/netdevice.h:1838:20: note: previous definition of ‘netif_wake_queue’ was here
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: In function ‘netif_wake_queue’:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:228:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:229:4: error: implicit declaration of function ‘mark_bh’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:229:12: error: ‘NET_BH’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:229:12: note: each undeclared identifier is reported only once for each function it appears in
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:233:1: error: conflicting types for ‘netif_running’
include/linux/netdevice.h:1911:19: note: previous definition of ‘netif_running’ was here
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: In function ‘netif_running’:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:235:14: error: ‘struct device’ has no member named ‘start’
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:239:1: error: conflicting types for ‘netif_carrier_ok’
include/linux/netdevice.h:2145:19: note: previous definition of ‘netif_carrier_ok’ was here
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:245:1: error: conflicting types for ‘netif_carrier_on’
include/linux/netdevice.h:2154:13: note: previous declaration of ‘netif_carrier_on’ was here
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:250:1: error: conflicting types for ‘netif_carrier_off’
include/linux/netdevice.h:2156:13: note: previous declaration of ‘netif_carrier_off’ was here
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_get_settings’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:307:4: warning: passing argument 1 of ‘netif_carrier_ok’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:239:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_get_drvinfo’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:338:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_set_tx_csum’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:424:35: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_set_tso’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:488:35: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_tx_timeout’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:817:4: warning: passing argument 1 of ‘netif_wake_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:226:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_link_check’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:843:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:849:4: warning: passing argument 1 of ‘netif_carrier_ok’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:239:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:851:10: warning: passing argument 1 of ‘netif_carrier_on’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:245:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:853:10: warning: passing argument 1 of ‘netif_carrier_off’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:250:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_probe_device’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1086:4: error: implicit declaration of function ‘alloc_etherdev’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1086:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1092:9: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1106:7: error: ‘struct net_device’ has no member named ‘open’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1107:7: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1108:7: error: ‘struct net_device’ has no member named ‘stop’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1109:7: error: ‘struct net_device’ has no member named ‘get_stats’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1110:7: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1115:7: error: ‘struct net_device’ has no member named ‘tx_timeout’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1118:7: error: ‘struct net_device’ has no member named ‘poll_controller’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1121:7: error: ‘struct net_device’ has no member named ‘set_mac_address’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_probe_features’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1251:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_remove_device’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1526:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_suspend_device’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1621:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_resume_device’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1666:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_init_ring’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1737:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_open’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1865:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1902:4: warning: passing argument 1 of ‘netif_start_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:208:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘check_tx_queue’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2126:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2165:7: warning: passing argument 1 of ‘netif_queue_stopped’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:220:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2166:10: warning: passing argument 1 of ‘netif_wake_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:226:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_tx’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2197:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2245:10: warning: passing argument 1 of ‘netif_stop_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:214:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2375:10: warning: passing argument 1 of ‘netif_stop_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:214:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_rx’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2605:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_interrupt’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2735:9: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2758:4: warning: passing argument 1 of ‘netif_queue_stopped’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:220:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2759:7: warning: passing argument 1 of ‘netif_wake_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:226:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_close’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2819:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2831:4: warning: passing argument 1 of ‘netif_stop_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:214:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_load_multicast’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2913:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_set_multicast_list’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2983:32: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_set_mac_address’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:3040:4: warning: passing argument 1 of ‘netif_running’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:233:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_get_stats’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:3070:25: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘netif_queue_stopped’:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:223:1: warning: control reaches end of non-void function [-Wreturn-type]
cc1: some warnings being treated as errors

make[2]: *** [/tmp/vmware-root/modules/vmxnet-only/vmxnet.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmxnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.1.2-1.fc16.x86_64'
make: *** [vmxnet.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmxnet-only'

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 ]

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmblock-only'
make -C /lib/modules/3.1.2-1.fc16.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.1.2-1.fc16.x86_64'
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/filesystem.o
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:69:4: error: unknown field ‘get_sb’ specified in initializer
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:69:4: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:69:4: warning: (near initialization for ‘fsType.fs_flags’) [enabled by default]
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:69:4: error: initializer element is not computable at load time
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:69:4: error: (near initialization for ‘fsType.fs_flags’)
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c: In function ‘Iget’:
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:339:4: error: implicit declaration of function ‘path_lookup’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c: In function ‘FsOpGetSb’:
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:563:4: error: implicit declaration of function ‘get_sb_nodev’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

make[2]: *** [/tmp/vmware-root/modules/vmblock-only/linux/filesystem.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmblock-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.1.2-1.fc16.x86_64'
make: *** [vmblock.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmblock-only'

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 ]

Is there any solution?

Reply
0 Kudos
3 Replies
Virtualinfra
Commander
Commander

ESXI5 supports 81 guest operating system  but fedora is not the one among them, so you might not be able to install vmware tools.

You can work on it with out installing vmware tools and it will work fine i belive.

refer the below link for the supported guest os with vmware vsphere5

http://www.vmware.com/technical-resources/advantages/guest-os.html

Thanks & Regards Dharshan S VCP 4.0,VTSP 5.0, VCP 5.0
Reply
0 Kudos
cache51
Contributor
Contributor

Not sure if you still need this...

I came across the same issue and I've ported the patches from http://communities.vmware.com/thread/327992 to VMWare tools 8.6.0 from ESXi 5.0

Untar the tarball under vmware-tools-distrib/lib/modules/source/ and run vmware-install.pl.

Good luck.

Reply
0 Kudos
luminis
Contributor
Contributor

try this in root..

yum update
yum -y install kernel-devel gcc perl
reboot

enjoy!

Reply
0 Kudos