On Nov 30, 2010, at 10:28 PM, Michael Szalay wrote:

> Thanks, now I have another error:
> 
> ./runlex.sh flex -Ppcap_ -oscanner.c scanner.l
> bison -y -p pcap_ -d grammar.y
> NONE:0: /usr/bin/m4: ERROR: EOF in string
> bison: subsidiary program `/usr/bin/m4' failed (exit status 1)
> make: *** [grammar.c] Fehler 1

Sounds like either a bug in Bison, a bug in M4, or a mismatch between the Bison 
and M4 on your system.  See some of the things a search for

        "/usr/bin/m4: ERROR: EOF in string" bison

finds; for example

        http://archives.postgresql.org/pgsql-hackers/2004-04/msg01012.php

says

        I'd say you have a broken bison installation; or possibly bison is okay 
but m4 isn't (recent bisons depend on m4, and I think require it to be 
reasonably late-model gnu m4).-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to