From: "Xavier Robitaille" 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: 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 ?