From: David Mosberger-Tang <davidm@azstarnet.com>
Subject: Re: Compiling 2.1.13
Date: Sat, 23 Nov 1996 15:31:46 -0700 [thread overview]
Message-ID: <053a4bfe7a7903fe7225a2ec1cc86c64.axp-list@archive.invalid> (raw)
>>>>> On Sat, 23 Nov 1996 17:21:59 -0500 (EST), Vik Bajaj <vbajaj@nic-21-3.resnet.upenn.edu> said:
Vik> | That may be the problem. | | I started with RH3.0.3, and
Vik> have built my own ELF stuff since. | However, header files for
Vik> the kernel are supposed to be self-contained. | If you have RH
Vik> 4.0, you may have paid for it, so I suppose you should | ask
Vik> EWT or someone at RedHAT*.
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
should work (but I didn't try the above commands, so don't follow
blindly...).
Another option would be to upgrade to the most recent glibc snapshot,
but I'm not sure to what degree this is recommended (unless you're a
hacker). Richard?
--david
--
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 reply other threads:[~1996-11-23 22:31 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-23 22:31 David Mosberger-Tang [this message]
[not found] <Pine.GSO.3.95.961124014837.24214A-100000@nks.oulu.fi>
1996-11-25 8:32 ` Compiling 2.1.13 Andreas Kostyrka
[not found] <199611232231.PAA01836@panda.mosberger>
1996-11-23 22:41 ` Vik Bajaj
1996-11-23 22:43 ` Terran Lane
1996-11-24 16:56 ` Richard Henderson
[not found] <Pine.LNX.3.95.961124000248.3056B-100000@rebekka.tu-graz.ac.at>
1996-11-24 16:52 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1996-11-24 0:04 Philip Blundell
[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 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
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: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