|
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!
|
Commenti
root@francesco-DELL:/# cd tmp
root@francesco-DELL:/tmp# cd vmware-server-distrib
root@francesco-DELL:/tmp/vmware-server-distrib#
root@francesco-DELL:/tmp/vmware-server-distrib# ./vmware-install.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-support' missing LSB tags and overrides
insserv: warning: script 'module-init-tools' 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-manager' 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-interface' 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/vmware]
The path "/usr/lib/vmware" 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-install.pl line 458.
closedir() attempted on invalid dirhandle LS at ./vmware-install.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/vmware-server-distrib# ./vmware-install.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-support' missing LSB tags and overrides
insserv: warning: script 'module-init-tools' 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-manager' 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-interface' 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/vmware]
The path "/usr/lib/vmware" 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-install.pl line 458.
closedir() attempted on invalid dirhandle LS at ./vmware-install.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/vmware-server-distrib# 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/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]
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/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-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-generic/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-config5/vmmon-only/./include/vmware.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-config5/vmmon-only/./include/x86.h:21,
from /tmp/vmware-config5/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/asm/apic.h:11,
from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/smp.h:13,
from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/mmzone_64.h:12,
from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/mmzone.h:4,
from include/linux/mmzone.h:773,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.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-config5/vmmon-only/./include/x86.h:24,
from /tmp/vmware-config5/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/asm/paravirt.h:7,
from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/irqflags.h:61,
from include/linux/irqflags.h:57,
from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/system.h:11,
from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/processor.h:17,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.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-config5/vmmon-only/./include/vcpuset.h:89,
from /tmp/vmware-config5/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config5/vmmon-only/./common/vmx86.h:19,
from /tmp/vmware-config5/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-config5/vmmon-only/./include/vmci_kernel_def s.h:26,
from /tmp/vmware-config5/vmmon-only/./common/vmciContext.h:19,
from /tmp/vmware-config5/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-config5/vmmon-only/./include/vmci_kernel_def s.h:26,
from /tmp/vmware-config5/vmmon-only/./common/vmciContext.h:19,
from /tmp/vmware-config5/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-config5/vmmon-only/./include/vm_asm_x86_64.h:25,
from /tmp/vmware-config5/vmmon-only/./include/vm_asm.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-config5/vmmon-only/./include/vm_asm.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-config5/vmmon-only/linux/vmhost.h:13,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:84:
/tmp/vmware-config5/vmmon-only/./include/compat_semaphor e.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_Op en’:
/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_funct ion’
make[2]: *** [/tmp/vmware-config5/vmmon-only/linux/driver.o] Errore 1
make[1]: *** [_module_/tmp/vmware-config5/vmmon-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.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_module s_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.pl è 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