PDA

View Full Version : VMWare Problems on F8



avrohomg
25th November 2007, 07:30 AM
Hello. I'm fairly new to Linux and just upgraded my Compaq nx7400 laptop from Vista (ugh) to Fedora Core 8. I'm trying to get VMWare loaded, but it's giving me errors. I am running kernel version 2.6.23.1-49.fc8-i686. My headers and kernel-devel are also the same release. However, I get the following error during installation (the compile was successful):

make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-49.fc8-i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config25/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config25/vmmon.o': -1 Invalid module format
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.


Any suggestions would be greatly appreciated!

Thanks,

Avrohom

Seve
25th November 2007, 07:37 AM
Hello:
yum install "Development Tools"
then
try
downloading and extracting
http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update114.tar.gz
then
cd vmware-any-any-update114
and then run
./runme.pl

Seve

avrohomg
25th November 2007, 07:48 AM
Thanks for your quick reply.


The line yum update "Development Tools" doesn't download anything.

Here is the error I get when I run the vmware-any-any:

gcc: error trying to exec 'cc1plus': execvp: No such file or directory

Seve
25th November 2007, 07:55 AM
Hello:
My mistake ..:)

yum groupinstall "Development Tools"

including the quotes with the exact syntax

Seve

avrohomg
25th November 2007, 07:56 AM
Ok. It told me I have the latest version. I'm still getting that gcc error, but again, I have the latest version of everything!

Seve
25th November 2007, 07:59 AM
Hello:
Not sure what your issue is ?

What is the output of
rpm -aq | grep kernel

Seve

avrohomg
25th November 2007, 08:00 AM
[root@localhost bin]# rpm -aq | grep kernel
kernel-xen-2.6.21-2950.fc8
kernel-headers-2.6.23.1-49.fc8
kernel-devel-2.6.23.1-49.fc8
kernel-2.6.23.1-49.fc8
kernel-xen-devel-2.6.21-2950.fc8
[root@localhost bin]#

Seve
25th November 2007, 08:04 AM
Hello:
Are you presently booting from and using kernel
kernel-2.6.23.1-49.fc8

to check
uname -r

Seve

avrohomg
25th November 2007, 08:09 AM
root@localhost bin]# uname -r
2.6.23.1-49.fc8
[root@localhost bin]#

Seve
25th November 2007, 08:18 AM
Hello:
Did you ?


downloading and extracting
http://knihovny.cvut.cz/ftp/pub/vmw...pdate114.tar.gz
then
cd vmware-any-any-update114
and then run
./runme.pl

Seve

avrohomg
25th November 2007, 08:36 AM
yes, I have the vmware-any-any 114 version

Thanks.

avrohomg
25th November 2007, 07:11 PM
Hello,

I am running Fedora 8 and kernel 2.6.23.1-49.fc8

When I try to install VMWare via the any-any114 patch, I get the following error:



What is the location of the directory of C header files that match your running
kernel? [/usr/src/kernels/2.6.23.1-49.fc8-i586/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-config31/vmmon-only'
make -C /usr/src/kernels/2.6.23.1-49.fc8-i586/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.23.1-49.fc8-i586'
CC [M] /tmp/vmware-config31/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config31/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config31/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config31/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config31/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config31/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config31/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config31/vmmon-only/common/task.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [/tmp/vmware-config31/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config31/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-49.fc8-i586'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config31/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.










On many posts, I have seen that it indicates a missing c++ compiler, so I tried to do a yum install, but it told me it is already there. Please see below:


[root@localhost vmnet-only]# yum install gcc
Setting up Install Process
Parsing package install arguments
Package gcc - 4.1.2-33.i386 is already installed.
Nothing to do
[root@localhost vmnet-only]# yum install gcc-c++
Setting up Install Process
Parsing package install arguments
Package gcc-c++ - 4.1.2-33.i386 is already installed.
Nothing to do




Any suggestions would be greatly appreciated.

Thanks!

Avrohom

avrohomg
25th November 2007, 07:45 PM
I fixed it!!! My gcc-c++ must have been corrupt. I uninstalled it, re installed it, and it worked like a charm!!

gid99
27th November 2007, 06:24 AM
For additional reference, In addition to the good points others before me wrote, check out the following.

Also, you'll need "kernel-devel" and "kernel-headers" packages.

Also, see:
http://communities.vmware.com/thread/106648
link -- www.howtoforge.com/vmware_tools_on_linux

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=8090&forum=38

brr872002
27th November 2007, 08:46 AM
usr/src/kernels/2.6.23.1-49.fc8-i586'

It should be usr/src/kernels/2.6.23.1-49.fc8-i686

Try to check any mismatch
remove and install i686 package