[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/src/linux symlink



On Fri, Feb 20, 2004 at 10:48:03AM +0100, David Baron wrote:
> Won't compile without it!  You will need one for headers--./debian/rules  
> based compiles as well. The things they don't tell you ....

Okay.  I have a question about this from the kernel README:

-----------------------------------------------------------
INSTALLING the kernel:

 - If you install the full sources, put the kernel tarball in a
   directory where you have permissions (eg. your home directory) and
   unpack it:

                gzip -cd linux-2.4.XX.tar.gz | tar xvf -

   Replace "XX" with the version number of the latest kernel.

   Do NOT use the /usr/src/linux area! This area has a (usually
   incomplete) set of kernel headers that are used by the library header
   files.  They should match the library, and not get messed up by
   whatever the kernel-du-jour happens to be.
-------------------------------------------------------------

This seams vague to me.  It says "area".  Shouldn't it say 
something like this???:

"Do NOT use the actual /usr/src/linux directory as it is probably a
symlink to another kernel-source!"

So if one compiled a kernel from source, where are the "complete" 
kernel-headers anyway?




Reply to: