vmware problem with kernel C header files on SuSE 9.1
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
vmware problem with kernel C header files on SuSE 9.1
Hi to all and thanks for helping me.
I'm trying to install vmware workstation 4.5 on my SuSE 9.1 pro.
When I run wmware-config.pl after reading the license he asks me:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
But if I put this path:
/usr/src/linux/include
He answer me:
The directory of kernel headers (version 2.6.4-52-default) does not match your
running kernel (version 2.6.5-7.104-default). Even if the module were to
compile successfully, it would not load into the running kernel.
Hi,
i had exactly the same problem,
after the installation of the kernel-files over online-update
(YAST: package "kernel-source", installed version: "2.6.5-7.104")
this problem was solved.
Now i have a new problem after starting vmware-config.pl, what should i do:
Making sure services for VMware Workstation are stopped.
Trying to find a suitable vmmon module for your running kernel.
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] y
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? [/usr/src/linux/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 /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.104'
Makefile:438: .config: Datei oder Verzeichnis nicht gefunden
WARNING: Symbol version dump /usr/src/linux-2.6.5-7.104/Module.symvers is missi ng, modules will have CONFIG_MODVERSIONS disabled.
CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o
/bin/sh: line 1: scripts/basic/fixdep: Datei oder Verzeichnis nicht gefunden
make[2]: *** [/tmp/vmware-config6/vmmon-only/linux/driver.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config6/vmmon-only] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.104'
make: *** [vmmon.ko] Fehler 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".
I think that something is missing. Fortunately I've solved my problem with my Win ME and I don't need VM Ware anymore.
I think that our release of Linux it's too much modified from the original so vm ware is unable to find some things. To solve your problem you should try to install SuSE 8.2 professional . It has a built-in package of VM ware and the only thing to do after install it is to download a user code from wmware web site. If you need to use it try this way !!!!
i could use my windows on an another partition too, but i wanted to avoid the reboot..
I updated from suse 8.2 and i don't want do go back to it.
I think that i will use my second PC with windows and transfer the required data over the network
until this problem is solved by anyone who knows more about linux and vmware than me.
The header files for the updated kernel (2.6.5-7.104) are apparently located in /usr/src/linux/include. However, there is a file named ".config" which should be present in that directory and isn't.
I know nothing about kernels or compilation, but I'm gonna have a crack at this, so if I find any answers I'll let you guys know.
- Go to http://ftp.cvut.cz/vmware/
- Download the latest version of vmware-any-any-update (82 when I tried)
- Untar the file
- su to root
- cd /usr/src/linux
- make cloneconfig
- make prepare
- Go to the directory you untarred the vmware-any-any-update file into
- ./runme.pl
i tried this, but now a "cc1plus" could not be fond:
...
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux-2.6.5-7.104/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 4.5.2.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmmon-only'
make -C /usr/src/linux-2.6.5-7.104/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.104'
WARNING: Symbol version dump /usr/src/linux-2.6.5-7.104/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.
CC [M] /tmp/vmware-config5/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config5/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config5/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config5/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config5/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config5/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config5/vmmon-only/common/task.o
gcc: installation problem, cannot exec `cc1plus': Datei oder Verzeichnis nicht gefunden
make[2]: *** [/tmp/vmware-config5/vmmon-only/common/task.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.104'
make: *** [vmmon.ko] Fehler 2
make: Leaving directory `/tmp/vmware-config5/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".
Hmm.. if you really can't get it to work, try downloading vanilla kernel, compile it, run it and then try configuration again. It should work with vanilla source.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.