VMware Communities
ant
Hot Shot
Hot Shot

Can't compile VMware v5.5.6 in Debian/Linux.

Hello,

I am trying to upgrade VMware Workstation v5.5.5 to v5.5.6, but it is having problems compiling vmmon module. Also, why am I getting an error on desktop png part? I assume it is a minor issue. Here's the log:

  1. /usr/bin/vmware-config.pl

Making sure services for VMware Workstation are stopped.

Stopping VMware services:

Virtual machine monitor done

Bridged networking on /dev/vmnet0 done

DHCP server on /dev/vmnet1 done

Host-only networking on /dev/vmnet1 done

DHCP server on /dev/vmnet8 done

NAT service on /dev/vmnet8 done

Host-only networking on /dev/vmnet8 done

Virtual ethernet done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?

What directory contains your desktop menu entry files? These files have a

.desktop file extension.

In which directory do you want to install the application's icon?

/usr/share/applications/vmware-workstation.desktop: error: 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

Error on file "/tmp/vmware-config1/vmware-workstation.desktop": Failed to validate the created desktop file

Use of uninitialized value in addition :smileyplus: at /usr/bin/vmware-config.pl line 804, line 3.

Unable to install the .desktop menu entry file. You must add it to your menus

by hand.

/usr/share/applications/vmware-player.desktop: error: 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

Error on file "/tmp/vmware-config1/vmware-player.desktop": Failed to validate the created desktop file

Use of uninitialized value in addition :smileyplus: at /usr/bin/vmware-config.pl line 804, line 3.

Unable to install the .desktop menu entry file. You must add it to your menus

by hand.

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)?

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?

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.22-1-k7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.22-1-k7'

CC /tmp/vmware-config1/vmmon-only/linux/driver.o

In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:

/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...â€TM before ‘compat_exitâ€TM

/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...â€TM before ‘exit_codeâ€TM

/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘intâ€TM in declaration of ‘_syscall1â€TM

make[2]: *** Error 1

make[1]: *** Error 2

make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-1-k7'

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.

Thank you in advance. Smiley Happy

Reply
0 Kudos
2 Replies
continuum
Immortal
Immortal

Try latest any2any patch


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

ant
Hot Shot
Hot Shot

Thanks. That worked. Smiley Happy Is vmware-any-any-update115.tar.gz the latest version?

Reply
0 Kudos