VMware on linux Fedora 6 Kernel 2.6.19
I’ve just upgraded a Fedora Core 6 machine. The update installed a new kernel, version 2.6.19.
After rebooting with the new kernel and doing step 5 from this post (note: the correct path is now /lib/modules/2.6.19-1.2895.fc6/build/include/linux/config.h). I found that I got the error shown below:
Building the vmnet module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config3/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-i686' CC [M] /tmp/vmware-config3/vmnet-only/driver.o CC [M] /tmp/vmware-config3/vmnet-only/hub.o CC [M] /tmp/vmware-config3/vmnet-only/userif.o /tmp/vmware-config3/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’: /tmp/vmware-config3/vmnet-only/userif.c:629: error: ‘CHECKSUM_HW’ undeclared (first use in this function) /tmp/vmware-config3/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once /tmp/vmware-config3/vmnet-only/userif.c:629: error: for each function it appears in.) make[2]: *** [/tmp/vmware-config3/vmnet-only/userif.o] Error 1 make[1]: *** [_module_/tmp/vmware-config3/vmnet-only] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686' make: *** [vmnet.ko] Error 2 make: Leaving directory `/tmp/vmware-config3/vmnet-only' Unable to build the vmnet module.
I found the solution here, I’ve made my own patch which is available here. To apply this patch do the following (this assumes you have downloaded the patch into /tmp:
# cd /usr/lib/vmware/modules/source/ # cp vmnet.tar vmnet.tar.orig # tar xf vmnet.tar # patch -p0 < /tmp/vmnet-only-2.6.19.patch # tar cf vmnet.tar vmnet-only # vmware-config.pl
This should now complete ok
Thank you, this helped me a great deal!
Great, just what I was looking for to make VMware work on FC6. Thanks for taking the time to post your fix.
Thank you for your info and I tried to configure VMserver with menthoned patch.
Then the script says, “linux/config.h unknown file or directory in procfs.c”.
I’m not sure how do I can edit source for this message.
If you can, will you help me?
Thank you,
Takashi Maruyama
http://fedoranews.org/cms/node/2264