Page 1 of 1

How to compile VMware modules?

Posted: Wed Aug 03, 2011 9:45 pm
by dxxvi
I'm using LMDE and want to try VMware workstation 7.1.4. I downloaded the vmware-7.1.4.bundle from vmware.com, run it under sudo and everything went fine. The 1st time I run VMware Workstation, VMware said several modules must be compiled ... Then I clicked the Install button, but vmware gave some errors in a log file

Code: Select all

Aug 03 21:28:32.607: app-3077310144| Your GCC version: 4.6
Aug 03 21:28:32.607: app-3077310144| Searching for GCC 4.4.
Aug 03 21:28:32.609: app-3077310144| Kernel compiled with: GCC 4.4
Aug 03 21:28:32.609: app-3077310144| Your GCC version: 4.4
Aug 03 21:28:32.618: app-3077310144| Your GCC version: 4.6
Aug 03 21:28:32.618: app-3077310144| Searching for GCC 4.4.
Aug 03 21:28:32.620: app-3077310144| Kernel compiled with: GCC 4.4
Aug 03 21:28:32.620: app-3077310144| Your GCC version: 4.4
Aug 03 21:28:32.678: app-3077310144| Trying to find a suitable PBM set for kernel 2.6.39-2-686-pae.
Aug 03 21:28:32.683: app-3077310144| Trying to find a suitable PBM set for kernel 2.6.39-2-686-pae.
Aug 03 21:28:32.689: app-3077310144| Trying to find a suitable PBM set for kernel 2.6.39-2-686-pae.
Aug 03 21:28:32.695: app-3077310144| Trying to find a suitable PBM set for kernel 2.6.39-2-686-pae.
Aug 03 21:28:32.698: app-3077310144| Trying to find a suitable PBM set for kernel 2.6.39-2-686-pae.
Aug 03 21:28:32.911: app-3077310144| Trying to find a suitable PBM set for kernel 2.6.39-2-686-pae.
Aug 03 21:28:32.912: app-3077310144| Building module vmmon.
Aug 03 21:28:32.912: app-3077310144| Extracting the sources of the vmmon module.
Aug 03 21:28:32.927: app-3077310144| 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.39-2-686-pae/build/include CC=/usr/bin/gcc-4.4 GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.6
Aug 03 21:28:34.111: app-3077310144| Failed to compile module vmmon!
I googled around and it seems that I need to apply some patch. Could anybody give me a help please?

Thank you.

Re: How to compile VMware modules?

Posted: Thu Aug 04, 2011 1:41 am
by xenopeek
Have you installed the kernel headers? Those are needed to compile anything, and aren't installed by default. Package name: linux-headers-2.6.39-2-686-pae.

Re: How to compile VMware modules?

Posted: Thu Aug 04, 2011 1:59 am
by sumski

Re: How to compile VMware modules?

Posted: Thu Aug 04, 2011 9:35 pm
by dxxvi
Perfect! Thank you very much. Having kernel headers installed is not enough.