h1

Error Unable to build the vmmon module al instalar Vmware en K/Ubuntu

17/02/2007

Cuando sale este error al instalar vmware (en K/Ubuntu Edgy por ejemplo):
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

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

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: se ingresa al directorio `/tmp/vmware-config6/vmmon-only'
make -C /lib/modules/2.6.17-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PW D/. modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.17-11-generic'
CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config6/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:49:
/tmp/vmware-config6/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config6/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config6/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:49:
/tmp/vmware-config6/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:62: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config6/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type
/tmp/vmware-config6/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config6/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config6/vmmon-only] Error 2
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.17-11-generic'
make: *** [vmmon.ko] Error 2
make: se sale del directorio `/tmp/vmware-config6/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.

se soluciona instalando un script que facilita la compilación del módulo de vmware, el paquete vmware-any-any-update117.tar.gz. Ejecutando runme.pl saldrá un instalador que guiará facilmente.

En kernels 2.6.27 y 2.6.28 sin embargo hay que utilizar este parche.

Y por supuesto, hay alternativas bastante interesantes (y sobre todo: libres) a Vmware, como Qemu , Bochs ó la mejor alternativa a Vmware, VirtualBox , compatible con las máquinas virtuales creadas con Vmware.

Anuncios

One comment

  1. Hola, Acabo de instalar el nuevo Ubuntu 8.10 en mi laptop con proc. amd64. y he tratado de ejecutar los parches q estan en ese ftp, pero no me ha sido posible completar la instalación.
    Sigue con el mismo error, q puede ser??



Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: