deny a écrit :
LE GOFF Jean-Yves a écrit :

vincnet a écrit :
bonjour à tous,

pour la nécessité de service, il me faut installer un "truc" sur mon pc.
Ce "truc" je l'avais viré depuis 2003 mais sans ce "truc" je ne pourrais
remplir le bulletin trimestriel de mes élèves ...


salut

edites  vmware-config.pl
et modifies le en commentant ce qui fait reference à address space size'.

voici

shell_string($pattern));
chomp($header_page_offset);
$header_page_offset =~ s/^$pattern \(?0x([0-9a-fA-F]{8,}).*$/$1/;
- if ($header_page_offset =~ /[0-9a-fA-F]{8,}/) {
- # We found a valid page offset
- if (defined($gSystem{'page_offset'}) and
- not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {
- if ($source eq 'user') {
- print wrap('The kernel defined by this directory of header files does '- . 'not have the same address space size as your running '
- . 'kernel.' . "\n\n", 0);
- }
- return '';
- }
- }
+# if ($header_page_offset =~ /[0-9a-fA-F]{8,}/) {
+# # We found a valid page offset
+# if (defined($gSystem{'page_offset'}) and
+# not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {
+# if ($source eq 'user') {
+# print wrap('The kernel defined by this directory of header files does '
+# . 'not have the same address space size as your running '

+# . 'kernel.' . "\n\n", 0);
+# }
+# return '';
+# }
+# }

return $answer;

enregistre et relance .

a+
}

above. Save file, and run vmware-config.pl again. If you did change right, you are now able to build modules.


bonjour,

j'ai essayé la mise en commentaire ...

j'obtiens le(s) message(s) suivant [attention texte à rallonge]

---message---

What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.17-5mdv/build/include] 5858: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file dbus-message.c line 797.
This is normally a bug in some application using the D-Bus library.
ICE default IO error handler doing an exit(), pid = 24646, errno = 0


Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: entrant dans le répertoire « /root/tmp/vmware-config0/vmmon-only »
make -C /lib/modules/2.6.17-5mdv/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.17-5mdv »

  WARNING: Symbol version dump /usr/src/linux-2.6.17-5mdv/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /root/tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /root/tmp/vmware-config0/vmmon-only/linux/driver.h:20,
from /root/tmp/vmware-config0/vmmon-only/linux/driver.c:49: /root/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined /root/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /root/tmp/vmware-config0/vmmon-only/linux/driver.h:20,
from /root/tmp/vmware-config0/vmmon-only/linux/driver.c:49: /root/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: error: conflicting types for 'poll_initwait' include/linux/poll.h:62: error: previous declaration of 'poll_initwait' was here /root/tmp/vmware-config0/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type /root/tmp/vmware-config0/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type
make[2]: *** [/root/tmp/vmware-config0/vmmon-only/linux/driver.o] Erreur 1
make[1]: *** [_module_/root/tmp/vmware-config0/vmmon-only] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.17-5mdv »
make: *** [vmmon.ko] Erreur 2
make: quittant le répertoire « /root/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.

---fin message---

rien de bien concluant donc

merci tout de même, je vais chercher encore

vincent


=========================================
Vous souhaitez acquerir votre pack ou des services Mandriva?
Rendez-vous sur "http://store.mandriva.com";.
Rejoignez le club Mandriva : http://club.mandriva.com
=========================================

Répondre à