www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/17/00:19:56

From: "Xavier Robitaille" <xavier DOT robitaille AT videotron DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: undefined reference to `yyerror'
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <yf996.5864$pY3.197907@weber.videotron.net>
Date: Tue, 16 Jan 2001 23:38:48 -0500
NNTP-Posting-Host: 24.202.88.141
X-Complaints-To: abuse AT videotron DOT net
X-Trace: weber.videotron.net 979705950 24.202.88.141 (Tue, 16 Jan 2001 23:32:30 EST)
NNTP-Posting-Date: Tue, 16 Jan 2001 23:32:30 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I am new to flex&bison and I am trying to build lex&yacc examples from the
Oreilly...
I am able to generate "compile" the .y and .l, but I am unable to build my
application.
The command I use to build it is

gcc -o ch3-01 ch3-01.tab.c lexyy.c -lfl

and I get a linker : undefined reference to `yyerror'

for flex, I have a library to link with, libfl.a, but there is none for
bison (only bison.hai & bison.sim which I don't no what to do with).

Could someone help me ?



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019