Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2010 14:59:01 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>, Paul Mather <paul@gromit.dlib.vt.edu>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: make world fails in usr.sbin/config?
Message-ID:  <0CFCBFC9-F613-4D16-9359-334ECED3E913@lassitu.de>
In-Reply-To: <20100524122944.GA26720@icarus.home.lan>
References:  <323EFFEC-C17C-46AF-AF7C-281863F041C3@lassitu.de> <20100524120910.GA25613@icarus.home.lan> <E55CDD84-E46E-4ABB-995D-B4F794F80BD6@lassitu.de> <20100524121856.GA26479@icarus.home.lan> <224129E1-5E90-4E36-A553-2F37C0CF0780@lassitu.de> <20100524122944.GA26720@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 24.05.2010 um 14:29 schrieb Jeremy Chadwick:

> All that said: I *have* seen the compiler error you've mentioned, but
> usually a 2nd rebuild (after nuking /usr/obj/*) usually works.  =
Probably
> some weird race condition.

It sure looks like it. Now that I've checked out again, the error has =
moved to:
cc -O2 -pipe -DHAS_ISBLANK -I. =
-I/usr/src/usr.bin/awk/../../contrib/one-true-awk -DFOPEN_MAX=3D64   =
-I/usr/obj/usr/src/tmp/legacy/usr/include  =
-L/usr/obj/usr/src/tmp/legacy/usr/lib =
/usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c  -o maketab
In file included from =
/usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c:35:
./ytab.h:98: warning: data definition has no type or storage class
./ytab.h:99: error: expected '=3D', ',', ';', 'asm' or '__attribute__' =
before 'yylval'
*** Error code 1

Stop in /usr/src/usr.bin/awk.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Again, it appears as if YYSTYPE is defined but empty.  ytab.h looks a =
bit odd to me:

#define DECR 346
#define INCR 347
#define INDIRECT 348
#define LASTTOKEN 349
 YYSTYPE;
extern YYSTYPE yylval;

Line 98 is " YYSTYPE;"


Stefan

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0CFCBFC9-F613-4D16-9359-334ECED3E913>