Vmware Workstation won't compile

Mark C. Allman mcallman at allmanpc.com
Tue Aug 2 10:42:08 UTC 2011


On Mon, 2011-08-01 at 13:42 +0200, Reindl Harald wrote:
> 
> Am 01.08.2011 13:39, schrieb Paul Smith:
> > On Mon, Aug 1, 2011 at 12:26 PM, Lawrence E Graves
> > <lgraves at risingstarmbc.com> wrote:
> >> I updated to the new kernel 40-4 and now my vmware workstation will not
> >> compile. I believe there is a missing program. Please check.
> > 
> > Consider instead to use VirtualBox:
> > 
> > http://www.virtualbox.org/
> > 
> > There is a repo for Fedora, so you can install it with yum. It works great!
> 
> you can never compare vbox and VMware, really you can not!
> VMware-Images can be used/converted everywehre up to ESXi/vCenter
> 
> http://weltall.heliohost.org/wordpress/2011/05/14/running-vmware-workstation-player-on-linux-2-6-39-updated/
> http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/05/vmware2.6.39patchv3.tar.bz2
> 

I installed 2.6.40-4.fc15.x86_64 and tried to build VMware.  I ran into
this error almost at once:

  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:783:59: error:
‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)


It's caused by the following being removed from the file
source/include/linux/spinlock_types.h:

/*
 * SPIN_LOCK_UNLOCKED defeats lockdep state tracking and is hence
 * deprecated.
 * Please use DEFINE_SPINLOCK() or __SPIN_LOCK_UNLOCKED() as
 * appropriate.
 */
#define SPIN_LOCK_UNLOCKED __SPIN_LOCK_UNLOCKED(old_style_spin_init)

Looks like a patch to the VMware source code should fix this issue. I
can experiment with this if I can find the time.  There may be more
"issues," however.

-- 
Mark C. Allman, PMP, CSM
Allman Professional Consulting, Inc.
First Vice-President, Ocean State PMI
www.allmanpc.com, 617-947-4263

 



More information about the users mailing list