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=64   
-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 '=', ',', ';', '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

-- 
Stefan Bethke <s...@lassitu.de>   Fon +49 151 14070811



_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to