红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > SuSE

急呀!安装VMware出问题了,很厉害的问题,搜了N个贴子都搞不清

发布时间:2008-10-16 19:55:45来源:红联作者:hbbb404384172
linux-1gu7:/home/binbin/Desktop/vmware-distrib # ./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/init.d]

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] y

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] y

The installation of VMware Workstation 6.0.3 build-80004 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] y

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] y

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your kernel was built with "gcc" version "4.3.1", while you are trying to use
"/usr/bin/gcc" version "4.3". 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" anyway? [no] yes

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.25.5-1.1-pae/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.25.5-1.1-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/i386/pae/. modules
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
In file included from /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config0/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config0/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config0/vmmon-only/common/cpuid.c:14:
include2/asm/bitops.h:9:2: error: #error only can be included directly
In file included from include2/asm/cpufeature.h:118,
from include2/asm/alternative.h:42,
from include2/asm/bitops.h:13,
from /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config0/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config0/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config0/vmmon-only/common/cpuid.c:14:
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h: In function ‘get_bitmask_order’:
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:29: error: implicit declaration of function ‘fls’
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: implicit declaration of function ‘hweight32’
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: implicit declaration of function ‘hweight64’
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h: In function ‘fls_long’:
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:112: error: implicit declaration of function ‘fls64’
In file included from include2/asm/bitops.h:316,
from /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config0/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config0/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config0/vmmon-only/common/cpuid.c:14:
include2/asm/bitops_32.h: At top level:
include2/asm/bitops_32.h:134: error: static declaration of ‘fls’ follows non-static declaration
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:29: error: previous implicit declaration of ‘fls’ was here
In file included from include2/asm/bitops_32.h:145,
from include2/asm/bitops.h:316,
from /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config0/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config0/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config0/vmmon-only/common/cpuid.c:14:
/usr/src/linux-2.6.25.5-1.1/include/asm-generic/bitops/hweight.h:6: error: conflicting types for ‘hweight32’
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: previous implicit declaration of ‘hweight32’ was here
/usr/src/linux-2.6.25.5-1.1/include/asm-generic/bitops/hweight.h:9: error: conflicting types for ‘hweight64’
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: previous implicit declaration of ‘hweight64’ was here
In file included from include2/asm/bitops_32.h:149,
from include2/asm/bitops.h:316,
from /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config0/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config0/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config0/vmmon-only/common/cpuid.c:14:
/usr/src/linux-2.6.25.5-1.1/include/asm-generic/bitops/fls64.h:6: error: static declaration of ‘fls64’ follows non-static declaration
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:112: error: previous implicit declaration of ‘fls64’ was here
make[4]: *** [/tmp/vmware-config0/vmmon-only/common/cpuid.o] 错误 1
make[3]: *** [_module_/tmp/vmware-config0/vmmon-only] 错误 2
make[2]: *** [sub-make] 错误 2
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
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.
文章评论

共有 1 条评论

  1. 太平桥 于 2008-10-16 23:54:40发表:

    6.0.3 装不上的。
    6.0.5 应该可以编过,我试过。