Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 1998 00:25:14 +0100
From:      Wolfram Schneider <wosch@panke.de.freebsd.org>
To:        Andreas Klemm <andreas@klemm.gtn.com>, current@FreeBSD.ORG
Subject:   Re: ${MACHINE_ARCH} is still a show stopper in make aout-to-elf-build
Message-ID:  <19981113002514.A6534@panke.de.freebsd.org>
In-Reply-To: <19981105085114.A1125@klemm.gtn.com>; from Andreas Klemm on Thu, Nov 05, 1998 at 08:51:14AM %2B0100
References:  <19981105085114.A1125@klemm.gtn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-11-05 08:51:14 +0100, Andreas Klemm wrote:
> The upgrade process still doesn't work, because MACHINE_ARCH
> isn't defined in -STABLE ;-)
> 
> root{540} /usr/src time make aout-to-elf-build | & tee make.log
> 
> --------------------------------------------------------------
>  Doing an aout buildworld to get an up-to-date set of tools
> --------------------------------------------------------------
> "Makefile.inc1", line 755: Need an operator
> "Makefile.inc1", line 1000: 1 open conditional
> make: fatal errors encountered -- cannot continue
> *** Error code 1

You must check if the variable MACHINE_ARCH is defined before accessing the
variable, e.g.:

.if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "aout"

Wolfram

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981113002514.A6534>