4 Replies Latest reply on Aug 22, 2010 10:57 PM by rhandom

    Ubuntu Maverick Meerkat + kernel 2.6.35-9 VMWare Tools fails to build

    rhandom Enthusiast

      I am trying to make VMWare Tools to build on th 2.6.34-9 kernel in Ubuntu Maverick Meerkat so it will function properly. At the moment drag and drop does not work well and I need a GRUB2 hack to start Ubuntu properly. On rebuilding VMWare Tools using sudo ./install.pl I get the following errors:

       

      MODULEBUILDDIR= modules

      make[1]: Entering directory `/usr/src/linux-headers-2.6.35-9-generic'

      CC   /tmp/vmware-root/modules/vmxnet-only/vmxnet.o

      /tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_load_multicast’:

      /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2795: error: ‘struct net_device’ has no member named ‘mc_list’

      /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2805: error: ‘struct net_device’ has no member named ‘mc_count’

      /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2806: error: dereferencing pointer to incomplete type

      /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2807: error: dereferencing pointer to incomplete type

      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/linux-headers-2.6.35-9-generic'

      make: *** http://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.

       

      Full build failure report has been attached.

      Any ideas when we will get an updated WMWare Tools that will build on the latest kernel or how I can fix this?

       

       

      NB See also https://bugs.launchpad.net/ubuntu/source/open-vm-tools/bug/598542