How to compile VMware modules?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

How to compile VMware modules?

Postby dxxvi on Wed Aug 03, 2011 9:45 pm

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.
dxxvi
Level 1
Level 1
 
Posts: 16
Joined: Thu Sep 09, 2010 5:06 pm

Linux Mint is funded by ads and donations.
 

Re: How to compile VMware modules?

Postby xenopeek on Thu Aug 04, 2011 1:41 am

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.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14813
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How to compile VMware modules?

Postby sumski on Thu Aug 04, 2011 1:59 am

Acer Extensa 5630G - Core2Duo T5800 2GHz , 4 GB ram, Ati Mobility 3650.
OpenSUSE 12.1 KDE 4.7.3
Debian Sid KDE 4.7.1/2
User avatar
sumski
Level 3
Level 3
 
Posts: 109
Joined: Fri Nov 26, 2010 6:36 am
Location: Zagreb, Croatia

Re: How to compile VMware modules?

Postby dxxvi on Thu Aug 04, 2011 9:35 pm

Perfect! Thank you very much. Having kernel headers installed is not enough.
dxxvi
Level 1
Level 1
 
Posts: 16
Joined: Thu Sep 09, 2010 5:06 pm


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 1 guest