Posts

Showing posts from March, 2014

Fedora 20 with kernel 3.13 fail to install vmplayer module

Just upgrade my fedora to Fedora 20 and found that vmware player not able to install the module.

It end with this error.
.../tmp/modconfig-rHN4Kj/vmnet-only/filter.c:206:1: error: conflicting types for ‘VNetFilterHookFn’
 VNetFilterHookFn(unsigned int hooknum,                 // IN:
 ^
/tmp/modconfig-rHN4Kj/vmnet-only/filter.c:64:18: note: previous declaration of ‘VNetFilterHookFn’ was here
 static nf_hookfn VNetFilterHookFn;
                  ^
/tmp/modconfig-rHN4Kj/vmnet-only/filter.c:64:18: warning: ‘VNetFilterHookFn’ used but never defined [enabled by default]
/tmp/modconfig-rHN4Kj/vmnet-only/filter.c:206:1: warning: ‘VNetFilterHookFn’ defined but not used [-Wunused-function]
 VNetFilterHookFn(unsigned int hooknum,                 // IN:
 ^
make[2]: *** [/tmp/modconfig-rHN4Kj/vmnet-only/filter.o] Error 1
... After google, some say this error cause by the Nefilter selected with the kernel compilation options. And I believe most of the distro kernel will have this option selected.

Here is the…