Unix Technical Forum

kernel 2.6.4, after removing headers 2.4.20 compiling not possible

This is a discussion on kernel 2.6.4, after removing headers 2.4.20 compiling not possible within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> On Thu, 29 Apr 2004 at 10:21 GMT, Floyd L. Davidson spoke: > It's still not the right way ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-19-2008, 11:06 AM
The King of Pots and Pans
 
Posts: n/a
Default Re: kernel 2.6.4, after removing headers 2.4.20 compiling not possible

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.

--
The King of Pots and Pans
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-19-2008, 11:06 AM
Ron Gibson
 
Posts: n/a
Default Re: kernel 2.6.4, after removing headers 2.4.20 compiling not possible

On Thu, 29 Apr 2004 09:37:24 +0000, Eef Hartman wrote:

> This is just not true for Slackware, the "kernel-headers" package,
> which is the one the "libraries" used, installs under /usr/include and
> does NOT have any links to /usr/src.


> In fact, when you don't install any "kernel-source" package, you
> haven't even got any /usr/src/linux* dirs OR links.


> And Pat himself DOES install his new, updated kernel sources under


> /usr/src


> and DOES install a link from /usr/src/linux-<version> to


> /usr/src/linux,


> out of the (yesterday released for 9.1) 2.4.26 kernel-source package:
> ( cd usr/src ; rm -rf linux )
> ( cd usr/src ; ln -sf linux-2.4.26 linux )
> ( cd usr/src/linux-2.4.26/include ; rm -rf asm )
> ( cd usr/src/linux-2.4.26/include ; ln -sf asm-i386 asm )
> From the "doinst.sh" script IN that package.


> So he DOES install the links under /usr/src, but makes NO links from
> /usr/include TO /usr/src.


I was wondering about this. I was thinking maybe I'd gone blind

--
Now with more Penguin
Email - rsgibson@verizon.borg
Replace borg with net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-19-2008, 11:06 AM
Floyd L. Davidson
 
Posts: n/a
Default Re: kernel 2.6.4, after removing headers 2.4.20 compiling notpossible

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.

--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@barrow.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com