Subject: Re: Current Source build fails...
To: NetBSD-i386 Mailing list <port-i386@NetBSD.ORG>
From: Matthias Scheler <tron@colwyn.owl.de>
List: port-i386
Date: 03/08/1996 11:24:02
Nate Sheeley said:
> ===> gnu/usr.bin/gcc/cc1
> cc -O -I. -I/usr/local/usrsrc/gnu/usr.bin/gcc/cc1
> -I/usr/local/usrsrc/gnu/usr.bin/gcc/cc1/../common
> -I/usr/local/usrsrc/gnu/usr.bin/gcc/cc1/../arch
> -I/usr/local/usrsrc/gnu/usr.bin/gcc/cc1/../arch/i386
> -I/usr/local/usrsrc/gnu/usr.bin/gcc/common  -Werror  -c c-parse.c
> /usr/local/usrsrc/gnu/usr.bin/gcc/cc1/../common/c-parse.y: In function
> `yyparse':
> /usr/local/usrsrc/gnu/usr.bin/gcc/cc1/../common/c-parse.y:540: `YYEMPTY'
> undeclared (first use this function)
> /usr/local/usrsrc/gnu/usr.bin/gcc/cc1/../common/c-parse.y:540: (Each
> undeclared identifier is reported only once
> /usr/local/usrsrc/gnu/usr.bin/gcc/cc1/../common/c-parse.y:540: for each
> function it appears in.)
> /usr/local/usrsrc/gnu/usr.bin/gcc/cc1/../common/c-parse.y:541: `YYLEX'
> undeclared (first use this function)
> *** Error code 1

I fixed this by using "bison" to create "c.parse.tab.c" and renaming it
to "c-parse.c" manually. The same problem will happen two times more,
the same kludge will help.

-- 
Matthias Scheler
tron@colwyn.owl.de