Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

ws 11 solution: kernel modules (vmnet) fail to compile

$
0
0

If you're running Fedora 22 with the latest kernel, and WS11 needs to recompile kernel modules (as happened to me) but invariably fails, you can fix this easily by checking the log file, running the make command that failed, identifying the source/header file responsible for the compile error, and provide the missing argument needed (the reported error). Then replace the vmware source tar with a modified tar (containing the patched file) and you're good to go.

 

more precisely,

unroll /usr/lib/vmware/modules/source/vmnet.tar

vi vmnet-only/vmnetInt.h

 

add the parameter "0" to the define statement below

extern struct proto vmnet_proto;

#ifdef VMW_NETDEV_HAS_NET

#   define compat_sk_alloc(_bri, _pri) sk_alloc(&init_net, \

                                                PF_NETLINK, _pri, &vmnet_proto, 0)

#else

 

reroll and replace /usr/lib/vmware/modules/source/vmnet.tar

 

load vmware and kernel modules are installed without issue

 

happy hackhackhacking

-k1


Viewing all articles
Browse latest Browse all 168455

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>