Hi all, I am doing a VMware server install as per how-to: http://how2forge.org/debian_sarge_vmware_server_howto Running into this error: Unable to build the vmnet module. Here's the locations where error took place: Code: In which directory do you want to install the application's icon? [/usr/share/pixmaps] Trying to find a suitable vmmon module for your running kernel. None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] 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.19.2-default1/build/include] Extracting the sources of the vmmon module. Building the vmmon module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config2/vmmon-only' make -C /lib/modules/2.6.19.2-default1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.19.2' CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config2/vmmon-only/common/hash.o CC [M] /tmp/vmware-config2/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config2/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config2/vmmon-only/common/task.o CC [M] /tmp/vmware-config2/vmmon-only/common/vmx86.o CC [M] /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.o LD [M] /tmp/vmware-config2/vmmon-only/vmmon.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmware-config2/vmmon-only/vmmon.mod.o LD [M] /tmp/vmware-config2/vmmon-only/vmmon.ko make[1]: Leaving directory `/usr/src/linux-2.6.19.2' cp -f vmmon.ko ./../vmmon.o make: Leaving directory `/tmp/vmware-config2/vmmon-only' The module loads perfectly in the running kernel. You have already setup networking. Would you like to skip networking setup and keep your old settings as they are? (yes/no) [yes] Extracting the sources of the vmnet module. Building the vmnet module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config2/vmnet-only' make -C /lib/modules/2.6.19.2-default1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.19.2' CC [M] /tmp/vmware-config2/vmnet-only/driver.o CC [M] /tmp/vmware-config2/vmnet-only/hub.o CC [M] /tmp/vmware-config2/vmnet-only/userif.o /tmp/vmware-config2/vmnet-only/userif.c: In function `VNetCopyDatagramToUser': /tmp/vmware-config2/vmnet-only/userif.c:629: error: `CHECKSUM_HW' undeclared (first use in this function) /tmp/vmware-config2/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once /tmp/vmware-config2/vmnet-only/userif.c:629: error: for each function it appears in.) [B] make[2]: *** [/tmp/vmware-config2/vmnet-only/userif.o] Error 1 make[1]: *** [_module_/tmp/vmware-config2/vmnet-only] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19.2' make: *** [vmnet.ko] Error 2 make: Leaving directory `/tmp/vmware-config2/vmnet-only' Unable to build the vmnet module.[/B] For more information on how to troubleshoot module-related problems, please visit our Web site at "http://www.vmware.com/download/modules/modules.html" and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html". Execution aborted. host:/tmp/vmware-server-distrib# I googled about this error and read about using VMware any-any-patch - Not sure about this??? Here's the link for reference: http://www.vmware.com/community/thread.jspa?threadID=22261&messageID=272360 - also another search mentions about creating a "config.h" in: /usr/src/kernels/2.6.18-1.2849.fc6/include/linux Here's the link for reference: http://www.vmware.com/community/message.jspa?messageID=534279 Would appreciate any comments/suggestions to help resolve this problem! Note: I am installing VMware Server on a Debian system which was upgraded from 2.6.8-2 to 2.6.19-2... Joe
use ubuntu tutorial Hi, I also had these errors, but following the ubuntu tutorial (plus comments) fixed it. see - http://www.howtoforge.com/ubuntu_feisty_fawn_vmware_server_howto