From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,fdcc029f026a030e X-Google-Attributes: gid111c93,public From: "His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated" Subject: Re: Kernel includes... Flame warning Date: 1998/05/31 Message-ID: #1/1 X-Deja-AN: 358292608 Sender: xenophon@deneb X-PGP-Key-URL: References: X-yow: We are now enjoying total mutual interaction in an imaginary hot tub... Comments: Hyperble mail buttons accepted, v04.01. X-Home-URL: X-Face: meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow X-Attribution: XF Reply-To: econommx@cs.rose-hulman.edu X-Disclaimer: My attitude is this. I'm full of it. If you listen to me, that's your problem. X-Day: Sun, 05 Jul 1998 07:00:00 X-Linux: Proud user of Linux since August 1994! Organization: First Church of B1FF and BRAK! (Reformed) Warnings-to: econommx@cs.rose-hulman.edu X-PGP-Key-ID: Length=1024; ID=0x44C9F871; Fprint="0F EF 86 8F 6C AB 19 63 E8 D7 A6 98 86 34 C2 DD" Newsgroups: comp.os.linux.alpha >>>>> "PR" == Paul Repacholi ( prep ) writes: >>>>> "xf" == His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated 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)