Hi Pavlinux,
Patch didn't work for me. vmnet Module still failed to Compile.
I installed the Patch exactly like it's shown on the link.
2012-03-22T15:16:01.495+01:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmnet-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.3.0-4.fc16.x86_64/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.3
2012-03-22T15:16:04.531+01:00| vthread-3| I120: Failed to compile module vmnet!
# /usr/bin/make -j -C /tmp/vmware-root/modules/vmnet-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.3.0-4.fc16.x86_64/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.3
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmnet-only'
make -C /lib/modules/3.3.0-4.fc16.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.3.0-4.fc16.x86_64'
CC [M] /tmp/vmware-root/modules/vmnet-only/userif.o
CC [M] /tmp/vmware-root/modules/vmnet-only/netif.o
CC [M] /tmp/vmware-root/modules/vmnet-only/filter.o
/tmp/vmware-root/modules/vmnet-only/filter.c:60:16: error: 'THIS_MODULE' undeclared here (not in a function)
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/filter.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/vmware-root/modules/vmnet-only/userif.c: In function 'VNetCsumCopyDatagram':
/tmp/vmware-root/modules/vmnet-only/userif.c:520:3: error: incompatible type for argument 1 of 'kmap'
include/linux/highmem.h:48:21: note: expected 'struct page *' but argument is of type 'const struct <anonymous>'
/tmp/vmware-root/modules/vmnet-only/userif.c:523:3: error: incompatible type for argument 1 of 'kunmap'
include/linux/highmem.h:54:20: note: expected 'struct page *' but argument is of type 'const struct <anonymous>'
/tmp/vmware-root/modules/vmnet-only/netif.c: In function 'VNetNetIfSetup':
/tmp/vmware-root/modules/vmnet-only/netif.c:134:7: error: unknown field 'ndo_set_multicast_list' specified in initializer
/tmp/vmware-root/modules/vmnet-only/netif.c:134:7: warning: initialization from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/netif.c:134:7: warning: (near initialization for 'vnetNetifOps.ndo_validate_addr') [enabled by default]
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/netif.o] Error 1
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.3.0-4.fc16.x86_64'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmnet-only'
#
TRy the latest Wellhall patch?? I only am using the 3.3 kernel on Fedora 17 and VMware insatll the modules and the GUI comes up and I can enter the liciense key. But starting or opening a VM leads to a kernel panic. But it always does so its almost certainly a probalem with Fedora. Installing on an openSUSE 12.2 with kernel 3.3 also results in a panic have not yet tried Ubuntu 3.3 kernel. VMware working fine on the 3.2 kernel there and I have other things to do.
VMware mightg keep in mind that 3.3 is now mainline (kernel.org)
/tmp/vmware-root/modules/vmnet-only/filter.c:60:16: error: 'THIS_MODULE' undeclared here (not in a function)
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/filter.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/vmware-root/modules/vmnet-only/userif.c: In function 'VNetCsumCopyDatagram':
/tmp/vmware-root/modules/vmnet-only/userif.c:520:3: error: incompatible type for argument 1 of 'kmap'
include/linux/highmem.h:48:21: note: expected 'struct page *' but argument is of type 'const struct <anonymous>'
/tmp/vmware-root/modules/vmnet-only/userif.c:523:3: error: incompatible type for argument 1 of 'kunmap'
include/linux/highmem.h:54:20: note: expected 'struct page *' but argument is of type 'const struct <anonymous>'
/tmp/vmware-root/modules/vmnet-only/netif.c: In function 'VNetNetIfSetup':
It's not my patches. In my fixed this errors.