Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Makefile
Date: Wed, 29 Apr 1998 21:49:20 -0600 (MDT)	[thread overview]
Message-ID: <199804300349.VAA15790@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <3.0.3.32.19980429212147.006e4958@proxima.simplecom.net> from "Ian Kinner" at Apr 29, 98 09:21:47 pm

> 
> 
> My arch/alpha/Makefile has a problem on line 35. When I try a "make
> menuconfig" or any other "make" command, I get an "arch/alpha/Makefile: 35:
> Missing Separator" error. The line is this:
> 
> $(shell $(AS) --version >& ./GAS_VER)

This is wrong syntax.  If you call bash under a name /bin/sh, like
Makefile does, you cannot use any bash extensions.  The line should
read:

$(shell $(AS) --version > ./GAS_VER 2>&1)

and redirects both stderr and stdout to ./GAS_VER.  Your "fix"
just left stderr alone.

  Michal


  reply	other threads:[~1998-04-30  3:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-30  2:21 Makefile Ian Kinner
1998-04-30  3:49 ` Michal Jaegermann [this message]
1998-04-30  4:01   ` Makefile Ian Kinner
1998-04-30  4:11 ` Makefile Maurice Hilarius
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