
29 Nov
2004
29 Nov
'04
5:13 p.m.
Hi,
At Mon, 29 Nov 2004 16:51:40 +0100 miksiu wrote:
miksiu> Hello! miksiu> I'm working with libsmi-0.4.1 and I have one problem. I don't know what miksiu> options was used to compile parser-smi.y file. I compiled this file with miksiu> command (I didn't make any changes in this file):
miksiu> bison -d parser-smi.y
try:
bison -v -t -d -psmi parser-smi.y
and likewise for sming:
bison -v -t -d -psming parser-sming.y
and to generate scanner-smi.c and scanner-sming.c
flex -Cfe -Psmi -t scanner-smi.l > scanner-smi.c flex -Cfe -Psming -t scanner-sming.l > scanner-sming.c
should work (taken from the Makefile generated for a linux platform).
Erik