DebianThis forum is for the discussion of Debian Linux.
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'm running kernel 2.6.18-3-486. I've installed both the linux-source (linux-source-2.6.18) and linux-headers (linux-headers-2.6.18-3-486) files for my kernel but I get to this point in the install and cannot get past it:
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-3-486). Even if the module were to compile
successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
I hit enter here at the default given and the message just comes back. Is there some other step I need to do prior to running the install that I'm missing?
Ok, I checked and /usr/src/linux is pointing to the linux-headers instead of linux-source. What would be the best way to re-direct it to linux-source instead.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Create a new symbolic link to the kernel source after deleting the current link. BTW you do not really need to do this, just provide the full path to the kernel source when asked;
Quote:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Ok, I provided the full path to the linux-source folder (/usr/src/linux-source-2.6.18/include) during the install and now I get the following message:
The path "/usr/src/linux-source-2.6.18/include" is a kernel header file
directory, but it does not contain the file "linux/version.h" as expected. This
can happen if the kernel has never been built, or if you have invoked the "make
mrproper" command in your kernel directory. In any case, you may want to
rebuild your kernel.
Updating /usr/bin/vmware-config.pl ... now patched
Unable to copy the source file ./vmmon.tar to the destination file
/usr/lib/vmware/modules/source/vmmon.tar.
I'm running kernel 2.6.18-3-486. ... I get to this point in the install and cannot get past it:
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-3-486). Even if the module were to compile
successfully, it would not load into the running kernel.
It looks as though the version.h file in recent kernel source code no longer contains a definition for UTS_RELEASE, which is what the install code is probably looking for.
The UTS_RELEASE definition can now be found in /lib/modules/`uname -r`/build/include/linux/utsrelease.h. If you append that file to version.h in the same directory, chances are VMware will then be able to find the kernel version correctly.
Last edited by andrewes; 02-23-2007 at 06:25 PM.
Reason: Distracting reference to RHEL5, improved answer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.