hi,
On Apr 9, 1:53am, Aaron Lehmann wrote:
> Subject: Re: linux-2.4-xfs build broken
> On Mon, Apr 09, 2001 at 10:49:46AM +0200, Andi Kleen wrote:
> > In this case you should have gotten an error from the Makefile in
> > drivers/char, except if you have something else also called loadkeys in your
> > $PATH.
>
> loadkeys --mktable defkeymap.map | sed -e 's/^static *//' > defkeymap.c
> /bin/sh: loadkeys: command not found
> gcc -V egcs-2.91.66 -D__KERNEL__ -I/usr/src/linux-2.4-xfs/linux/include
> -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing -fomit-frame-pointer -pipe
> -march=i586 -c -o defkeymap.o defkeymap.c
>
>
> That's really weird. It should have stopped the build.
>
this has come up once before on the list - a couple of months
ago I think. the Makefile is broken - in the line you've given
above, the failed return code from loadkeys-not-found is lost
because of the sed (the return code is that of the last command
in the pipeline & sed doesn't fail here, so make doesn't detect
the failure).
if I remember correctly, this Makefile change comes from kdb -
I think Keith knows about this problem. could probably use an
intermediate temporary file to get around this buglet, Keith?
cheers.
--
Nathan
|