Re: linux header file location

"Heyendal, Carl" <[email protected]>
Newsgroups gmane.user-groups.linux.ottawa.general
Message-ID <1D6034426110564DA0DEA9EE9793B383581C8CD8B6@NBE-MBX01.americas.swk.pri>
Got ya.

thanx
/carl

From: Bart Trojanowski [mailto:[email protected]]
Sent: April 26, 2011 9:03 AM
To: Heyendal, Carl
Cc: General Membership Discussion List
Subject: Re: [oclug] linux header file location

On Tue, Apr 26, 2011 at 12:57, Heyendal, Carl <[email protected]<mailto:[email protected]>> wrote:
"make headers_install INSTALL_HDR_PATH=/usr/src *but* it doesn't really work this way anymore."

Not sure what you are saying here. Are you saying that it can't be done? There must be a way. If not, how did
the previous Linux version headers get installed in 'usr/src'?

I am saying you *can* install your headers in /usr/src, but 3rd party modules don't look in /usr/src.

3rd party (or "out of tree") modules look for a "build" symlink in /lib/modules/$(uname -r)/ and use it as the source of headers.

Distributions install files in /usrc/src, but end users don't have to.  Having said that, you can install them there, but then you'll have to redirect the "build" symlink there.

-Bart

-- 
OCLUG general discussion list
[email protected]
http://oclug.on.ca/mailman/listinfo/oclug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.