1 2 Previous Next 25 Replies Latest reply on Aug 9, 2007 5:07 AM by KevinG

    Resolving Issues Compiling VMWare Server 1.0.1 on Fedora Core 6 2.6.19

    max1e6 Novice

      I was getting the following error


      Building the vmnet module.


      Using 2.6.x kernel build system.

      make: Entering directory `/tmp/vmware-config10/vmnet-only'

      make -C /lib/modules/2.6.19-1.2895.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

      make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-x86_64'

        CC   /tmp/vmware-config10/vmnet-only/driver.o

        CC   /tmp/vmware-config10/vmnet-only/hub.o

        CC   /tmp/vmware-config10/vmnet-only/userif.o

      /tmp/vmware-config10/vmnet-only/userif.c: In function âVNetCopyDatagramToUserâ:

      /tmp/vmware-config10/vmnet-only/userif.c:629: error: âCHECKSUM_HWâ undeclared (first use in this function)

      /tmp/vmware-config10/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once

      /tmp/vmware-config10/vmnet-only/userif.c:629: error: for each function it appears in.)

      make[2]: *** /tmp/vmware-config10/vmnet-only/userif.o Error 1

      make[1]: *** \[_module_/tmp/vmware-config10/vmnet-only] Error 2

      make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-x86_64'

      make: *** \[vmnet.ko] Error 2

      make: Leaving directory `/tmp/vmware-config10/vmnet-only'

      Unable to build the vmnet module.


      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



      Execution aborted.


      I did some hunting around on the internet and in the various forums and this is how I was able to resolve the issue...


      1) touch /usr/src/kernels/2.6.18-1.2849.fc6-i686/include/linux/config.h


      2) cd /usr/lib/vmware/modules/source


      3) tar -xf vmnet.tar


      4) cd vmnet-only


      5) EDIT bridge.c and userif.c CHANGE CHECKSUM_HW to CHECKSUM_PARTIAL


      There is only one instance of CHECKSUM_HW in each file


      6) cd ..


      7)  tar -cf vmnet.tar vmnet-only


      8) /usr/bin/vmware-config.pl


      It took me at least 11 compile attempts and couple of hours of me banging my head against a linux wall to figure this out.  I hope this forum entry saves someone else some time and effort to do the same (the compiling, not the head banging)




      Message was edited by:


        1 2 Previous Next