vmware-server-2.0.x-kernel-2.6.3x-install.sh: 43: Syntax error: word unexpected (expecting ")")
エラー例2
@@PRODUCT_NAME@@ is installed, but it has not been (correctly) configured for the running kernel. To (re-)configure it, invoke the following command: /usr/bin/vmware-config.pl.
エラー例3
You have VMware Server archive: VMware-server-2.0.2-203138.i386.tar.gz Checking for needed packages on Ubuntu You do have the linux-headers-3.0.0-14-generic-pae package... You do have the build-essential package... You do have the patch package... Found .tar file for vmnet module Found .tar file for vmci module Found .tar file for vmmon module Found .tar file for vsock module Extracting .tar files in order to apply the patch... Untarring ..//vmware-server-distrib/lib/modules/source/vmnet.tar Untarring ..//vmware-server-distrib/lib/modules/source/vmci.tar Untarring ..//vmware-server-distrib/lib/modules/source/vmmon.tar Untarring ..//vmware-server-distrib/lib/modules/source/vsock.tar Testing patch... Creating some simlinks for the newer kernels... ln: シンボリックリンク `/usr/src/linux-headers-3.0.0-14-generic-pae/include/linux/autoconf.h' を作成しています: ファイルが存在します ln: シンボリックリンク `/usr/src/linux-headers-3.0.0-14-generic-pae/include/linux/utsrelease.h' を作成しています: ファイルが存在します Applying patch... Preparing new tar file for vmnet module Preparing new tar file for vmci module Preparing new tar file for vmmon module Preparing new tar file for vsock module Checking that the compiling will succeed... Trying to compile vmnet module to see if it works Performing make in ..//vmware-server-distrib/lib/modules/source/vmnet-only Using 2.6.x kernel build system. /home/casey/vmware-server-distrib/lib/modules/source/vmnet-only/driver.c:35:28: 致命的エラー: linux/smp_lock.h: そのようなファイルやディレクトリはありません コンパイルを停止しました。 make[2]: *** [/home/casey/vmware-server-distrib/lib/modules/source/vmnet-only/driver.o] エラー 1 make[1]: *** [_module_/home/casey/vmware-server-distrib/lib/modules/source/vmnet-only] エラー 2 make: *** [vmnet.ko] エラー 2 There is a problem compiling the vmnet module after it was patched. :(
エラー例4
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]
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/3.0.0-14-generic-pae/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system. make: ディレクトリ `/tmp/vmware-config4/vmmon-only' に入ります make -C /lib/modules/3.0.0-14-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: ディレクトリ `/usr/src/linux-headers-3.0.0-14-generic-pae' に入ります CC [M] /tmp/vmware-config4/vmmon-only/linux/driver.o In file included from /tmp/vmware-config4/vmmon-only/linux/driver.c:31:0: /tmp/vmware-config4/vmmon-only/./include/compat_wait.h:78:13: エラー: ‘poll_initwait’ と型が競合しています include/linux/poll.h:72:13: 備考: 前の ‘poll_initwait’ の宣言はここです /tmp/vmware-config4/vmmon-only/linux/driver.c:39:28: 致命的エラー: linux/smp_lock.h: そのようなファイルやディレクトリはありません コンパイルを停止しました。 make[2]: *** [/tmp/vmware-config4/vmmon-only/linux/driver.o] エラー 1 make[1]: *** [_module_/tmp/vmware-config4/vmmon-only] エラー 2 make[1]: ディレクトリ `/usr/src/linux-headers-3.0.0-14-generic-pae' から出ます make: *** [vmmon.ko] エラー 2 make: ディレクトリ `/tmp/vmware-config4/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.
作業前環境
Linux vm 2.6.35-30-generic-pae #56-Ubuntu SMP Mon Jul 11 21:51:12 UTC 2011 i686 GNU/Linux Ubuntu 10.10
作業後環境
Linux vm 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 i686 i386 GNU/Linux
コメント