PDA

View Full Version : VMware config problem :(



Saint Mike
2nd June 2007, 03:45 PM
Yo,

As the title says, downloaded from vmware site, installed

running "/usr/bin/vmware-config.pl" and getting the following :(

Im running fc7, had the exact same issue on fc6

I made the config.h file in include/linux and have both kernel-devel and kernel-headers installed

Any ideas? :confused:



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.21-1.3194.fc7/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-config4/vmmon-only'
make -C /lib/modules/2.6.21-1.3194.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
CC [M] /tmp/vmware-config4/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config4/vmmon-only/linux/driver.c:80:
/tmp/vmware-config4/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config4/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config4/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: *** [/tmp/vmware-config4/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config4/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config4/vmmon-only'
Unable to build the vmmon module.

axelseap
2nd June 2007, 04:00 PM
interesting. i installed Fedora 7 and then downloaded and installed vmware player 2 and was able to run the config script without a problem. try the vmware-any-any-update and running it first http://knihovny.cvut.cz/ftp/pub/vmware/

Saint Mike
3rd June 2007, 07:21 AM
any any patch did the trick thanks :)
btw i was installing vmware server. To run that script for anyone else looking extract it somewhere and go

cd tothedirectory
./runme.pl

joejohnston77
10th June 2007, 05:56 PM
That worked for me too. Thanks axelseap!!

mmghp30
16th January 2009, 10:41 PM
hi
I have same problem and use above link but the vmware-config.pl have same problem





[root@localhost bin]# ./vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor [ OK ]

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.

readdir() attempted on invalid dirhandle LS at ./vmware-config.pl line 1259, <STDIN> line 3.
closedir() attempted on invalid dirhandle LS at ./vmware-config.pl line 1260, <STDIN> line 3.
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]

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.5-117.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-config6/vmmon-only'
make -C /lib/modules/2.6.27.5-117.fc10.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.5-117.fc10.i686'
CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config6/vmmon-only/./include/x86.h:24,
from /tmp/vmware-config6/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:84:
/tmp/vmware-config6/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-config6/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-config6/vmmon-only/linux/vmhost.h:13,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:115:
/tmp/vmware-config6/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config6/vmmon-only/linux/driver.c:197: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config6/vmmon-only/linux/driver.c:198: warning: initialization from incompatible pointer type
/tmp/vmware-config6/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config6/vmmon-only/linux/driver.c:1801: 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.27.5-117.fc10.i686'
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/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

Seve
16th January 2009, 11:53 PM
hi
I have same problem and use above link but the vmware-config.pl have same problem





[root@localhost bin]# ./vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor [ OK ]

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.

readdir() attempted on invalid dirhandle LS at ./vmware-config.pl line 1259, <STDIN> line 3.
closedir() attempted on invalid dirhandle LS at ./vmware-config.pl line 1260, <STDIN> line 3.
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]

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.5-117.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-config6/vmmon-only'
make -C /lib/modules/2.6.27.5-117.fc10.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.5-117.fc10.i686'
CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config6/vmmon-only/./include/x86.h:24,
from /tmp/vmware-config6/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:84:
/tmp/vmware-config6/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-config6/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-config6/vmmon-only/linux/vmhost.h:13,
from /tmp/vmware-config6/vmmon-only/linux/driver.c:115:
/tmp/vmware-config6/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config6/vmmon-only/linux/driver.c:197: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config6/vmmon-only/linux/driver.c:198: warning: initialization from incompatible pointer type
/tmp/vmware-config6/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config6/vmmon-only/linux/driver.c:1801: 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.27.5-117.fc10.i686'
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/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.
Hello:
The original post is over 18 months old and is no longer relevant, as such you probably should have posted a new topic.

All that being said.

Try

yum groupinstall "Legacy Software Development" "Developement Tools"
Using the exact syntax including the quotes

Then
yum install glibc-headers kernel-devel kernel-headers xinetd

Once the above is complete, try your configuration again.

Seve

davidvandoren
17th January 2009, 06:09 AM
here are different any-any packages to use depending on vmware version and fedora kernel etc.
The latest vmware 1.0.8 uses a patch you can download from the vmware server's website.

For fedora 10 you have to install from tar.
You won't be able to use the desktop application. Instead you'll need to log in with your browser window.

I did not install vmaware server on fedora 10 from tar yet because vmware has problems with kernel updates, which I always could fix. However I don't know how this turns out if you've installed a tar.

Instruction for fedora 10 are here How to install vmware server in Fedora 10 (http://www.howtoforge.com/the-perfect-desktop-fedora-10-p5)