Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated" <xenophon@irtnog.org>
Subject: Re: Kernel includes... Flame warning
Date: 1998/05/31	[thread overview]
Message-ID: <w4on2byjcbt.fsf@irtnog.org> (raw)
In-Reply-To: m3hg277ee9.fsf@leila.right.here


>>>>> "PR" == Paul Repacholi ( prep ) <erepacholi@cc.curtin.edu.au> writes:
>>>>> "xf" == His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated <xenophon@irtnog.org> writes:

    xf> If you had set up your system correctly and read the kernel
    xf> build information, you would know about the following three
    xf> symbolic links:

    PR> Yep, got all that.

    PR> But, perhaps you can tell me what to set the links to so I
    PR> can build the 2.1.91 kernel. Oh, btw, another user is
    PR> building nethach, and a third is generating a 2.0.33 kernel
    PR> for another system. Running on a 2.0.30 alpha

Woah.  I'm not following you.  Let me back up an restate a few things
and see if that clears things up.

Usually, /usr/include/ has three symbolic links back to kernel source
code---asm (points to linux/include/asm, another symbolic link to the
architecture-specific headers), linux (points to linux/include/linux/,
which has the architecture-independent headers), and scsi (points to
linux/include/scsi/, which Does Stuff).

When I say `linux/' in the above, I mean where-ever you have the
kernel source code for the version you want to build against.  RedHat
puts kernel 2.0.30 in /usr/src/linux/ and has those three links point
there.  What I usually do is make /usr/src/linux a symbolic link to
the "current" kernel sources, and keep that in the appropriately
numbered directory.  So /usr/src/ has linux-2.0.33/ and
linux-2.1.103/, with linux pointing to linux-2.1.103/, so all of my
programs will build against the 2.1.103 headers.  Which header set to
use is only important when compiling programs and (especially)
modules, not when building a kernel (which automatically uses its own
headers and does not reference the standard C libraries and C headers
at all, for obvious reasons).

So if I read you aright (which may not be the case, please correct me
where wrong), you want to upgrade to kernel version 2.1.91 from
2.0.30, without screwing up the fellow trying to compile nethack, or
the other fellow trying to compile a 2.0.30 kernel for Some Other
Computer.

No sweat.

Since /usr/src/linux/ is the 2.0.30 headers (and kernel sources, if
you installed that), you can either remove the various kernel-2.0.30
RPMs, or you can rename /usr/src/linux/ to /usr/src/linux-2.0.30/
(which is what I did).  Then unpack the linux-2.1.91 tar in /usr/src,
it will create linux/ which contains kernel version 2.1.91, and all
will be well.  Joe User will be able to build his kernel (in some
other directory), and nethack (which shouldn't directly depend on
kernel headers) should build just fine for Josephine User.

So what's the big problem here?  Am I missing something fundamental?
What fnord about fnord this fnord is fnord confusing fnord you?

-- 
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b
"Abraham came not to sacrifice, but to know once and for all whether this God
was a god to be trusted and obeyed. No other test would do." (Fall of Hyperion)



  reply	other threads:[~1998-05-31  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-26  4:00 Kernel includes... Flame warning Paul Repacholi ( prep )
1998-05-27  4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-05-31  4:00   ` Paul Repacholi ( prep )
1998-05-31  4:00     ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated [this message]
1998-06-02  4:00       ` Paul Repacholi ( prep )
1998-06-01  4:00     ` John Walstra
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox