From: Terran Lane <terran@ecn.purdue.edu>
Subject: Re: Compiling 2.1.13
Date: Sat, 23 Nov 1996 17:43:31 -0500 (EST) [thread overview]
Message-ID: <199611232243.RAA14489@mow.ecn.purdue.edu> (raw)
In-Reply-To: <199611232231.PAA01836@panda.mosberger>
David Mosberger-Tang spake unto me, saying:
>
> Vik> I have exactly the same problem. My understanding is that
> Vik> 2.1.13 should compile simply by setting arch=alpha in the
> Vik> Makefile; unfortunately, it reports various missing header
> Vik> files even on a make menuconfig.
>
> This is because on most distributions /usr/include/asm and
> /usr/include/linux are symlinks to the corresponding directories in
> /usr/src/linux. So both are right: the kernel _is_ self-contained,
> yet it fails to build on top of RH4.0 or any other distribution built
> against the early glibc. The solution is easy though: replace the
> symlinks with the actual contents of the relevant directories.
> Something like:
>
> $ su # become root
> $ rm /usr/include/linux /usr/include/asm
> $ cp -a /usr/src/linux/linux /usr/include
> $ cp -a /usr/src/linux/asm-alpha /usr/include
Hm. Nope. I just tried this and got:
# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-alpha asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux/scripts/lxdialog'
gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses
-DCURSES_LOC="<ncurses/curses.h>" -c lxdialog.c -o lxdialog.o
In file included from /usr/include/time.h:86,
from /usr/include/sys/select.h:32,
from /usr/include/sys/types.h:125,
from dialog.h:22,
from lxdialog.c:22:
/usr/include/timespec.h:1: linux/timespecbits.h: No such file or
directory
make[1]: *** [lxdialog.o] Error 1
make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog'
make: *** [menuconfig] Error 2
Thanks for the suggestion, though. Do you have another? Is my only
recourse to go the most recent glibc snapshot?
--
Terran Lane e-mail=terran@ecn.purdue.edu
WWW=http://purcell.ecn.purdue.edu/~terran/
"But I don't want to go among mad people," Alice remarked.
"Oh, you can't help that," said the Cat: "we're all mad here. I'm mad.
You're mad."
"How do you know I'm mad?" said Alice.
"You must be," said the Cat, "or you wouldn't have come here."
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1996-11-23 22:43 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199611232231.PAA01836@panda.mosberger>
1996-11-23 22:41 ` Compiling 2.1.13 Vik Bajaj
1996-11-23 22:43 ` Terran Lane [this message]
1996-11-24 16:56 ` Richard Henderson
[not found] <Pine.GSO.3.95.961124014837.24214A-100000@nks.oulu.fi>
1996-11-25 8:32 ` Andreas Kostyrka
[not found] <Pine.LNX.3.95.961124000248.3056B-100000@rebekka.tu-graz.ac.at>
1996-11-24 16:52 ` Richard Henderson
1996-11-24 0:04 Philip Blundell
-- strict thread matches above, loose matches on Subject: below --
1996-11-23 23:29 David Mosberger-Tang
1996-11-23 23:50 ` Topi Kanerva
1996-11-24 1:49 ` Terran Lane
1996-11-23 23:21 Matthew Jacob
1996-11-23 23:07 Matthew Jacob
1996-11-23 23:03 Matthew Jacob
[not found] <Pine.LNX.3.91.961123175146.1841B-100000@localhost>
1996-11-23 23:02 ` Terran Lane
1996-11-23 23:52 ` Philip Blundell
1996-11-23 22:49 Matthew Jacob
1996-11-23 22:54 ` Paul D. Robertson
1996-11-23 22:59 ` Vik Bajaj
1996-11-23 22:31 David Mosberger-Tang
1996-11-23 22:26 Matthew Jacob
1996-11-23 23:06 ` Fritz Ganter
1996-11-23 22:16 Matthew Jacob
1996-11-25 8:30 ` Andreas Kostyrka
1996-11-23 22:04 Scott Laird
1996-11-23 21:59 Terran Lane
1996-11-23 22:21 ` Vik Bajaj
1996-11-23 21:34 Matthew Jacob
1996-11-23 21:16 Vik Bajaj
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