Problem installing VMware on Ubuntu 8.04b

Asked by jesvem

Hi, I 've tried to install VMware Workstation on Ubuntu 8.04b but is impossible, always the execution is aborted. I reconfigured with the vmware-config.pl but says that I need a vmmon modules for my kernel. The program try to build it with the C compiler but report the next error:

$ vmware-config.pl
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 theme 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]

/usr/share/applications/vmware-workstation.desktop: warning: value "vmware-workstation.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/vmware-player.desktop: warning: value "vmware-player.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
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.24-16-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-config0/vmmon-only'
make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.24-16-generic'
  CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/./include/vmware.h:25,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:48:
/tmp/vmware-config0/vmmon-only/./include/vm_basic_types.h:170: error: tipos en conflicto para ‘uintptr_t’
include/linux/types.h:40: error: la declaración previa de ‘uintptr_t’ estaba aquí
En el fichero incluído de /tmp/vmware-config0/vmmon-only/./include/x86.h:23,
                 de /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
                 de /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/x86cpuid.h:381:1: aviso: se redefinió "BIT_MASK"
En el fichero incluído de include/linux/kernel.h:15,
                 de /tmp/vmware-config0/vmmon-only/linux/driver.c:11:
include/linux/bitops.h:7:1: aviso: esta es la ubicación de la definición previa
En el fichero incluído de /tmp/vmware-config0/vmmon-only/./include/vmci_kernel_defs.h:26,
                 de /tmp/vmware-config0/vmmon-only/./common/vmciContext.h:19,
                 de /tmp/vmware-config0/vmmon-only/linux/driver.h:21,
                 de /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:37:5: aviso: "VMW_HAVE_EPOLL" no está definido
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:43:5: aviso: "VMW_HAVE_EPOLL" no está definido
In file included from /tmp/vmware-config0/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config0/vmmon-only/./common/vmciContext.h:19,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.h:21,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: error: tipos en conflicto para ‘poll_initwait’
include/linux/poll.h:65: error: la declaración previa de ‘poll_initwait’ estaba aquí
/tmp/vmware-config0/vmmon-only/linux/driver.c:150: aviso: inicialización desde un tipo de puntero incompatible
/tmp/vmware-config0/vmmon-only/linux/driver.c: En la función ‘LinuxDriver_Ioctl’:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1715: error: ‘struct mm_struct’ no tiene un miembro llamado ‘dumpable’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [vmmon.ko] Error 2
make: se sale del directorio `/tmp/vmware-config0/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.

Thank you very and please let me know what else I can do to help.

Jesus

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
hardcorelinux
Solved:
Last query:
Last reply:
Revision history for this message
Gábor Náray (xlii) said :
#1

I can't help you with that, but you might try to install qemu. there is a bug in gutsy with that, but it can be solved with that

https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/144368

Otherwise it's quite the same funcionality.

Revision history for this message
jesvem (jesusvm) said :
#2

Hi Gábor thanks for the answered but I prefer to continuous using VMware because I already had my O.S.'s working perfectly in VMware and I know it.

Thanks in any case.

Jesus

Revision history for this message
Best hardcorelinux (hardcorelinux) said :
#3

Already discussed here and _solved_:
http://ubuntuforums.org/showthread.php?t=613976

Revision history for this message
jesvem (jesusvm) said :
#4

Thanks hardcorelinux, that solved my question.

Revision history for this message
ubuntuforum-bisi (ubuntuforum-bisi) said :
#5

link to solution has disappeared.

Revision history for this message
Paul Morris (paul-morris) said :
#6

Is that link out there somewhere? Having similar problem in 10.4 and VMware 2.0.2

Thanks,

P.M.

Revision history for this message
hardcorelinux (hardcorelinux) said :
#7