Автор Тема: branch 5.1 + vmware-server (РЕШЕНО)  (Прочитано 1884 раз)

Оффлайн across

  • Участник
  • *
  • Сообщений: 14
branch 5.1 + vmware-server (РЕШЕНО)
« : 18.02.2010 10:07:51 »
Решил поставить VMWare-server. Слил с офф VMware-server-2.0.2-203138.x86_64.rpm

запускаю vmware-config.pl и на сборке модуля vmmon-only вываливается с ошибкой :-( может кто  сталкивался, да поможет ?

PS
система branch 5.1, ядро 2.6.30-std-def-alt15
PSSS
собственно лог...

 vmware-config.pl
Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines
                           [FAILED]
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent
                           [FAILED]
Stopping VMware services:
   VMware Authentication Daemon
                           [ DONE ]
   Virtual machine monitor
                           [ DONE ]

None of the pre-built vmmon modules for VMware Server 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] 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.30-std-def-alt15/build/include] /usr/bin/gcc

The path "/usr/bin/gcc" is not an existing directory.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.30-std-def-alt15/build/include] /usr/src/linux-2.6.30-std-def-alt15/include

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-2.6.30-std-def-alt15/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.30-std-def-alt15'
  CC [M]  /tmp/.private/root/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:31:
/tmp/.private/root/vmware-config0/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:67: error: previous declaration of ‘poll_initwait’ was here
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/.private/root/vmware-config0/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
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/linux-2.6.30-std-def-alt15'
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/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".

Execution aborted.
« Последнее редактирование: 22.02.2010 13:50:19 от across »

Оффлайн across

  • Участник
  • *
  • Сообщений: 14
Re: branch 5.1 + vmware-server
« Ответ #1 : 18.02.2010 13:17:19 »
Народ! неужели сей сабж разруить не возможно !? ну очень бы не хотелось менять дистр :-(

Оффлайн Andrey

  • Участник
  • *
  • Сообщений: 734
Re: branch 5.1 + vmware-server
« Ответ #2 : 18.02.2010 14:04:12 »
У меня работает вот так
http://forum.altlinux.org/index.php?topic=4027.0
Только у вас точно 64битный дистр?

Оффлайн across

  • Участник
  • *
  • Сообщений: 14
Re: branch 5.1 + vmware-server
« Ответ #3 : 18.02.2010 14:23:09 »
да

Оффлайн across

  • Участник
  • *
  • Сообщений: 14
Re: branch 5.1 + vmware-server
« Ответ #4 : 18.02.2010 14:25:44 »
кста была офф поддержка ALC3.0 но по видимому кончилась, хоть и ни разу не обращался, но сейчас бы она пригодилась  :(

Оффлайн across

  • Участник
  • *
  • Сообщений: 14
Re: branch 5.1 + vmware-server
« Ответ #5 : 22.02.2010 13:49:53 »
У меня работает вот так
http://forum.altlinux.org/index.php?topic=4027.0
Только у вас точно 64битный дистр?

Спасибо, заработало решение http://forum.altlinux.org/index.php?topic=4027.0