C header files location
Tim Writer
tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org
Sat Dec 9 19:19:03 UTC 2006
Simon <simon80-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> writes:
[snip]
> Anyway, I don't know if you want the long explanation for this, but
> here goes... VMWare is trying to compile a loadable kernel module to
> extend the functionality of your kernel. You may or may not know that
> the Linux kernel is written in C, and you also may or may not know how
> C compilation works. I'm not suggesting that you don't, but in the
> case that you don't, I'll explain that too..
[snip]
> I hope this all the way over your head, I realize my explanation has
> gotten long and crappy..
It was a valiant effort.
To answer Chris's question, if the kernel headers are properly installed,
they should be located here:
/lib/modules/`uname -r`/build/include
I believe this is the standard for all modern distributions.
To expand this manually on your system:
% echo /lib/modules/`uname -r`/build/include
If this directory doesn't exist, the kernel headers aren't installed. I'm
not a Fedora user but I'm fairly certain you need to install the
kernel-devel package. You should be able to do that with yum. There may be
several versions of this package. The version and architecture of this
package should match the kernel you have installed.
<flamebait>
A lot of users seem to struggle with Fedora. I used Red Hat from 2.x
through 7.3 and, to a lesser extent 8 and 9. I now mainly use Ubuntu as my
desktop and strongly recommend it, esp. to new or non-technical users. On
most hardware, it `just works'. IMO, Fedora is unsuitable for the vast
majority of users. If your job involves supporting Red Hat systems, Fedora
is a reasonable choice for a desktop. Otherwise, go with Ubuntu (or
Kubuntu, or Xubuntu). If you want something `user friendly', with
commercial support, consider Xandros or (shudder) Linspire. Note that all
these `user friendly' distributions are Debian based. Red Hat has publicly
stated that Linux isn't ready for the Desktop and I think this philosophy
is apparent in their products and the Fedora project.
</flamebait>
--
tim writer <tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org> starnix inc.
647.722.5301 toronto, ontario, canada
http://www.starnix.com professional linux services & products
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list