Re: Compiling 2.1.13

Terran Lane (
Sat, 23 Nov 1996 17:43:31 -0500 (EST)

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
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
  "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 with
'unsubscribe' as the subject.  Do not send it to

Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices