Date: Thu, 21 Oct 1999 14:09:49 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Michael Fischer cc: djgpp AT delorie DOT com Subject: Re: easy linking question In-Reply-To: <7um1lr$8gu$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 21 Oct 1999, Michael Fischer wrote: > I am using flex and bison that came with djgpp and cannot figure out > which library to link for bison. I know that the -lfl is for flex. > Anyone know what to link for bison? There is no lib file in the > package. Correct. Unlike Yacc, Bison doesn't need a library. > My basic problem is the yyerror() is undefined and I get a compile > error if I do not generate a generic one for myself. This is explained in the Bison manual: you must provide yyerror yourself. There is a trivial version in the manual, in the node "Error Reporting", if you don't have anytrhing special to put into yyerror.