Проблема при установке vmware (ошибки компилятора)

Модератор: Модераторы разделов

ferrum2688
Сообщения: 22
ОС: XP,98,openSUSE10.2

Проблема при установке vmware

Сообщение ferrum2688 »

openSuSe 10.3
VMware-workstation-5.5.3-34685.i386.rpm (думаю что этот пакет для openSusE 10.2)
Пытаюсь поставить:
linux-qnsw:/home/dim # vmware-config.pl
Making sure services for VMware Workstation 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]

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

None of the pre-built vmmon modules for VMware Workstation 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.22.5-31-default/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.22.5-31-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PW
D/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/i386/default modules
CC [M] /tmp/vmware-config4/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config4/vmmon-only/linux/driver.c:80:
/tmp/vmware-config4/vmmon-only/./include/compat_kernel.h:21: error: expected decla ration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config4/vmmon-only/./include/compat_kernel.h:21: error: expected decla ration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config4/vmmon-only/./include/compat_kernel.h:21: warning: type default s to ‘int’ in declaration of ‘_syscall1’
make[4]: *** [/tmp/vmware-config4/vmmon-only/linux/driver.o] Ошибка 1
make[3]: *** [_module_/tmp/vmware-config4/vmmon-only] Ошибка 2
make[2]: *** [modules] Ошибка 2
make[1]: *** [modules] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make: *** [vmmon.ko] Ошибка 2
make: Leaving directory `/tmp/vmware-config4/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.

И что мне с этим делать?
Спасибо сказали:

Аватара пользователя
Kido
Сообщения: 949
Статус: Космический Засланец
ОС: ArchLinux x86_64 Current

Re: Проблема при установке vmware

Сообщение Kido »

А там не смотрели?
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".
Спасибо сказали: