LINUX.ORG.RU

kernel-2.6.9 и vmware


0

0

Кто-нибудь запускал vmware на новом ядре?

Запустил vmware-config.pl

Получил:

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.9/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-config0/vmmon-only'
make -C /lib/modules/2.6.9/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/arch/kernel/linux-2.6.9'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
/tmp/vmware-config0/vmmon-only/linux/driver.c:131: warning: initialization from incompatible pointer type
/tmp/vmware-config0/vmmon-only/linux/driver.c:135: warning: initialization from incompatible pointer type
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
/tmp/vmware-config0/vmmon-only/linux/hostif.c: In function `HostIF_FreeLockedPages':
/tmp/vmware-config0/vmmon-only/linux/hostif.c:738: error: structure has no member named `count'
/tmp/vmware-config0/vmmon-only/linux/hostif.c:740: error: structure has no member named `count'
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/hostif.o] Ошибка 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Ошибка 2
make[1]: Leaving directory `/arch/kernel/linux-2.6.9'
make: *** [vmmon.ko] Ошибка 2
make: Leaving directory `/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.

anonymous

Я ставил vmware 4.5.2 (build 8848) на 2.6.7 -> 1) взял исходники ядра 2) положил их в /usr/src/linux-2.6.7 3) cd /usr/src/linux-2.6.7 4) make xconfig 5) загрузил туда config-2.6.7 из /boot 6) make bzImage 7) ./vmware-config.pl What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.9/build/include] -> написал /usr/src/linux-2.6.7

Все работает

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.