View Single Post

   
  #14 (permalink)  
Old 02-19-2008, 12:55 PM
pseudonym
 
Posts: n/a
Default Re: kernel 2.6.4, after removing headers 2.4.20 compiling not possible

On 2004-04-29, Floyd L. Davidson <floyd@barrow.com> wrote:
> The King of Pots and Pans <King@ask.for.email.invalid> wrote:
>>On Thu, 29 Apr 2004 at 10:21 GMT, Floyd L. Davidson spoke:
>>> It's still not the right way to do it. The Linux kernel
>>> documentation quoted above makes that clear, and should be the guide
>>> to follow.

>>
>>A few days ago I untar'd the 2.6.5 kernel sources into /usr/src. I
>>built it and installed it with no problems at all. I am running it
>>now. Before building it I changed the /usr/src/linux symlink to point
>>to /usr/src/linux-2.6.5.

>
> Even after reading the instructions not to?
>
> That *is* okay, *if* you know what you are doing. But if you've
> accidentally changed the headers found under /usr/include, then
> eventually it will bite you hard if you compile many programs.


What is being missed here is that it is explicitly */usr/src/linux* that is
being referenced here. That says nothing about */usr/src* itself. I've
always had all the kernel sources under /usr/src, each in an appropriately
labeled directory. /usr/src/linux, in my installations, are symlinks to one
of the labeled directories. Also under /usr/src is the rpm stuff....

The point of the whole business is this: don't stuff two kernel sources in
the same directory! Or what am I missing here?

>
> --
> Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
> Ukpeagvik (Barrow, Alaska) floyd@barrow.com



--
Email is wtallman at olypen dot com
Reply With Quote