Answers to: VMware unable to build kernel module | Fedora 15http://linuxexchange.org/questions/2666/vmware-unable-to-build-kernel-module-fedora-15<p>Hi guys I've installed vmware workstation on fedora 15. after that I yum'd a few stuffs like the GCC 4.6</p> <p>now when I run the vmware it says it needs to compile and install some kernel modules when I click install it gives me this message: </p> <p>nable to build kernel module See log file /tmp/vmware-root/setup-12885.log for details</p> <p>this is what I get in the log file</p> <blockquote> <p>Aug 21 18:39:53.438: app-3077985984| Log for VMware Workstation pid=12885 versio n=7.0.1 build=build-227600 option=Release Aug 21 18:39:53.438: app-3077985984| The process is 32-bit. Aug 21 18:39:53.438: app-3077985984| Host codepage=UTF-8 encoding=UTF-8 Aug 21 18:39:53.438: app-3077985984| Logging to /tmp/vmware-root/setup-12885.log Aug 21 18:39:53.569: app-3077985984| modconf query interface initialized Aug 21 18:39:53.570: app-3077985984| modconf library initialized Aug 21 18:39:53.625: app-3077985984| Your GCC version: 4.6 Aug 21 18:39:53.635: app-3077985984| Your GCC version: 4.6 Aug 21 18:39:53.654: app-3077985984| Your GCC version: 4.6 Aug 21 18:39:53.676: app-3077985984| Your GCC version: 4.6 Aug 21 18:39:53.688: app-3077985984| Your GCC version: 4.6 Aug 21 18:39:53.762: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:53.767: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:53.771: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:53.776: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:53.780: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:53.831: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:53.836: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:53.840: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:53.845: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:53.849: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:53.856: app-3077985984| Your GCC version: 4.6 Aug 21 18:39:53.875: app-3077985984| Your GCC version: 4.6 Aug 21 18:39:53.992: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.001: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.006: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.010: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.015: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.023: app-3077985984| Your GCC version: 4.6 Aug 21 18:39:54.041: app-3077985984| Your GCC version: 4.6 Aug 21 18:39:54.153: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.162: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.167: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.172: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.176: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.390: app-3077985984| Trying to find a suitable PBM set for kerne l 2.6.40.3-0.fc15.i686. Aug 21 18:39:54.391: app-3077985984| Building module vmmon. Aug 21 18:39:54.391: app-3077985984| Extracting the sources of the vmmon module. Aug 21 18:39:54.418: app-3077985984| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib /modules/2.6.40.3-0.fc15.i686/build/include CC=/usr/bin/gcc GREP=/usr/bin/make I S_GCC_3=no VMCCVER=4.6.0 Aug 21 18:39:56.101: app-3077985984| Failed to compile module vmmon!</p> </blockquote> <p>any help ?</p> <p>Thanks</p>enWed, 24 Aug 2011 01:54:19 -0400Answer by Kodhttp://linuxexchange.org/questions/2666/vmware-unable-to-build-kernel-module-fedora-15/2673<p>The way to fix was by changing the kernel to 2.39 through a patch <a href="http://linux-knowledgebase.com/userFiles/files/vmware2_6_39patchv3.tar.bz2">http://linux-knowledgebase.com/userFiles/files/vmware2_6_39patchv3.tar.bz2</a></p>KodWed, 24 Aug 2011 01:54:19 -0400http://linuxexchange.org/questions/2666/vmware-unable-to-build-kernel-module-fedora-15/2673