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 (Broken link /wp-content/uploads/vmnet-only-2.6.19.patch). 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
Subscribe via RSS