BackupMX

Valutazione attuale: 0 / 5

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva
 

Installando VMware Server 1.0.5 build-80187 (ma può succedere anche con altre versioni) su una Ubuntu 8.04 amd64 (ma può succedere anche su altre versioni/distro) ho incontrato il problema di non riuscire a compilare il driver vmmon (a dire il vero non ci è riuscita l'installazione di VMware!).

Questo è un pezzo dell'errore:


 Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.24-16-server/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-server'
  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:159: error: redefinition of typedef ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:20,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:20,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config0/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config0/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1659: error: ‘struct mm_struct’ has no member named ‘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]: Leaving directory `/usr/src/linux-headers-2.6.24-16-server'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/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.

Il problema è dovuto ad una qualche incompatibilità tra versione di VMware e versione della distribuzione installata.

Per risolvere il problema ho installato la patch vmware-any-any-update115, scaricata dal sito http://knihovny.cvut.cz/ftp/pub/vmware/ .

Di seguito i passaggi (esegui tutto da root o scrivi i vari comandi mettendo sudo davanti):

# cd /tmp
# wget http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update115.tar.gz
# tar xvfz vmware-any-any-update115.tar.gz
# cd vmware-any-any-update115
# ./runme.pl

Updating /usr/bin/vmware-config.pl ... now patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes] yes



Updating /usr/bin/vmware-config.pl ... now patched Updating /usr/bin/vmware ... No patch needed/available Updating /usr/bin/vmnet-bridge ... No patch needed/available Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available VMware modules in "/usr/lib/vmware/modules/source" has been updated. Before running VMware for the first time after update, you need to configure it for your running kernel by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this script to invoke the command for you now? [yes] yes

prosegui ed andrà tutto ok...sennò facci sapere!

Argomenti correlati:
linux   vmware  

Commenti  

0 #1 L\'errore continua uguale... :(Francesco 2010-04-27 20:10
Ciao, io ho fatto tutto quello che hai fatto tu fino alla fine, solo che poi non è andato tutto bene ma mi ha restituito la stessa cosa che mi ha restituito prima della patch (addirittura per sicurezza ho anche installato la versione VMWare Server 1.4 invece che 2), ti mostro:

root@francesco-DELL:/# cd tmp
root@francesco-DELL:/tmp# cd vmware-server-distrib
root@francesco- DELL:/tmp/vmwar e-server-distri b#
root@francesco- DELL:/tmp/vmwar e-server-distri b# ./vmware-instal l.pl
A previous installation of VMware software has been detected.

The previous installation was made by the tar installer (version 3).

Keeping the tar3 installer database format.

Uninstalling the tar installation of VMware Server.

inetd: no process found
insserv: warning: script 'K20acpi-suppor t' missing LSB tags and overrides
insserv: warning: script 'module-init-to ols' missing LSB tags and overrides
insserv: warning: script 'acpid' missing LSB tags and overrides
insserv: warning: script 'failsafe-x' missing LSB tags and overrides
insserv: warning: script 'hwclock-save' missing LSB tags and overrides
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: warning: script 'udevtrigger' missing LSB tags and overrides
insserv: warning: script 'dmesg' missing LSB tags and overrides
insserv: warning: script 'hal' missing LSB tags and overrides
insserv: warning: script 'avahi-daemon' missing LSB tags and overrides
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: warning: script 'udevmonitor' missing LSB tags and overrides
insserv: warning: script 'gdm' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
insserv: warning: script 'rsyslog-kmsg' missing LSB tags and overrides
insserv: warning: script 'ufw' missing LSB tags and overrides
insserv: warning: script 'apport' missing LSB tags and overrides
insserv: warning: script 'rsyslog' missing LSB tags and overrides
insserv: warning: script 'hwclock' missing LSB tags and overrides
insserv: warning: script 'network-manage r' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `networking' overwrites defaults (empty).
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty).
insserv: warning: script 'network-interf ace' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty).
insserv: warning: script 'cron' missing LSB tags and overrides
insserv: script virtualbox-ose: service vboxdrv already provided!
insserv: script virtualbox-ose: service virtualbox-ose already provided!
insserv: warning: script 'anacron' missing LSB tags and overrides
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: warning: script 'usplash' missing LSB tags and overrides
insserv: warning: script 'atd' missing LSB tags and overrides
insserv: There is a loop between service rsyslog and pulseaudio if stopped
insserv: loop involving service pulseaudio at depth 3
insserv: loop involving service rsyslog at depth 2
insserv: loop involving service udev at depth 1
insserv: There is a loop between service pulseaudio and rsyslog if stopped
insserv: exiting without changing boot order!
Stopping VMware services:
Virtual machine monitor done

File /usr/bin/vmware -config.pl is backed up to /usr/bin/vmware -config.pl.old.2.


The removal of VMware Server 1.0.4 build-56528 for Linux completed
successfully. Thank you for having tried this software.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmwar e]

The path "/usr/lib/vmwar e" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the manual files?
[/usr/share/man ]

In which directory do you want to install the documentation files?
[/usr/share/doc /vmware]

The path "/usr/share/doc /vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

readdir() attempted on invalid dirhandle LS at ./vmware-instal l.pl line 458.
closedir() attempted on invalid dirhandle LS at ./vmware-instal l.pl line 459.
The installation of VMware Server 1.0.4 build-56528 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware -config.pl". Do you want this
program to invoke the command for you now? [yes]

Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done

You must read and accept the End User License Agreement to continue.
Press enter to display it.

root@francesco- DELL:/tmp/vmwar e-server-distri b# ./vmware-instal l.pl
A previous installation of VMware software has been detected.

The previous installation was made by the tar installer (version 3).

Keeping the tar3 installer database format.

Uninstalling the tar installation of VMware Server.

inetd: no process found
insserv: warning: script 'K20acpi-suppor t' missing LSB tags and overrides
insserv: warning: script 'module-init-to ols' missing LSB tags and overrides
insserv: warning: script 'acpid' missing LSB tags and overrides
insserv: warning: script 'failsafe-x' missing LSB tags and overrides
insserv: warning: script 'hwclock-save' missing LSB tags and overrides
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: warning: script 'udevtrigger' missing LSB tags and overrides
insserv: warning: script 'dmesg' missing LSB tags and overrides
insserv: warning: script 'hal' missing LSB tags and overrides
insserv: warning: script 'avahi-daemon' missing LSB tags and overrides
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: warning: script 'udevmonitor' missing LSB tags and overrides
insserv: warning: script 'gdm' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
insserv: warning: script 'rsyslog-kmsg' missing LSB tags and overrides
insserv: warning: script 'ufw' missing LSB tags and overrides
insserv: warning: script 'apport' missing LSB tags and overrides
insserv: warning: script 'rsyslog' missing LSB tags and overrides
insserv: warning: script 'hwclock' missing LSB tags and overrides
insserv: warning: script 'network-manage r' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `networking' overwrites defaults (empty).
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty).
insserv: warning: script 'network-interf ace' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty).
insserv: warning: script 'cron' missing LSB tags and overrides
insserv: script virtualbox-ose: service vboxdrv already provided!
insserv: script virtualbox-ose: service virtualbox-ose already provided!
insserv: warning: script 'anacron' missing LSB tags and overrides
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: warning: script 'usplash' missing LSB tags and overrides
insserv: warning: script 'atd' missing LSB tags and overrides
insserv: There is a loop between service rsyslog and pulseaudio if stopped
insserv: loop involving service pulseaudio at depth 3
insserv: loop involving service rsyslog at depth 2
insserv: loop involving service udev at depth 1
insserv: There is a loop between service pulseaudio and rsyslog if stopped
insserv: exiting without changing boot order!
Stopping VMware services:
Virtual machine monitor done

File /usr/bin/vmware -config.pl is backed up to /usr/bin/vmware -config.pl.old.2.


The removal of VMware Server 1.0.4 build-56528 for Linux completed
successfully. Thank you for having tried this software.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmwar e]

The path "/usr/lib/vmwar e" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the manual files?
[/usr/share/man ]

In which directory do you want to install the documentation files?
[/usr/share/doc /vmware]

The path "/usr/share/doc /vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

readdir() attempted on invalid dirhandle LS at ./vmware-instal l.pl line 458.
closedir() attempted on invalid dirhandle LS at ./vmware-instal l.pl line 459.
The installation of VMware Server 1.0.4 build-56528 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware -config.pl". Do you want this
program to invoke the command for you now? [yes]

Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done

You must read and accept the End User License Agreement to continue.
Press enter to display it.

root@francesco- DELL:/tmp/vmwar e-server-distri b# cd ..
root@francesco-DELL:/tmp#
root@francesco-DELL:/tmp# cd vmware-any-any-update115
root@francesco-DELL:/tmp/vmware-any-any-update115# ./runme.pl
Updating /usr/bin/vmware -config.pl ... now patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet- bridge ... No patch needed/available
Updating /usr/lib/vmware /bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware /bin-debug/vmwa re-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmwar e/modules/sourc e" has been updated.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware -config.pl". Do you want this script to invoke the command for
you now? [yes]

Making sure services for VMware Server 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/ico ns]

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

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

/usr/share/appl ications/vmware -server.desktop : warning: value "vmware-server. 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-console-uri-handler.desktop: warning: value "vmware-server. 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 Server 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.31-20-generi c/build/include ]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: ingresso nella directory «/tmp/vmware-config5/vmmon-only»
make -C /lib/modules/2. 6.31-20-generic /build/include/ .. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: ingresso nella directory «/usr/src/linux -headers-2.6.31 -20-generic»
CC [M] /tmp/vmware-config5/vmmon-only/linux/driver.o
In file included from /tmp/vmware-con fig5/vmmon-only /./include/vmwa re.h:25,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:52:
/tmp/vmware-config5/vmmon-only/./include/vm_basic_types.h:97:7: warning: "__FreeBSD__" is not defined
In file included from /tmp/vmware-con fig5/vmmon-only /./include/x86. h:21,
from /tmp/vmware-con fig5/vmmon-only /linux/driver.h :15,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:53:
/tmp/vmware-config5/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux- headers-2.6.31- 20-generic/arch /x86/include/as m/apic.h:11,
from /usr/src/linux- headers-2.6.31- 20-generic/arch /x86/include/as m/smp.h:13,
from /usr/src/linux- headers-2.6.31- 20-generic/arch /x86/include/as m/mmzone_64.h:1 2,
from /usr/src/linux- headers-2.6.31- 20-generic/arch /x86/include/as m/mmzone.h:4,
from include/linux/m mzone.h:773,
from include/linux/g fp.h:4,
from include/linux/k mod.h:22,
from include/linux/m odule.h:13,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:16:
/usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/apicdef.h:133:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-con fig5/vmmon-only /./include/x86. h:24,
from /tmp/vmware-con fig5/vmmon-only /linux/driver.h :15,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:53:
/tmp/vmware-config5/vmmon-only/./include/x86paging.h:61:1: warning: "PTE_PFN_MASK" redefined
In file included from /usr/src/linux- headers-2.6.31- 20-generic/arch /x86/include/as m/paravirt.h:7,
from /usr/src/linux- headers-2.6.31- 20-generic/arch /x86/include/as m/irqflags.h:61 ,
from include/linux/i rqflags.h:57,
from /usr/src/linux- headers-2.6.31- 20-generic/arch /x86/include/as m/system.h:11,
from /usr/src/linux- headers-2.6.31- 20-generic/arch /x86/include/as m/processor.h:1 7,
from include/linux/p refetch.h:14,
from include/linux/l ist.h:6,
from include/linux/m odule.h:9,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:16:
/usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/pgtable_types.h:182:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-con fig5/vmmon-only /./include/vcpu set.h:89,
from /tmp/vmware-con fig5/vmmon-only /./include/modu lecall.h:23,
from /tmp/vmware-con fig5/vmmon-only /./common/vmx86 .h:19,
from /tmp/vmware-con fig5/vmmon-only /linux/driver.h :16,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:53:
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:273:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:277:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:345:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:351:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:404:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:450:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:495:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:539:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:584:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:628:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:673:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:717:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:719:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:760:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:804:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:806:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:847:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:889:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:891:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:930:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:972:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:974:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1013:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1167:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1171:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1257:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1470:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1597:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1730:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-con fig5/vmmon-only /./include/vmci _kernel_defs.h: 26,
from /tmp/vmware-con fig5/vmmon-only /./common/vmciC ontext.h:19,
from /tmp/vmware-con fig5/vmmon-only /linux/driver.h :21,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:53:
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL " is not defined
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL " is not defined
In file included from /tmp/vmware-con fig5/vmmon-only /./include/vmci _kernel_defs.h: 26,
from /tmp/vmware-con fig5/vmmon-only /./common/vmciC ontext.h:19,
from /tmp/vmware-con fig5/vmmon-only /linux/driver.h :21,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:53:
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:70: note: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-con fig5/vmmon-only /./include/vm_a sm_x86_64.h:25,
from /tmp/vmware-con fig5/vmmon-only /./include/vm_a sm.h:28,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:56:
/tmp/vmware-config5/vmmon-only/./include/vm_asm_x86.h:479:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_asm_x86.h:772:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_asm_x86.h:812:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-con fig5/vmmon-only /./include/vm_a sm.h:28,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:56:
/tmp/vmware-config5/vmmon-only/./include/vm_asm_x86_64.h:42:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config5/vmmon-only/linux/driver.c:83:
/tmp/vmware-config5/vmmon-only/./common/hostif.h:39:7: warning: "WINNT_DDK" is not defined
In file included from /tmp/vmware-con fig5/vmmon-only /linux/vmhost.h :13,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:84:
/tmp/vmware-config5/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h : Nessun file o directory
/tmp/vmware-config5/vmmon-only/linux/driver.c:171: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config5/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/tmp/vmware-config5/vmmon-only/linux/driver.c:175: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config5/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
/tmp/vmware-config5/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Open’:
/tmp/vmware-config5/vmmon-only/linux/driver.c:558: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-config5/vmmon-only/linux/driver.c: In function ‘__LinuxDriver_Ioctl’:
/tmp/vmware-config5/vmmon-only/linux/driver.c:1495: error: ‘struct task_struct’ has no member named ‘suid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1496: error: ‘struct task_struct’ has no member named ‘cap_permitted’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1761: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1761: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1762: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1762: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1763: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1763: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1764: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1764: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1781: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-co nfig5/vmmon-onl y/linux/driver. o] Errore 1
make[1]: *** [_module_/tmp/v mware-config5/v mmon-only] Errore 2
make[1]: uscita dalla directory «/usr/src/linux -headers-2.6.31 -20-generic»
make: *** [vmmon.ko] Errore 2
make: uscita dalla directory «/tmp/vmware-config5/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.vmw are.com/downloa d/modules/modul es.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

######################

Adesso, ovviamente, mi dice:

root@francesco-DELL:/# vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware -config.pl.

Ma, come sai, eseguire vmware-config.p l è del tutto inutile...
E adesso che faccio???
Ci terrei veramente tantissimo a completare questa installazione, spero tanto tu mi possa aiutare, io non so che pesci prendere...
Grazie mille in anticipo
Citazione
By  Dario  &  Federica