VMware

This Question is Answered

1 "helpful" answer available (6 pts)
2 Replies Last post: Mar 22, 2008 2:28 AM by the_wanderer  

If/how/when can I get VMWare Workstation 6.0.3 running on Ubuntu 8.04 Beta? posted: Mar 21, 2008 12:58 PM

Click to view cconvey's profile Lurker 1 posts since
Mar 21, 2008

I just upgraded my Ubuntu 7.10 computer to 8.04 beta. vmware insisted that I run vmware-configure.pl. When I ran it I got this familiar error:

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.24-12-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.24-12-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-12-generic'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config1/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config1/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config1/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config1/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly
make[2]: *** [/tmp/vmware-config1/vmmon-only/common/cpuid.o] Error 1
make[1]: *** _module_/tmp/vmware-config1/vmmon-only Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-12-generic'
make: *** http://vmmon.ko Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

Does anyone know if/when/how it's possible to get around this?

Click to view DirkKoopman's profile Novice 1 posts since
Aug 20, 2006
It's easy to fix see:
[http://communities.vmware.com//docs/DOC-3850#cf|d-3850#cf]
Click to view the_wanderer's profile Novice 1 posts since
Mar 22, 2008

Note that if you are getting the following error, you may need to install g++ or g++4.2.

Fix with:

apt-get install build-essential

CC [M] /tmp/vmware-config4/vmmon-only/common/task.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [/tmp/vmware-config4/vmmon-only/common/task.o] Error 1
make[1]: *** --_module_/tmp/vmware-config4/vmmon-only-- Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-12-generic'
make: *** http://vmmon.ko Error 2
make: Leaving directory `/tmp/vmware-config4/vmmon-only'
Unable to build the vmmon module.
Hope this helps someone I tried the "any" patch and other methods before getting a solution.


Regards,

Peter

http://www.hackertarget.com

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities