From owner-freebsd-ports Wed May 26 9:10:18 1999 Delivered-To: freebsd-ports@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (Postfix) with ESMTP id A5CE415625; Wed, 26 May 1999 09:10:09 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.9.3/8.9.1) id JAA96937; Wed, 26 May 1999 09:13:14 -0700 (PDT) (envelope-from sgk) From: Steve Kargl Message-Id: <199905261613.JAA96937@troutmask.apl.washington.edu> Subject: Re: bison versus yacc In-Reply-To: <19990526000653.A22681@dragon.nuxi.com> from "David O'Brien" at "May 26, 1999 00:06:53 am" To: obrien@freebsd.org Date: Wed, 26 May 1999 09:13:13 -0700 (PDT) Cc: freebsd-ports@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org David O'Brien wrote: > > I'm upgrading ddd from 3.1.4 to 3.1.5 and have run into a > > Already done and committed. Thanks. I saw your commit message an hour after I started to work on ddd-3.1.5. > > > small problem. This port uses USE_CONFIGURE to configure > > ddd for building, and it finds /usr/bin/bison. This > > chocks the make of ddd. > > Hum... I didn't have this problem. /usr/bin/bison worked fine for me. > Please test 3.1.5 from ports and see if it works for you. > > > (1) upgrade src/contrib/bison to version 1.27 which should fix the > > problem; > > In progress. I'll probably have it done right after USENIX. > Do you have bison 1.27 from ports/devel installed and /usr/local/bin preceding /usr/bin in your PATH? The default bison in /usr/bin is at 1.25, and the building of ddd chocks on /usr/share/misc/bison.simple. This is with your latest port and /usr/bin/bison (version 1.25). The last "make world" was Friday with -current source, and I rebulit /usr/bin/bison to ensure that I had a "good" bison.simple. c++ -DHAVE_CONFIG_H -DNDEBUG -O2 -W -Wall -Wno-uninitialized -pipe -fexternal- templates -felide-constructors -fconserve-space -trigraphs -c -I. -I. -I./.. -I/ usr/X11R6/include -o VSLRead.o VSLRead.C In file included from VSLRead.C:112: /usr/share/misc/bison.simple:302: unterminated `#else' conditional VSLRead.C: In function `int VSLLib_parse()': VSLRead.C:120: warning: declaration of `class VSLLib & VSLLib::read(class istrea m &, unsigned int = stdOpt)' outside of class is not definition VSLRead.C:120: parse error before `{' VSLRead.C:123: `s' undeclared (first use this function) VSLRead.C:123: (Each undeclared identifier is reported only once VSLRead.C:123: for each function it appears in.) VSLRead.C:124: `_lib_name' undeclared (first use this function) VSLRead.C:129: warning: implicit declaration of function `int parse(...)' VSLRead.C:138: `optimizeMode' undeclared (first use this function) VSLRead.C:138: warning: implicit declaration of function `int process(...)' VSLRead.C:143: invalid use of `this' in non-member function /usr/share/misc/bison.simple:293: warning: unused variable `struct YYSTYPE * vsl vs1' VSLRead.C:149: warning: declaration of `class VSLLib & VSLLib::read(const class string &, unsigned int = stdOpt)' outside of class is not definition VSLRead.C:149: parse error before `{' /usr/share/misc/bison.simple:259: warning: unused variable `int vsllen' /usr/share/misc/bison.simple:255: warning: unused variable `struct YYSTYPE vslva l' /usr/share/misc/bison.simple:225: warning: unused variable `int vslchar1' /usr/share/misc/bison.simple:221: warning: unused variable `int vsln' /usr/share/misc/bison.simple:285: warning: label `vslnewstate' defined but not u sed VSLRead.C:158: warning: control reaches end of non-void function `VSLLib_parse() ' VSLRead.C: At top level: VSLRead.C:160: warning: ANSI C++ forbids declaration `vslfilename' with no type VSLRead.C:160: conflicting types for `int vslfilename' VSLRead.C:74: previous declaration as `class string vslfilename' VSLRead.C:160: `lib_name' was not declared in this scope VSLRead.C:162: warning: return-type of `switchreset' defaults to `int' VSLRead.C:162: new declaration `int switchreset()' ./vsl-lex.L:306: ambiguates old declaration `void switchreset()' VSLRead.C:163: parse error before `if' VSLRead.C:167: warning: ANSI C++ forbids declaration `topstack' with no type VSLRead.C:167: redefinition of `int topstack' ./vsl-lex.L:46: `int topstack' previously defined here VSLRead.C:168: confused by earlier errors, bailing out gmake[1]: *** [VSLRead.o] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/ddd/work/ddd-3.1.5/ddd' gmake: *** [all] Error 1 *** Error code 2 Stop. *** Error code 1 Stop. *** Error code 1 -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message