LINUX.ORG.RU

VMware6


0

0

Я поставил себе vmware6 на ядре 2.6-18-4-686 и обновил свою систему да ядра 2.6.26-1-686 соответственно все остальные библиотеки обновилися по зависимости. Я думал что надо просто переконфигурировать vmware-config.pl. Запускаб скипт а он мне в ответ ругаеться на gcc. 
Вот
 sudo ./vmware-install.pl
Creating a new VMware Workstation installer database using the tar4 format.

Installing VMware Workstation.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware]

The path "/usr/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the manual files?
[/usr/share/man]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]

The path "/usr/share/doc/vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

The installation of VMware Workstation 6.0.2 build-59824 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Workstation for the first time, you need to configure it
by invoking the following command: "/usr/bin/vmware-config.pl". Do you want
this program to invoke the command for you now? [yes]

Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the theme icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

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

None of the pre-built vmmon modules for VMware Workstation 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.

Your kernel was built with "gcc" version "4.1.3", while you are trying to use
"/usr/bin/gcc" version "4.3.1". This configuration is not recommended and
VMware Workstation may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.3.1" anyway? [no] yes

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.26-1-686/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-config1/vmmon-only'
make -C /lib/modules/2.6.26-1-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
/tmp/vmware-config1/vmmon-only/Makefile:90: *** Inappropriate build environment: you wanted to use gcc version 4.3.1 while kernel attempts to use gcc version 4.1.3.
/tmp/vmware-config1/vmmon-only/Makefile:92: *** For proper build you'll have to replace  gcc-4.1 with symbolic link to /usr/bin/gcc.  Останов.
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
make: *** [vmmon.ko] Ошибка 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.

Re: VMware6

>Your kernel was built with "gcc" version "4.1.3", while you are trying to use "/usr/bin/gcc" version "4.3.1". This configuration is not recommended and VMware Workstation may crash if you'll continue.

Какая буква тебе не понятна? Или откати gcc или обнови ядро.

iRunix ★★★★ ()

Re: VMware6

или поставь в стронке старый gcc

anonymous ()

Re: VMware6

Я согласен а что за эта ошибка 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.26-1-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686' CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o In file included from /tmp/vmware-config0/vmmon-only/./include/vmware.h:25, from /tmp/vmware-config0/vmmon-only/linux/driver.c:83: /tmp/vmware-config0/vmmon-only/./include/vm_basic_types.h:170: error: conflicting types for ‘uintptr_t’ include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here In file included from /tmp/vmware-config0/vmmon-only/./include/x86.h:23, from /tmp/vmware-config0/vmmon-only/linux/driver.h:15, from /tmp/vmware-config0/vmmon-only/linux/driver.c:84: /tmp/vmware-config0/vmmon-only/./include/x86cpuid.h:383:1: warning: "BIT_MASK" redefined In file included from include/linux/kernel.h:15, from /tmp/vmware-config0/vmmon-only/linux/driver.c:11: include/linux/bitops.h:7:1: warning: this is the location of the previous definition /tmp/vmware-config0/vmmon-only/linux/driver.c:197: error: unknown field ‘nopage’ specified in initializer /tmp/vmware-config0/vmmon-only/linux/driver.c:198: warning: initialization from incompatible pointer type make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Ошибка 1 make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Ошибка 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686' make: *** [vmmon.ko] Ошибка 2 make: Leaving directory `/tmp/vmware-config0/vmmon-only' Unable to build the vmmon module.

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