From: "His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated" <xenophon@irtnog.org>
Subject: Re: Kernel includes... Flame warning
Date: 1998/05/27 [thread overview]
Message-ID: <w4og1hwkwou.fsf@irtnog.org> (raw)
In-Reply-To: m3u36d2hxd.fsf@leila.right.here
>>>>> "PR(p)" == Paul Repacholi ( prep ) <erepacholi@cc.curtin.edu.au> writes:
PR(p)> Could the `right people' PLEASE look at doing ALL includes
PR(p)> from the kernel build tree, and installing the `right'
PR(p)> include files as part of installing the kernel. Yes, I know
PR(p)> that is a real furball...
Er, this is a mild back-flame. Hope you don't mind me calling you a
dumb-ass. :)
If you had set up your system correctly and read the kernel build
information, you would know about the following three symbolic links:
nemesis:~>ls -ld /usr/include/{asm,linux,scsi}
lrwxrwxrwx 1 root root 24 Mar 8 2018 /usr/include/asm -> ../src/linux/include/asm/
lrwxrwxrwx 1 root root 26 Mar 8 2018 /usr/include/linux -> ../src/linux/include/linux/
lrwxrwxrwx 1 root root 25 Mar 8 2018 /usr/include/scsi -> ../src/linux/include/scsi/
nemesis:~>
Of course, on my system the content of /usr/src/linux is the source
code to kernel version 2.1.103. And yes, it is documented (although
i386-centric). From linux/README, as part of the kernel source
installation:
> - Make sure your /usr/include/asm, /usr/include/linux, and
> /usr/include/scsi directories are just symlinks to the kernel
> sources:
>
> cd /usr/include
> rm -rf asm linux scsi
> ln -s /usr/src/linux/include/asm-i386 asm
> ln -s /usr/src/linux/include/linux linux
> ln -s /usr/src/linux/include/scsi scsi
Of course, that should instead be 'ln -s /usr/src/linux-include/asm'
or 'ln -s /usr/src/linux-include/asm-alpha'. So every time you update
your kernel, or install new kernel sources, you should either (a)
recreate these links per the installation instructions or (b) install
your kernel sources in such a way as those symbolic links will always
be correct.
So go Burn in Earth, Pink Boy!! :)
--
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
"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)
next prev parent reply other threads:[~1998-05-27 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 [this message]
1998-05-31 4:00 ` Paul Repacholi ( prep )
1998-05-31 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
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