[sisyphus] WMware Server on current Sisyphus
Eugene Prokopiev
=?iso-8859-1?q?prokopiev_=CE=C1_stc=2Edonpac=2Eru?=
Ср Окт 4 17:27:13 MSD 2006
Здравствуйте!
Заводил ли кто WMware Server (тот, который
http://www.vmware.com/download/server/) на текущем Сизифе?
По прошлому опыту с WMware Workstation поставил rpm, запустил
vmware-config.pl, на вопрос о местонахождении "directory of C header
files that match your running kernel" указал
/usr/include/linux-2.6.16-std26-up/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] yes
The path "/usr/include/linux-2.6.16-std26-up/include" is a kernel header
file
directory, but it is not part of kernel source tree.
Ну раз затребовали полный "kernel source tree", я поставил пакет
kernel-source-2.6.16-1.0.0-alt2, разжал архив, сделал ссылку на
/usr/src/linux на /usr/src/kernel/sources/kernel-source-2.6.16 и получил:
The path "/usr/src/linux/include" is a kernel header file directory, but it
does not contain the file "linux/version.h" as expected. This can
happen if
the kernel has never been built, or if you have invoked the "make mrproper"
command in your kernel directory. In any case, you may want to rebuild
your
kernel.
Тогда я скопировал все недостающие файлы из
/usr/include/linux-2.6.16-std26-up/include/linux в
/usr/src/kernel/sources/kernel-source-2.6.16/include/linux и получил:
The path "/usr/src/linux/include" is a kernel header file directory, but
it is
not configured yet.
Тогда я сделал make menuconfig и ничего не меняя сохранил результаты в
.config-файле и получил:
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/.private/root/vmware-config0/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernel/sources/kernel-source-2.6.16'
WARNING: Symbol version dump
/usr/src/kernel/sources/kernel-source-2.6.16/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /tmp/.private/root/vmware-config0/vmmon-only/linux/driver.o
In file included from include/linux/kernel.h:11,
from
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:11:
include/linux/linkage.h:5:25: asm/linkage.h: No such file or directory
In file included from include/linux/types.h:15,
from include/linux/kernel.h:13,
from
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:11:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or
directory
In file included from include/linux/kernel.h:13,
from
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:11:
include/linux/types.h:16:23: asm/types.h: No such file or directory
In file included from include/linux/kernel.h:13,
from
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:11:
include/linux/types.h:20: error: syntax error before "__kernel_dev_t"
include/linux/types.h:20: warning: type defaults to `int' in declaration
of `__kernel_dev_t'
include/linux/types.h:20: warning: data definition has no type or
storage class
include/linux/types.h:23: error: syntax error before "dev_t"
...
include/linux/fs.h:821: error: storage size of `s_lock' isn't known
include/linux/fs.h:850: error: storage size of `s_vfs_rename_sem' isn't
known
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:151: error:
storage size of `vmuser_fops' isn't known
/tmp/.private/root/vmware-config0/vmmon-only/./include/compat_kernel.h:21:
warning: '_syscall1' declared `static' but never defined
{standard input}: Assembler messages:
{standard input}:415: Error: symbol `seq' is already defined
{standard input}:463: Error: symbol `sem_nsems' is already defined
{standard input}:485: Error: symbol `lock' is already defined
{standard input}:652: Error: symbol `lock' is already defined
{standard input}:1426: Error: symbol `flags' is already defined
{standard input}:1759: Error: symbol `files' is already defined
{standard input}:1985: Error: symbol `blocks' is already defined
{standard input}:2540: Error: symbol `data' is already defined
{standard input}:2754: Error: symbol `d_flags' is already defined
{standard input}:3262: Error: symbol `inotify_watches' is already defined
{standard input}:3393: Error: symbol `flags' is already defined
{standard input}:3463: Error: symbol `s_type' is already defined
{standard input}:3679: Error: symbol `mmap' is already defined
{standard input}:3721: Error: symbol `lock' is already defined
{standard input}:3792: Error: symbol `data' is already defined
make[2]: ***
[/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/.private/root/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernel/sources/kernel-source-2.6.16'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/.private/root/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.
Короче, ничего не собралось. Как все-таки собрать эти модули?
--
С уважением, Прокопьев Евгений
Подробная информация о списке рассылки Sisyphus