Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2010 05:09:10 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: make world fails in usr.sbin/config?
Message-ID:  <20100524120910.GA25613@icarus.home.lan>
In-Reply-To: <323EFFEC-C17C-46AF-AF7C-281863F041C3@lassitu.de>
References:  <323EFFEC-C17C-46AF-AF7C-281863F041C3@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 24, 2010 at 01:59:14PM +0200, Stefan Bethke wrote:
> I have a feeling I screwed something up, but I can't find anything wrong locally.
> ...
> ===> usr.sbin/config (obj,depend,all,install)
> /usr/obj/usr/src/tmp/usr/src/usr.sbin/config created for /usr/src/usr.sbin/config
> yacc -d /usr/src/usr.sbin/config/config.y
> cp y.tab.c config.c
> lex -t  /usr/src/usr.sbin/config/lang.l > lang.c
> file2c 'char kernconfstr[] = {' ',0};' < /usr/src/usr.sbin/config/kernconf.tmpl > kernconf.c
> rm -f .depend
> mkdep -f .depend -a    -I. -I/usr/src/usr.sbin/config -I/usr/obj/usr/src/tmp/legacy/usr/include config.c /usr/src/usr.sbin/config/main.c lang.c /usr/src/usr.sbin/config/mkmakefile.c /usr/src/usr.sbin/config/mkheaders.c /usr/src/usr.sbin/config/mkoptions.c kernconf.c
> echo config: /usr/lib/libc.a /usr/lib/libl.a /usr/lib/libsbuf.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend
> cc -O2 -pipe -I. -I/usr/src/usr.sbin/config   -I/usr/obj/usr/src/tmp/legacy/usr/include -c config.c
> config.c:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> config.c:215: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'yyval'
> config.c:216: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'yylval'
> config.c:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> /usr/src/usr.sbin/config/config.y: In function 'yyerror':
> /usr/src/usr.sbin/config/config.y:312: error: 'yyfile' undeclared (first use in this function)
> /usr/src/usr.sbin/config/config.y:312: error: (Each undeclared identifier is reported only once
> /usr/src/usr.sbin/config/config.y:312: error: for each function it appears in.)
> /usr/src/usr.sbin/config/config.y:312: error: 'yyline' undeclared (first use in this function)

1) Have you tried rm -fr /usr/obj/* prior to building world?

2) If you already tried that, can you provide your /etc/make.conf and
/etc/src.conf contents?

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




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