Roger Searle wrote:
Still not "game over" with my vmware efforts. I have gcc and gcc-c++ installed from an ftp source. Here is my post to the vmware forum...

I have installed VMware-server-e.x.p-22088 on a 32bit install of SuSE 10on a AMD64 box. Running /usr/bin/vmware-config.pl fails, with "Unable to build the vmnet module". Mime type icons, desktop menu entries, icons, and the vmmon module installed OK. Is anyone able to point me in the right direction to resolve this?

Cheers, Roger


Extracting the sources of the vmnet module.

Building the vmnet module.

VMware 2 or VMware Express detected, building for VMware 2, VMware Express and VMware Workstation 4.0.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmnet-only'
make -C /lib/modules/2.6.13-15.8-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.13-15.8-obj/i386/default'
make -C ../../../linux-2.6.13-15.8 O=../linux-2.6.13-15.8-obj/i386/default modules
CC [M] /tmp/vmware-config3/vmnet-only/driver.o
In file included from /tmp/vmware-config3/vmnet-only/vnet.h:14,
from /tmp/vmware-config3/vmnet-only/vnetInt.h:10,
from /tmp/vmware-config3/vmnet-only/driver.c:40:
/tmp/vmware-config3/vmnet-only/vm_atomic.h:56:5: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config3/vmnet-only/vm_oui.h:14,
from /tmp/vmware-config3/vmnet-only/vnetInt.h:11,
from /tmp/vmware-config3/vmnet-only/driver.c:40:
/tmp/vmware-config3/vmnet-only/vm_basic_asm.h:50:5: warning: "_MSC_VER" is not defined
CC [M] /tmp/vmware-config3/vmnet-only/hub.o
In file included from /tmp/vmware-config3/vmnet-only/vnet.h:14,
from /tmp/vmware-config3/vmnet-only/vnetInt.h:10,
from /tmp/vmware-config3/vmnet-only/hub.c:33:
/tmp/vmware-config3/vmnet-only/vm_atomic.h:56:5: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config3/vmnet-only/vm_oui.h:14,
from /tmp/vmware-config3/vmnet-only/vnetInt.h:11,
from /tmp/vmware-config3/vmnet-only/hub.c:33:
/tmp/vmware-config3/vmnet-only/vm_basic_asm.h:50:5: warning: "_MSC_VER" is not defined
CC [M] /tmp/vmware-config3/vmnet-only/userif.o
In file included from /tmp/vmware-config3/vmnet-only/vnet.h:14,
from /tmp/vmware-config3/vmnet-only/vnetInt.h:10,
from /tmp/vmware-config3/vmnet-only/userif.c:36:
/tmp/vmware-config3/vmnet-only/vm_atomic.h:56:5: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config3/vmnet-only/vm_oui.h:14,
from /tmp/vmware-config3/vmnet-only/vnetInt.h:11,
from /tmp/vmware-config3/vmnet-only/userif.c:36:
/tmp/vmware-config3/vmnet-only/vm_basic_asm.h:50:5: warning: "_MSC_VER" is not defined
CC [M] /tmp/vmware-config3/vmnet-only/netif.o
In file included from /tmp/vmware-config3/vmnet-only/vnet.h:14,
from /tmp/vmware-config3/vmnet-only/vnetInt.h:10,
from /tmp/vmware-config3/vmnet-only/netif.c:32:
/tmp/vmware-config3/vmnet-only/vm_atomic.h:56:5: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config3/vmnet-only/vm_oui.h:14,
from /tmp/vmware-config3/vmnet-only/vnetInt.h:11,
from /tmp/vmware-config3/vmnet-only/netif.c:32:
/tmp/vmware-config3/vmnet-only/vm_basic_asm.h:50:5: warning: "_MSC_VER" is not defined
CC [M] /tmp/vmware-config3/vmnet-only/bridge.o
In file included from /tmp/vmware-config3/vmnet-only/vnet.h:14,
from /tmp/vmware-config3/vmnet-only/vnetInt.h:10,
from /tmp/vmware-config3/vmnet-only/bridge.c:35:
/tmp/vmware-config3/vmnet-only/vm_atomic.h:56:5: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config3/vmnet-only/vm_oui.h:14,
from /tmp/vmware-config3/vmnet-only/vnetInt.h:11,
from /tmp/vmware-config3/vmnet-only/bridge.c:35:
/tmp/vmware-config3/vmnet-only/vm_basic_asm.h:50:5: warning: "_MSC_VER" is not defined /tmp/vmware-config3/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’: /tmp/vmware-config3/vmnet-only/bridge.c:464: error: ‘struct sock’ has no member named ‘wmem_alloc’
/tmp/vmware-config3/vmnet-only/bridge.c: In function ‘VNetBridgeUp’:
/tmp/vmware-config3/vmnet-only/bridge.c:721: warning: passing argument 3 of ‘sk_alloc’ makes pointer from integer without a cast /tmp/vmware-config3/vmnet-only/bridge.c:721: warning: passing argument 4 of ‘sk_alloc’ makes integer from pointer without a cast
make[4]: *** [/tmp/vmware-config3/vmnet-only/bridge.o] Error 1
make[3]: *** [_module_/tmp/vmware-config3/vmnet-only] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-15.8-obj/i386/default'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmnet-only'
Unable to build the vmnet module.

Roger

You do not need the vmware-any patch on SuSE10.
You do have to install the kernel-source package.
then clone your running config and build new headers.

   as root:
   cd /usr/src/linux
   make cloneconfig
   make prepare-all

The you can configure VMware with the vmware-config.pl script.

Dave.

Reply via email to