How to compile VMware modules?

Archived topics about LMDE 1 and LMDE 2
Locked
dxxvi

How to compile VMware modules?

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: How to compile VMware modules?

Post 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.
Image
dxxvi

Re: How to compile VMware modules?

Post by dxxvi »

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

Return to “LMDE Archive”