C header files location

Simon simon80-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sun Dec 10 03:28:40 UTC 2006


You have to interpolate the `uname -r` part in a shell, and then pass
the output to the vmware script.

As an example, on my system in a terminal:

$ echo /lib/modules/`uname -r`/build/include
/lib/modules/2.6.17-10-generic/build/include

$ uname -r
2.6.17-10-generic

As you can see, the output of uname -r replaces `uname -r` in the echo command.

Simon

On 12/9/06, chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org <chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org> wrote:
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/linux/include] /lib/modules/`uname -r`/build/include
>
> The path "/lib/modules/`uname -r`/build/include" is not an existing
> directory.
--
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