How to compile VMware modules?

Archived topics about LMDE 1
Forum rules
dxxvi
Level 1
Level 1
Posts: 15
Joined: Thu Sep 09, 2010 5:06 pm

How to compile VMware modules?

Postby dxxvi » 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.

User avatar
xenopeek
Level 23
Level 23
Posts: 19260
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How to compile VMware modules?

Postby xenopeek » 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.
Image

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 sumski » 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

dxxvi
Level 1
Level 1
Posts: 15
Joined: Thu Sep 09, 2010 5:06 pm

Re: How to compile VMware modules?

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

Perfect! Thank you very much. Having kernel headers installed is not enough.


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 0 guests