Проблема конфигурирования VMware

PCLinuxOS

Модератор: Bizdelnick

VecToR
Сообщения: 10
ОС: Mandriva Linux 2006

Проблема конфигурирования VMware

Сообщение VecToR »

Заранее прошу прощения за длинный пост, но я просто не знаю где именно возникает проблема

[root@localhost ~]# /usr/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.

Stopping VMware services:
Virtual machine monitor [ OK ]

Trying to find a suitable vmmon module for your running kernel.

None of VMware Workstation's pre-built vmmon modules 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.12-12mdk/build/include] /usr/include

The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are you
sure that /usr/include contains the header files associated with your running
kernel? [no] y

The directory of kernel headers (version 2.6.12) does not match your running
kernel (version 2.6.12-12mdk). Even if the module were to compile successfully,
it would not load into the running kernel.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.12-12mdk/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/root/tmp/vmware-config6/vmmon-only'
make -C /lib/modules/2.6.12-12mdk/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.12-12mdk'

WARNING: Symbol version dump /usr/src/linux-2.6.12-12mdk/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /root/tmp/vmware-config6/vmmon-only/linux/driver.o
/root/tmp/vmware-config6/vmmon-only/linux/driver.c:131: warning: initialization from incompatible pointer type
/root/tmp/vmware-config6/vmmon-only/linux/driver.c:135: warning: initialization from incompatible pointer type
CC [M] /root/tmp/vmware-config6/vmmon-only/linux/hostif.o
In file included from /root/tmp/vmware-config6/vmmon-only/linux/hostif.c:61:
/root/tmp/vmware-config6/vmmon-only/./include/pgtbl.h: In function 'PgtblVa2PTELocked':
/root/tmp/vmware-config6/vmmon-only/./include/pgtbl.h:81: error: request for member 'pgd' in something not a structure or union
make[2]: *** [/root/tmp/vmware-config6/vmmon-only/linux/hostif.o] Ошибка 1
make[1]: *** [_module_/root/tmp/vmware-config6/vmmon-only] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.12-12mdk'
make: *** [vmmon.ko] Ошибка 2
make: Leaving directory `/root/tmp/vmware-config6/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.

Что это за ерунда и как ее лечить?
Спасибо сказали:
Аватара пользователя
Hvzh
Сообщения: 711
Статус: Gone with Linux
ОС: Linux Mint 18.1

Re: Проблема конфигурирования VMware

Сообщение Hvzh »

VecToR писал(а):
03.09.2006 14:54
Заранее прошу прощения за длинный пост, но я просто не знаю где именно возникает проблема

[root@localhost ~]# /usr/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.

Stopping VMware services:
Virtual machine monitor [ OK ]

Trying to find a suitable vmmon module for your running kernel.

None of VMware Workstation's pre-built vmmon modules 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.12-12mdk/build/include] /usr/include

The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are you
sure that /usr/include contains the header files associated with your running
kernel? [no] y

The directory of kernel headers (version 2.6.12) does not match your running
kernel (version 2.6.12-12mdk). Even if the module were to compile successfully,
it would not load into the running kernel.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.12-12mdk/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/root/tmp/vmware-config6/vmmon-only'
make -C /lib/modules/2.6.12-12mdk/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.12-12mdk'

WARNING: Symbol version dump /usr/src/linux-2.6.12-12mdk/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /root/tmp/vmware-config6/vmmon-only/linux/driver.o
/root/tmp/vmware-config6/vmmon-only/linux/driver.c:131: warning: initialization from incompatible pointer type
/root/tmp/vmware-config6/vmmon-only/linux/driver.c:135: warning: initialization from incompatible pointer type
CC [M] /root/tmp/vmware-config6/vmmon-only/linux/hostif.o
In file included from /root/tmp/vmware-config6/vmmon-only/linux/hostif.c:61:
/root/tmp/vmware-config6/vmmon-only/./include/pgtbl.h: In function 'PgtblVa2PTELocked':
/root/tmp/vmware-config6/vmmon-only/./include/pgtbl.h:81: error: request for member 'pgd' in something not a structure or union
make[2]: *** [/root/tmp/vmware-config6/vmmon-only/linux/hostif.o] Ошибка 1
make[1]: *** [_module_/root/tmp/vmware-config6/vmmon-only] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.12-12mdk'
make: *** [vmmon.ko] Ошибка 2
make: Leaving directory `/root/tmp/vmware-config6/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.

Что это за ерунда и как ее лечить?


Поиск запустите. Здесь эта проблема обсуждалась не раз. Нужно патч скачать
HP 255 G4 A6-6310 + Linux Mint 18.1 + Windoze7 under VmWare + OS X Mavericks under VmWare
Спасибо сказали:
VecToR
Сообщения: 10
ОС: Mandriva Linux 2006

Re: Проблема конфигурирования VMware

Сообщение VecToR »

Извините, но я не смог найти на форуме описание моеи проблемы. Не могли бы вы поподробнее написать как с этим бороться?
Спасибо сказали:
Аватара пользователя
Snupt
Бывший модератор
Сообщения: 2062
Статус: No Place for RTFM Here…
ОС: Mac OS X

Re: Проблема конфигурирования VMware

Сообщение Snupt »

Установка VMware детально описана в FAQ раздела форума - http://linuxforum.ru/index.php?showtopic=19234
(Hvzh @ Sep 4 2006, в 10:29) писал(а):Нужно патч скачать

Никаких патчей качать не надо. Всё и так становится нормально.
Спасибо сказали:
Аватара пользователя
Hvzh
Сообщения: 711
Статус: Gone with Linux
ОС: Linux Mint 18.1

Re: Проблема конфигурирования VMware

Сообщение Hvzh »

CnupT писал(а):
04.09.2006 22:20
Никаких патчей качать не надо. Всё и так становится нормально.

Ну-ну
HP 255 G4 A6-6310 + Linux Mint 18.1 + Windoze7 under VmWare + OS X Mavericks under VmWare
Спасибо сказали:
Antonio_Tux
Сообщения: 10
ОС: ManDrake

Re: Проблема конфигурирования VMware

Сообщение Antonio_Tux »

А Вари версия какая?
Спасибо сказали: