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.
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.
Hi, I just installed Redhat 9.0 on my Dell Dimension 4550. I use my computer for work, and I use Windows-only applications, so I thought I would try out VMware. I downloaded the trial version and ran the rpm, and had no trouble with that. The problem came when I ran the configuration file, it told me that none of VMware's pre-built vmmon modules are suitable for my kernel, and offered to try to compile one on its own. It tried to use gcc, but apparently my "C header files" are incompatible with the kernel I'm running. It wanted me to point it to the correct directory. The /include directory, which it was looking for turns out to be in two places: /usr/local/include and /usr/include. The former is just empty.
i had the same problem a time ago but there is something you can do:
your kernel sources should be in /usr/src/linux .
go to the directory /usr/src/linux/include/linux and change the kernel version name in version.h to the name of your running kernel. this should let vmware compile the modules for you.
It turned out that the problem lay in the fact that I was booting from a bootdisk which had a kernel of the wrong version. I ran mkboodisk with the correct kernel version, rebooted, and the problem was solved.
Also, the default location for the C header files wasn't the one it suggested, but somewhere else (... ummm, yeah, I'm a newbie, I forget where. /lib/modules/something?)
I wouldnt change the version.h file as suggested earlier. I've been having the same problem with vmware (and I yet have to fix it) but just changing the version.h file wont help.
vmware is not only using the version name in the header files. it will crap out on ya.
I finally got the Vmware "C Header File" problem fixed. So everybody out there having the same problem, listen up. This was in RH9, by the way.
in /usr/src if there is not a /linux.2.4 or /linux.2.4.20-8 or something of that nature, then you MUST install the kernel development tools. This will install the kernel-source correctly. I tried just installing the kernel-source rpm, but it didnt work.
for you newbies, you can find the "add-remove applications" under system settings and run that. it's a nice graphical tool. scroll down and check the kernel development. fyi: you will need disk 2 and 3 if you are in RH9.
after you install that, head back to the /usr/src and you will see you a couple new folders. head into the /usr/src/linux.2.4.20-8/include and you will see all the good stuff that vmware is looking for, like the asm, net, and linux.
so when it asks, where are the c header files? [/usr/src/linux/include]
obviously that is not the right place, just type in the path correctly, and you will be rockin! hope that helps!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.