Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am getting an error trying to configure VMware workstation 4.5 during the install process. This is on SuSE 9.1 Pro. I have the latest kernel and kernel source available on YOU. Here is what I get:
linux:/usr/bin # vmware-config.pl
Making sure VMware Workstation's services are stopped.
Trying to find a suitable vmmon module for your running kernel.
None of VMware Workstation's pre-built vmmon modules 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? [/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-config2/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.95'
Makefile:438: .config: No such file or directory
WARNING: Symbol version dump /usr/src/linux-2.6.5-7.95/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
/tmp/vmware-config2/vmmon-only/linux/driver.c:131: warning: initialization from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c:135: warning: initialization from incompatible pointer type
/bin/sh: line 1: scripts/basic/fixdep: No such file or directory
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.95'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/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".
make[1]: Entering directory `/usr/src/linux-2.6.5-7.95'
Makefile:438: .config: No such file or directory
Looks like you don't have your kernel source for the currently-running kernel installed. You should install it via YAST/YOU. Possibly you need to make a symlink from it to /usr/src/linux.
Alternatively, it has always seemed to me that YAST/YOU might upgrade the kernel source during an online update, when you haven't upgraded your kernel, or rather booted to the upgraded kernel.
What kernel source actually exists in /usr/src, and what kernel does uname -r return as your currently-running kernel?
I installed the latest kernel and source from YOU. I'll check and see what I get from the output for the running kernel a little later and post back. Thanks for the tip.
This is supposed to be the same version I have the source installed for. /usr/src/linux points to the same files (looks that way to me anyway). I have the following directories in usr/src....
/usr/src/linux
/usr/src/linux-2.6.5-7.95
/usr/src/linux-2.6.5-7.95-obj
/usr/src/packages
So the running version and the source version should be in sync right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.