What is the location of the directory of C header files that
What is it on Mandrake?
What is the location of the directory of C header files that match your running
/usr/src/linux/include doesn't work. Help me out.
The path "/usr/src/linux/include" is not an existing directory.
Thanks in advance,
STOP AND READ if you are about ready to give up on core 5 and vmware 5
I made the mistake to upgrade from core 3 to core 5 and I too spent hours hours messing about with kernel-2.6.15-1.2054_FC5, kernel-2.6.16-1.2111_FC5, kernel-smp-2.6.16-1.2111_FC5 and etkernel-devel-2.6.16-1.2111_FC5 etc because I was thinking down the line that the C header files must be missing or for the wrong kernel, It resolved to be a more simple problem of how the VMware script looks for the header files, so the following is the easy steps I have taken to resolve my problem.
Originally Posted by SimonTheMime
1) check your running kernel by typing "uname -r"
[root@alexs ~]# uname -r
2) check that you have the devel version of your kernel (you can see below that I had some kernel fun) as you can see in step 1 I am running 2.6.16-1.2111_FC5smp so I have kernel-smp-2.6.16-1.2111_FC5 and kernel-smp-devel-2.6.16-1.2111_FC5 installed.
You do not need this kernel you can use the one you have just make sure you have the headers and the easy way to find the headers is to use the devel kernel.
[root@alexs ~]# rpm -qa | grep kernel
3) This is the step I wish I had know about 3 hours ago, visit my dev server and download vmware-any-any-update101.tar.gz (http://inoc-dev.viatel.net/vmware-an...date101.tar.gz)
4) As root "su -" unzip the file "gunzip vmware-any-any-update101.tar.gz" then un-tar the file "tar -xvf vmware-any-any-update101.tar" and then "cd vmware-any-any-update101" and run the script "./runme.pl"
Hope this helps
how to for those devel package?
I am trying to install Vmware tools and it needs source of the kernel.. I downloaded but it doesnt' have any version.h file.. I guess.. I need to do something else before this..
rpm -qa | grep kernel
So no devel thing there.. I can see source in /usr/include but got an error message
The directory of kernel headers (version 2.4.20) does not match your running
kernel (version 2.6.16-1.2122_FC5smp). Even if the module were to compile
successfully, it would not load into the running kernel.
kindly let me know what can I do to get that devel thing..
Kindly let me know if you know any solution to this problem.
Originally Posted by a9503128