Re: scotty 2.0.0 install

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Sun, 3 Sep 1995 11:42:24 +0200

Hi!

David Cong <cong@eis.comm.mot.com> said:

David> I have problem with scotty 2.0.0 when I use option --with-gdmo.
David> The error is "yywrap" not defined.
David> Any patch fix that yet?

Are you using lex or flex? The gdmo parser usually compiles without
any problems if you use the latest version of the GNU utilities, that
is flex-2.5.2 and bison-1.24. Using GNU utilities is preferred as many
vendor provided lex versions do not conform to the POSIX standard (and
the gdmo scanner relies on POSIX exclusive start conditions).

Of course, if you are only missing yywrap(), you can go ahead by
adding the following to the end of gdmoScan.l:

%%
int yywrap() { return 1; }

Juergen