Have you linked with -ly. Is there a liby at all? The bison in bo (1.25-4) seems to be missing it altogether.
As a temporary measure, you can define it: #define YYSTYPE int in the declarations section of your .y file but I think this is a bug. -- Jaldhar On Sun, 20 Jul 1997, Dima wrote: > --------------------------------------------- > Hi, > > anyone used flex & bison lately? > > While compiling lex.yy.c gcc says "parse error > before yylval", which is defined in bison-generated > header as extern YYSTYPE. Bison part fails with too > many errors to list, "YYSTYPE undeclared" being one > of them. > > The code in question used to compile -- half a year > or so ago. Is there a magic word to make gcc work, > or should I downgrade gcc to 2.7.2.1? > (I'm running off hamm, except for libc6-dev and friends; > dpkg -l gcc gives 2.7.2.2-4). > > Thanks > -- > Dimitri > reply to > emaziuk @ curtin dot edu dot au > ------------------------------- > What color is a chameleon on a mirror? > ( Zen koan ) > > > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > [EMAIL PROTECTED] . > Trouble? e-mail to [EMAIL PROTECTED] . > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .