LINUX.ORG.RU

Не собирается модуль от vmware на 2.4.9


0

0

Почему-то не собирается сабж. Получается вот что:
Trying to find a suitable vmmon module for your running kernel.

None of VMware's pre-built vmmon modules is suitable for your running kernel. Do
you want this script to try to build the vmmon module for your system (you need
to have a C compiler installed on your system)? [yes]

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux-2.4.9-0.5/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/tmp/vmware-config2/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config2/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config2/vmmon-only/driver-2.4.9-0.5'
In file included from .././linux/driver.c:22:
/usr/src/linux-2.4.9-0.5/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from .././linux/hostif.c:25:
/usr/src/linux-2.4.9-0.5/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
make[2]: Leaving directory `/tmp/vmware-config2/vmmon-only/driver-2.4.9-0.5'
make[2]: Entering directory `/tmp/vmware-config2/vmmon-only/driver-2.4.9-0.5'
In file included from .././linux/driver.c:22:
/usr/src/linux-2.4.9-0.5/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
In file included from /usr/src/linux-2.4.9-0.5/include/linux/highmem.h:5,
from /usr/src/linux-2.4.9-0.5/include/linux/pagemap.h:16,
from /usr/src/linux-2.4.9-0.5/include/linux/locks.h:8,
from /usr/src/linux-2.4.9-0.5/include/linux/devfs_fs_kernel.h:6,
from /usr/src/linux-2.4.9-0.5/include/linux/miscdevice.h:4,
from ../linux/driver.h:10,
from .././linux/driver.c:58:
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:62: `PAGE_OFFSET' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:62: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:62: for each function it appears in.)
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h: In function `pte_alloc_one':
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:111: `PAGE_SIZE' undeclared (first use in this function)
In file included from /usr/src/linux-2.4.9-0.5/include/linux/pagemap.h:16,
from /usr/src/linux-2.4.9-0.5/include/linux/locks.h:8,
from /usr/src/linux-2.4.9-0.5/include/linux/devfs_fs_kernel.h:6,
from /usr/src/linux-2.4.9-0.5/include/linux/miscdevice.h:4,
from ../linux/driver.h:10,
from .././linux/driver.c:58:
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:20: `PAGE_MASK' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:21: warning: control reaches end of non-void function
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `bh_kmap_irq':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:50: `PAGE_MASK' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:54: warning: control reaches end of non-void function
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `bh_kunmap_irq':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:58: `PAGE_MASK' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `clear_user_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:86: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `clear_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:92: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `memclear_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:100: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `memclear_highpage_flush':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:114: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `copy_user_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:128: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `copy_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:139: `PAGE_SIZE' undeclared (first use in this function)
.././linux/driver.c: In function `LinuxDriver_Ioctl':
.././linux/driver.c:932: structure has no member named `dumpable'
make[2]: *** [driver.o] Error 1
make[2]: Leaving directory `/tmp/vmware-config2/vmmon-only/driver-2.4.9-0.5'
make[1]: *** [driver] Error 2
make[1]: Leaving directory `/tmp/vmware-config2/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please have
a look at "http://www.vmware.com/download/modules/modules.html";.

Execution aborted.

есть идеи, как быть ?

anonymous

Re: Не собирается модуль от vmware на 2.4.9

vmware старая, я тоже не мог собрать пол 2.4 ядрами... новая собирается прекрасно.

anonymous ()

Re: Не собирается модуль от vmware на 2.4.9

Slusaj kin mne novuje ishodniki po mil esli ne zatreudnit..... manowar@bigmir.net bolsoe spasiba...

manowar ★★ ()

Re: Не собирается модуль от vmware на 2.4.9

как это "старая" ?
[root@anton /root]# rpm -qi VMware
Name : VMware Relocations: (not relocateable)
Version : 2.0.4 Vendor: VMware, Inc.
Release : 1142 Build Date: юФЧ 10 нБК 2001 07:47:14
Install date: чФТ 11 уЕО 2001 11:22:24 Build Host: cannes.vmware.com
Group : Applications/Emulators Source RPM: VMware-2.0.4-1142.src.rpm
Size : 12633656 License: commercial
Summary : VMware
Description :
VMware Virtual Platform is a thin software layer that allows multiple guest
operating systems to run concurrently on a single standard PC, without
repartitioning or rebooting, and without significant loss of performance.

однако ! Причем я еще дополнительно установил VMwareKernelModules-2.0.4-1401 !!!

anonymous ()

Re: Не собирается модуль от vmware на 2.4.9

кажется там уже 3 версия была

anonymous ()

Re: Не собирается модуль от vmware на 2.4.9

Ну так и закомментируй эту строчку в driver.c из vmmon-only.tar, где dumpable поминается. Я же сюда уже кидал патчик, при чём два раза.

Antichrist ()

Re: Не собирается модуль от vmware на 2.4.9

после 2.4.6 vmware 2.0.4 у меня не под одним ядром не собиралась. Третья - только в путь. Была, помнится проблема 2.4.3 и vmware 2.0... сколько-то там. Из-за смены работы памяти (ну или что-то в этом роде)

anonymous ()

Re: Не собирается модуль от vmware на 2.4.9

закомментировал. Потом она ругнулась на то же в hostif.c, я закомментировал и там тоже. Вышло вот что:

[root@anton source]# vmware-config.pl
Making sure VMware's services are stopped.

Stopping VMware services:
Virtual machine monitor [ OK ]
Bridged networking on /dev/vmnet0 [ OK ]
DHCP server on /dev/vmnet1 [ OK ]
SMB share server on /dev/vmnet1 [ OK ]
SMB name server on /dev/vmnet1 [ OK ]
Host-only networking on /dev/vmnet1 [ OK ]
Virtual ethernet [ OK ]

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

None of VMware's pre-built vmmon modules is suitable for your running kernel. Do
you want this script to try to build the vmmon module for your system (you need
to have a C compiler installed on your system)? [yes]

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux-2.4.9-0.5/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/tmp/vmware-config5/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config5/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config5/vmmon-only/driver-2.4.9-0.5'
make[2]: Leaving directory `/tmp/vmware-config5/vmmon-only/driver-2.4.9-0.5'
make[2]: Entering directory `/tmp/vmware-config5/vmmon-only/driver-2.4.9-0.5'
In file included from /usr/src/linux-2.4.9-0.5/include/linux/highmem.h:5,
from /usr/src/linux-2.4.9-0.5/include/linux/pagemap.h:16,
from /usr/src/linux-2.4.9-0.5/include/linux/locks.h:8,
from /usr/src/linux-2.4.9-0.5/include/linux/devfs_fs_kernel.h:6,
from /usr/src/linux-2.4.9-0.5/include/linux/miscdevice.h:4,
from ../linux/driver.h:10,
from .././linux/driver.c:58:
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:62: `PAGE_OFFSET' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:62: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:62: for each function it appears in.)
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h: In function `pte_alloc_one':
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:111: `PAGE_SIZE' undeclared (first use in this function)
In file included from /usr/src/linux-2.4.9-0.5/include/linux/pagemap.h:16,
from /usr/src/linux-2.4.9-0.5/include/linux/locks.h:8,
from /usr/src/linux-2.4.9-0.5/include/linux/devfs_fs_kernel.h:6,
from /usr/src/linux-2.4.9-0.5/include/linux/miscdevice.h:4,
from ../linux/driver.h:10,
from .././linux/driver.c:58:
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:20: `PAGE_MASK' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:21: warning: control reaches end of non-void function
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `bh_kmap_irq':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:50: `PAGE_MASK' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:54: warning: control reaches end of non-void function
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `bh_kunmap_irq':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:58: `PAGE_MASK' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `clear_user_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:86: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `clear_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:92: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `memclear_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:100: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `memclear_highpage_flush':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:114: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `copy_user_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:128: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `copy_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:139: `PAGE_SIZE' undeclared (first use in this function)
.././linux/driver.c: In function `LinuxDriver_Open':
.././linux/driver.c:304: warning: implicit declaration of function `kmalloc_R93d4cfe6'
.././linux/driver.c:322: warning: implicit declaration of function `kfree_R037a0cba'
.././linux/driver.c: In function `LinuxDriver_Ioctl':
.././linux/driver.c:932: structure has no member named `dumpable'
make[2]: *** [driver.o] Error 1
make[2]: Leaving directory `/tmp/vmware-config5/vmmon-only/driver-2.4.9-0.5'
make[1]: *** [driver] Error 2
make[1]: Leaving directory `/tmp/vmware-config5/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please have
a look at "http://www.vmware.com/download/modules/modules.html";.

Execution aborted.[root@anton source]# vmware-config.pl
Making sure VMware's services are stopped.

Stopping VMware services:
Virtual machine monitor [ OK ]
Bridged networking on /dev/vmnet0 [ OK ]
DHCP server on /dev/vmnet1 [ OK ]
SMB share server on /dev/vmnet1 [ OK ]
SMB name server on /dev/vmnet1 [ OK ]
Host-only networking on /dev/vmnet1 [ OK ]
Virtual ethernet [ OK ]

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

None of VMware's pre-built vmmon modules is suitable for your running kernel. Do
you want this script to try to build the vmmon module for your system (you need
to have a C compiler installed on your system)? [yes]

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux-2.4.9-0.5/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/tmp/vmware-config5/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config5/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config5/vmmon-only/driver-2.4.9-0.5'
make[2]: Leaving directory `/tmp/vmware-config5/vmmon-only/driver-2.4.9-0.5'
make[2]: Entering directory `/tmp/vmware-config5/vmmon-only/driver-2.4.9-0.5'
In file included from /usr/src/linux-2.4.9-0.5/include/linux/highmem.h:5,
from /usr/src/linux-2.4.9-0.5/include/linux/pagemap.h:16,
from /usr/src/linux-2.4.9-0.5/include/linux/locks.h:8,
from /usr/src/linux-2.4.9-0.5/include/linux/devfs_fs_kernel.h:6,
from /usr/src/linux-2.4.9-0.5/include/linux/miscdevice.h:4,
from ../linux/driver.h:10,
from .././linux/driver.c:58:
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:62: `PAGE_OFFSET' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:62: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:62: for each function it appears in.)
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h: In function `pte_alloc_one':
/usr/src/linux-2.4.9-0.5/include/asm/pgalloc.h:111: `PAGE_SIZE' undeclared (first use in this function)
In file included from /usr/src/linux-2.4.9-0.5/include/linux/pagemap.h:16,
from /usr/src/linux-2.4.9-0.5/include/linux/locks.h:8,
from /usr/src/linux-2.4.9-0.5/include/linux/devfs_fs_kernel.h:6,
from /usr/src/linux-2.4.9-0.5/include/linux/miscdevice.h:4,
from ../linux/driver.h:10,
from .././linux/driver.c:58:
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:20: `PAGE_MASK' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:21: warning: control reaches end of non-void function
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `bh_kmap_irq':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:50: `PAGE_MASK' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:54: warning: control reaches end of non-void function
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `bh_kunmap_irq':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:58: `PAGE_MASK' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `clear_user_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:86: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `clear_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:92: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `memclear_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:100: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `memclear_highpage_flush':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:114: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `copy_user_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:128: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h: In function `copy_highpage':
/usr/src/linux-2.4.9-0.5/include/linux/highmem.h:139: `PAGE_SIZE' undeclared (first use in this function)
.././linux/driver.c: In function `LinuxDriver_Open':
.././linux/driver.c:304: warning: implicit declaration of function `kmalloc_R93d4cfe6'
.././linux/driver.c:322: warning: implicit declaration of function `kfree_R037a0cba'
.././linux/driver.c: In function `LinuxDriver_Ioctl':
.././linux/driver.c:932: structure has no member named `dumpable'
make[2]: *** [driver.o] Error 1
make[2]: Leaving directory `/tmp/vmware-config5/vmmon-only/driver-2.4.9-0.5'
make[1]: *** [driver] Error 2
make[1]: Leaving directory `/tmp/vmware-config5/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please have
a look at "http://www.vmware.com/download/modules/modules.html";.

Execution aborted.

что теперь ?

anonymous ()

Re: Не собирается модуль от vmware на 2.4.9

Слышь ставь 3 вмварь и не надо будет такие постинги заколачивать сюда говорю проверено на ALT Linux Junior 1.1 а там ядро как раз 2/4/9 а все эти "комментируй там комментируюй здесь" - лажа

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