nixp.ru v3.0

20 апреля 2024,
суббота,
11:53:02 MSK

daemonBSD_PowerPC написал 30 июня 2005 года в 00:30 (1133 просмотра) Ведет себя неопределенно; открыл 97 тем в форуме, оставил 284 комментария на сайте.

не могу отконфигурировать проблема в следующем не знаю что и делать:

проблема в следующем:

lxuser@linux:~> su

Password:

linux:/home/lxuser # vmware-config.pl

Making sure VMware Workstation’s services are stopped.

Stopping VMware services:

Virtual machine monitor done

grep: /proc/ksyms: No such file or directory

grep: /proc/ksyms: No such file or directory

grep: /proc/ksyms: No such file or directory

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] y

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? [/usr/src/linux/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.4) does not match your running

kernel (version 2.6.5-7.155.29-default). 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? [/usr/src/linux/include] /usr/src/linux-2.6.5-7.155.29-obj/i386/default/

The path «/usr/src/linux-2.6.5-7.155.29-obj/i386/default» is an existing

directory, but it does not contain at least one of these directories «linux»,

«asm», «net» as expected.

What is the location of the directory of C header files that match your running

kernel? [/usr/src/linux/include] /usr/src/linux-2.6.5-7.155.29-obj/i386/default/

The path «/usr/src/linux-2.6.5-7.155.29-obj/i386/default» is an existing

directory, but it does not contain at least one of these directories «linux»,

«asm», «net» as expected.

What is the location of the directory of C header files that match your running

kernel? [/usr/src/linux/include] /usr/src/linux-2.6.5-7.155.29-obj/i386/default/

The path «/usr/src/linux-2.6.5-7.155.29-obj/i386/default» is an existing

directory, but it does not contain at least one of these directories «linux»,

«asm», «net» as expected.

What is the location of the directory of C header files that match your running

kernel? [/usr/src/linux/include] /usr/src/linux-2.6.5-7.155.29-obj/i386/default/

The path «/usr/src/linux-2.6.5-7.155.29-obj/i386/default» is an existing

directory, but it does not contain at least one of these directories «linux»,

«asm», «net» as expected.

What is the location of the directory of C header files that match your running

kernel? [/usr/src/linux/include] /usr/src/linux-2.6.5-7.155.29-obj/i386/default/

The path «/usr/src/linux-2.6.5-7.155.29-obj/i386/default» is an existing

directory, but it does not contain at least one of these directories «linux»,

«asm», «net» as expected.

What is the location of the directory of C header files that match your running

kernel? [/usr/src/linux/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/tmp/vmware-config1/vmmon-only'

make[1]: Entering directory `/tmp/vmware-config1/vmmon-only'

make[2]: Entering directory `/tmp/vmware-config1/vmmon-only/driver-2.6.5-7.155.2

9-default'

make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.6.5-7.155.29

-default'

make[2]: Entering directory `/tmp/vmware-config1/vmmon-only/driver-2.6.5-7.155.2

9-default'

../linux/driver.c:25:27: linux/wrapper.h: No such file or directory

../linux/driver.c:133: warning: initialization from incompatible pointer type

../linux/driver.c: In function `init_module’:

../linux/driver.c:246: error: structure has no member named `prev'

../linux/driver.c:247: error: structure has no member named `next'

../linux/driver.c: In function `Panic’:

../linux/driver.c:1304: warning: implicit declaration of function `_exit'

make[2]: * [driver.o] Ошибка 1

make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.6.5-7.155.29 -default'

make[1]: * [driver] Ошибка 2

make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'

make: * [auto-build] Ошибка 2

make: Leaving directory `/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/download/modules/modules.html» and

«http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html».

Execution aborted.

rgo

ядро самокомпиль? или с дистрибутивом поставляется?

думается первое, тогда директория с заголовками: /lib/modules/2.6.5-7.155.29-default/build/include

если второе, то думается мне для правильного ответа, нужно знать используемый дистр.

daemonBSD_PowerPC

сорри

система SuSE linux pro 9.1

ядро дефолтное.

Genie

ну, по идее, надо либо kernel-headers поставить, либо, если их будет недостаточно, поставить kernel-sources

кроме того, желательно также сделать ссылку /usr/src/linux на реаольное расположение исходников ядра. (обычно они там же, в /usr/src/)

daemonBSD_PowerPC

исходники ядра стоят, находятся где положено. а где выставить headers? не догнал, сорри. в исходниках что ли через xconfig? под реальным положением имеется ввиду /usr/src/linux-2-6…?

Genie
The directory of kernel headers (version 2.6.4) does not match your running kernel (version 2.6.5-7.155.29-default). Even if the module were to compile successfully, it would not load into the running kernel.

тебе перевести или сам справишься? ;)

под реальным положением имеется ввиду /usr/src/linux-2-6…?

именно. и именно от того ядра, которое у тебя в данное время используется (загружено). поменял ядро — пересобирай модули. поставил очень новое ядро — ищи на форуме ссылку на vmware-any-any-update*.

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.