LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   vmware error, cant find c header files (http://www.linuxquestions.org/questions/slackware-14/vmware-error-cant-find-c-header-files-88173/)

artofluke 09-01-2003 07:50 PM

vmware error, cant find c header files
 
Installing vmware 4.0 on slackware 9.0, I get to this:

Quote:

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]

The path "/usr/src/linux/include" is not an existing directory.
I have heard I need to install my kernel source or kernel developement tools in order to get this? If thats what I should do, how do I do it?

If its not, then what should I do? Thanks.

artofluke 09-01-2003 09:10 PM

Oh no! I figured it out, I'm missing

/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/linux/version.h

I have everything else...where can I get this header file??

Azmeen 09-01-2003 09:12 PM

http://www.slackware.com/pb/?vers=sl...-2.4.20-i386-5

artofluke 09-01-2003 09:27 PM

Where do those install to? I found linux/version.h in /usr/include, but vmware warns it doesn't know if /usr/include are the same ones used by the kernel. I try installing it anyway, but then installation fails. It made more stuff appear in the original directory I had my libs, but not version.h...

Maybe I should recompile my kernel like it suggests?

artofluke 09-01-2003 09:51 PM

apparently im supposed to run "make dep" in the kernel source directory...sorry for newb question, but where is that in slack? i though it was supposed to be /usr/src/linux, but that dir doesnt exist...?

Azmeen 09-01-2003 10:07 PM

Get everything from this page:
http://www.slackware.com/pb/search.p...&string=kernel

And no, they're not normal archives... install them using installpkg.

Cheers!

artofluke 09-01-2003 10:26 PM

Ok, but do I need to run "make dep" to get version.h?

Azmeen 09-01-2003 10:48 PM

I don't think you need to. But if it still doesn't work, then probably you should give it a try.

artofluke 09-01-2003 11:23 PM

yaayyy!! it works! thanks so much azeem

Azmeen 09-02-2003 07:35 AM

No prob man...

Enjoy :)


All times are GMT -5. The time now is 11:18 AM.