Hi All,
thanks alot for the previous helps regarding this posts and other posts ,
But am getting the following error ( when am executing the script ./vmware-install.pl):
Code:
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/2.6.27.7-134.fc10.i686/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-config10/vmmon-only'
make -C /lib/modules/2.6.27.7-134.fc10.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.7-134.fc10.i686'
CC [M] /tmp/vmware-config10/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config10/vmmon-only/./include/machine.h:24,
from /tmp/vmware-config10/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config10/vmmon-only/linux/driver.c:49:
/tmp/vmware-config10/vmmon-only/./include/x86.h:830:1: warning: "PTE_PFN_MASK" redefined
In file included from include/asm/paravirt.h:7,
from include/asm/irqflags.h:55,
from include/linux/irqflags.h:57,
from include/asm/system.h:11,
from include/asm/processor.h:17,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/vmware-config10/vmmon-only/linux/driver.c:12:
include/asm/page.h:22:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config10/vmmon-only/linux/vmhost.h:13,
from /tmp/vmware-config10/vmmon-only/linux/driver.c:71:
/tmp/vmware-config10/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config10/vmmon-only/linux/driver.c:146: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config10/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config10/vmmon-only/linux/driver.c:150: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config10/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
/tmp/vmware-config10/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config10/vmmon-only/linux/driver.c:1670: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config10/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config10/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.7-134.fc10.i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config10/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.
[root@localhost vmware-server-distrib]#
I have already did the followings
1.install the kernel-devel
yum install kernel-devel
2.install xinted
3.install gcc
4.install all development tools
5.install all developemnt libraries
i have the following information
Code:
[root@localhost vmware]# rpm -qa kernel
kernel-2.6.27.7-134.fc10.i686
kernel-2.6.27.5-117.fc10.i686
[root@localhost vmware]# rpm -qa kernel-devel
kernel-devel-2.6.27.9-159.fc10.i686
kernel-devel-2.6.27.7-134.fc10.i686
[root@localhost vmware]#
I have downloaded the vmware update 115
(mentioned in the link:
http://haymanezzeldin.blogspot.com/2...-on-linux.html)
and i have run the script runme.pl
but am getting the below error
[CODE]
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/2.6.27.7-134.fc10.i686/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config9/vmmon-only'
make -C /lib/modules/2.6.27.7-134.fc10.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.7-134.fc10.i686'
CC [M] /tmp/vmware-config9/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config9/vmmon-only/./include/x86.h:24,
from /tmp/vmware-config9/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config9/vmmon-only/linux/driver.c:53:
/tmp/vmware-config9/vmmon-only/./include/x86paging.h:61:1: warning: "PTE_PFN_MASK" redefined
In file included from include/asm/paravirt.h:7,
from include/asm/irqflags.h:55,
from include/linux/irqflags.h:57,
from include/asm/system.h:11,
from include/asm/processor.h:17,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/vmware-config9/vmmon-only/linux/driver.c:16:
include/asm/page.h:22:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config9/vmmon-only/linux/vmhost.h:13,
from /tmp/vmware-config9/vmmon-only/linux/driver.c:84:
/tmp/vmware-config9/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config9/vmmon-only/linux/driver.c:171: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config9/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/tmp/vmware-config9/vmmon-only/linux/driver.c:175: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config9/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
/tmp/vmware-config9/vmmon-only/linux/driver.c: In function ‘__LinuxDriver_Ioctl’:
/tmp/vmware-config9/vmmon-only/linux/driver.c:1781: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config9/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config9/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.7-134.fc10.i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config9/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.
[root@localhost vmware-any-any-update115]#[/CODE
from the first line of the error , it seems to be kernel problem , how i do fix it ,
is the way am following is a right one,
is it possible to install vmware using yum (which manages everything) ??