I have a feeling I screwed something up, but I can't find anything wrong locally. # uname -a FreeBSD diesel.lassitu.de 8.0-STABLE FreeBSD 8.0-STABLE #9 r204100: Sat Feb 20 09:53:14 CET 2010 root@diesel.lassitu.de:/usr/obj/usr/src/sys/DIESEL amd64 # svn info Path: . URL: svn://svn.freebsd.org/base/stable/8 Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 208493 Node Kind: directory Schedule: normal Last Changed Author: mav Last Changed Rev: 208492 Last Changed Date: 2010-05-24 13:01:56 +0200 (Mon, 24 May 2010) [...] ===> 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) /usr/src/usr.sbin/config/config.y: In function 'yywrap': /usr/src/usr.sbin/config/config.y:318: error: 'found_defaults' undeclared (first use in this function) /usr/src/usr.sbin/config/config.y:319: error: 'PREFIX' undeclared (first use in this function) /usr/src/usr.sbin/config/config.y:319: error: 'stdin' undeclared (first use in this function) /usr/src/usr.sbin/config/config.y:319: warning: comparison between pointer and integer /usr/src/usr.sbin/config/config.y:321: error: 'yyfile' undeclared (first use in this function) /usr/src/usr.sbin/config/config.y:322: error: 'yyline' undeclared (first use in this function) /usr/src/usr.sbin/config/config.y: In function 'newfile': /usr/src/usr.sbin/config/config.y:337: error: dereferencing pointer to incomplete type /usr/src/usr.sbin/config/config.y:340: error: dereferencing pointer to incomplete type /usr/src/usr.sbin/config/config.y:341: error: 'fntab' undeclared (first use in this function) /usr/src/usr.sbin/config/config.y:341: error: 'f_next' undeclared (first use in this function) /usr/src/usr.sbin/config/config.y: At top level: /usr/src/usr.sbin/config/config.y:348: warning: 'struct device_head' declared inside parameter list e type y.tab.c: In function 'yygrowstack': y.tab.c:382: error: 'YYSTYPE' undeclared (first use in this function) y.tab.c:382: error: 'newvs' undeclared (first use in this function) y.tab.c:397: error: 'yyvs' undeclared (first use in this function) y.tab.c:397: error: expected expression before ')' token y.tab.c:402: error: 'yyvsp' undeclared (first use in this function) y.tab.c: In function 'yyparse': y.tab.c:456: error: 'yyvsp' undeclared (first use in this function) y.tab.c:456: error: 'yyvs' undeclared (first use in this function) y.tab.c:488: error: 'yylval' undeclared (first use in this function) y.tab.c:569: error: 'yyval' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/usr.sbin/config. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811
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 |