LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-26-2012, 02:54 AM   #1
jitendra bhaskar
LQ Newbie
 
Registered: Apr 2010
Location: Bombay
Distribution: RHEL-5 and CentOS-6
Posts: 22

Rep: Reputation: 0
Unhappy Issue in VMware to install


Hi Team,

I am trying to install VMware server on my CentOS-6.0 but its giving me an error as mentioned below.
Please help me to resolve this issue. Oracle Virtualbox is working fine on the same.

=========================================================================
[root@ ~]# uname -a
Linux batuk 2.6.32-279.1.1.el6.x86_64 #1 SMP Tue Jul 10 13:47:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@ ~]# uname -r
2.6.32-279.1.1.el6.x86_64
[root@ ~]# cat /etc/redhat-release
CentOS Linux release 6.0 (Final)
[root@ ~]# clear
=========================================================================
[root@ ~]# /usr/bin/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 [ OK ]
Virtual machine monitor [ OK ]

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.32-279.1.1.el6.x86_64/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-config6/vmmon-only'
make -C /lib/modules/2.6.32-279.1.1.el6.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-279.1.1.el6.x86_64'
CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config6/vmmon-only/linux/driver.c:31:
/tmp/vmware-config6/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:70: note: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-config6/vmmon-only/./include/vmware.h:38,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:99:
/tmp/vmware-config6/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
In file included from /tmp/vmware-config6/vmmon-only/./common/vmx86.h:32,
from /tmp/vmware-config6/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:101:
/tmp/vmware-config6/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/kernels/2.6.32-279.1.1.el6.x86_64/arch/x86/include/asm/msr.h:4,
from /usr/src/kernels/2.6.32-279.1.1.el6.x86_64/arch/x86/include/asm/processor.h:21,
from include/linux/prefetch.h:14,
from include/linux/list.h:7,
from include/linux/module.h:9,
from /tmp/vmware-config6/vmmon-only/./include/compat_module.h:27,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:26:
/usr/src/kernels/2.6.32-279.1.1.el6.x86_64/arch/x86/include/asm/msr-index.h:252:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:103,
from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:37,
from /tmp/vmware-config6/vmmon-only/./common/vmx86.h:33,
from /tmp/vmware-config6/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:101:
/tmp/vmware-config6/vmmon-only/./include/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config6/vmmon-only/./include/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config6/vmmon-only/./include/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined

In file included from /tmp/vmware-config6/vmmon-only/./include/vm_asm_x86_64.h:39,
from /tmp/vmware-config6/vmmon-only/./include/vm_asm.h:41,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:103:
/tmp/vmware-config6/vmmon-only/./include/vm_asm_x86.h:486:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config6/vmmon-only/./include/vm_asm_x86.h:779:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config6/vmmon-only/./include/vm_asm_x86.h:820:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config6/vmmon-only/./include/vm_asm_x86.h:922:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config6/vmmon-only/./include/vm_asm.h:41,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:103:
/tmp/vmware-config6/vmmon-only/./include/vm_asm_x86_64.h:56:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config6/vmmon-only/linux/driver.c:119:
/tmp/vmware-config6/vmmon-only/./common/hostif.h:53:7: warning: "WINNT_DDK" is not defined
/tmp/vmware-config6/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/tmp/vmware-config6/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/vmware-config6/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config6/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-config6/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config6/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-config6/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config6/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-config6/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config6/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-config6/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config6/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config6/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config6/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.1.1.el6.x86_64'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config6/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.

[root@ ~]#
=======================================================================

My GCC list on my laptop

[root@ ~]# rpm -qa | grep -i gcc*
libsigc++20-2.2.4.2-1.el6.x86_64
gcc-java-4.4.6-4.el6.x86_64
gcc-4.4.6-4.el6.x86_64
java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64
GConf2-gtk-2.28.0-6.el6.x86_64
GConf2-2.28.0-6.el6.x86_64
pulseaudio-module-gconf-0.9.21-13.el6.x86_64
libgcc-4.4.6-4.el6.i686
gcalctool-5.28.2-3.el6.x86_64
libgcj-4.4.6-4.el6.x86_64
gcc-c++-4.4.6-4.el6.x86_64
gcc-gfortran-4.4.6-4.el6.x86_64
gconfmm26-2.28.0-1.el6.x86_64
gcc-gnat-4.4.6-4.el6.x86_64
gnome-python2-gconf-2.28.0-3.el6.x86_64
gconf-editor-2.28.0-3.el6.x86_64
gcc-objc++-4.4.6-4.el6.x86_64
libgcc-4.4.6-4.el6.x86_64
pkgconfig-0.23-9.1.el6.x86_64
libgcrypt-1.4.5-3.el6.x86_64
gcc-objc-4.4.6-4.el6.x86_64
libgcj-devel-4.4.6-4.el6.x86_64
[root@ ~]#
=====================================================================

Please help me....
 
Old 10-26-2012, 04:00 AM   #2
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware14.1 x64(Workstation), Antix MX-14 x32(Netbook), CentOS5/6 (Servers)
Posts: 650

Rep: Reputation: 78
You have GCC installed but you'll need Kernel headers and devel packages for the current kernel to compile and build packages.
Check for them.

Regards.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Back-Track 5 r2 installing Vmware-tools ./vmware-install.pl gives permission deined LaoK Linux - Newbie 10 01-17-2013 01:11 AM
VMware Workstation Install Issue on Fedora 14 kdn4 Fedora 2 09-11-2011 03:07 PM
vmware server install error, The VMware VmPerl Scripting API was not installed. fakie_flip Linux - Software 4 12-28-2008 04:49 AM
openSUSE 10.2 vmware tools issue (vmware fusion) ln3wb13 Suse/Novell 2 09-20-2007 11:11 AM
Install FC4 w/ Vmware, right of the Harddrive (vmware aceses ISO of HD, no CDs) colinstu Linux - General 1 02-24-2006 08:15 PM


All times are GMT -5. The time now is 06:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration