Précédent   Forum des professionnels en informatique > Systèmes > Virtualisation > VMware
VMware Forum d'entraide sur la solution de virtualisation VMware
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 19/03/2011, 23h24   #1
Candidat au titre de Membre du Club
 
Inscription : novembre 2010
Messages : 16
Détails du profil
Informations forums :
Inscription : novembre 2010
Messages : 16
Points : 14
Points : 14
Par défaut VMware server 2.0 et debian squeeze amd64

bonjour,

j'essaie d'installer VMware server 2.0 sur un serveur Debian squeeze 64bits,

l'installation se fait sans problème majeur jusqu'à la compilation de vmmon et je netrouve pas de solution, j'ai bien essayer de patcher le scripte d'installation mais j'en revien toujours à la même erreur.

si quelqu'un peut me donner un coup de main à comprendre, merci

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines                                                   failed
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                           failed
Stopping VMware services:
   VMware Authentication Daemon                                        done
   Virtual machine monitor                                             done

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.32-5-amd64/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: entrant dans le répertoire « /tmp/vmware-config1/vmmon-only »
make -C /lib/modules/2.6.32-5-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.32-5-amd64 »
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
/tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/module.h:9,
                 from /tmp/vmware-config1/vmmon-only/./include/compat_module.h:27,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr-index.h:230:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
/tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/module.h:9,
                 from /tmp/vmware-config1/vmmon-only/./include/compat_module.h:27,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr-index.h:230:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/hostif.o
/tmp/vmware-config1/vmmon-only/linux/hostif.c:36:25: error: compat_cred.h: Aucun fichier ou dossier de ce type
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
                 from /tmp/vmware-config1/vmmon-only/./common/hostif.h:32,
                 from /tmp/vmware-config1/vmmon-only/linux/hostif.c:73:
/tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr.h:4,
                 from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/thread_info.h:22,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/thread_info.h:56,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/preempt.h:9,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/mmzone.h:7,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/gfp.h:4,
                 from /usr/src/linux-headers-2.6.32-5-common/include/linux/mm.h:8,
                 from /tmp/vmware-config1/vmmon-only/./include/compat_page.h:23,
                 from /tmp/vmware-config1/vmmon-only/linux/hostif.c:32:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr-index.h:230:1: warning: this is the location of the previous definition
/tmp/vmware-config1/vmmon-only/linux/hostif.c: In function ‘HostIFFastClockThread’:
/tmp/vmware-config1/vmmon-only/linux/hostif.c:3462: error: implicit declaration of function ‘compat_cap_raise’
/tmp/vmware-config1/vmmon-only/linux/hostif.c: In function ‘HostIF_SetFastClockRate’:
/tmp/vmware-config1/vmmon-only/linux/hostif.c:3587: error: implicit declaration of function ‘compat_current_fsuid’
/tmp/vmware-config1/vmmon-only/linux/hostif.c:3594: error: implicit declaration of function ‘compat_cap_raised’
/tmp/vmware-config1/vmmon-only/linux/hostif.c:3598: error: implicit declaration of function ‘compat_cap_lower’
make[4]: *** [/tmp/vmware-config1/vmmon-only/linux/hostif.o] Erreur 1
make[3]: *** [_module_/tmp/vmware-config1/vmmon-only] Erreur 2
make[2]: *** [sub-make] Erreur 2
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.32-5-amd64 »
make: *** [vmmon.ko] Erreur 2
make: quittant le répertoire « /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/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".

Execution aborted.
lib-inform est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 06/04/2011, 12h43   #2
Rédacteur/Modérateur
 
Avatar de lavazavio
 
Homme
Inscription : décembre 2004
Messages : 1 653
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 30
Localisation : France, Rhône (Rhône Alpes)

Informations forums :
Inscription : décembre 2004
Messages : 1 653
Points : 2 025
Points : 2 025
Bonjour,

Quelle version de gcc as-tu installée ?
Il est recommandé gcc-4.1.

Sinon, les paquets à installer sont :
Code :
apt-get install linux-headers-`uname -r` build-essential xinetd gcc-4.1

Egalement, il faut faire un lien symbolique de gcc-4.1 vers gcc et créer la variable CC :
Code :
1
2
ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
export CC=/usr/bin/gcc-4.1
__________________
Rédacteur et Modérateur rubrique Linux
Articles dvp.com
Man pages en français
lavazavio est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 20h10.


 
 
 
 
Partenaires

Hébergement Web