[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make problems: Was RE: gEDA: Icarus Verilog 20011230 Snapshot



So, I try to make this version of Icarus under Cygwin and I get
some errors during make. The first happened while building vvp.
The makefile tried to move a file called parse.cc.h to parse.h
right after bison created it. It appears that bison may have
actually called the file parse.hh.

I moved parse.hh to parse.h and make proceeded until it hit
another stumbling block that I haven't put enough effort into
to work around yet...

while building cflexor.o, I get the error:

./cflexor.lex: In function `cfreset':
./cflexor.lex:132: structure has no member named `text'
make[1]: *** [cflexor.o] Error 1

I look in cfreset does indeed try to assign a value to the
'text' member of a variable named yylloc which is a global
variable of type YYLTYPE. I look in the auto-generated
cfparse.h file and find that YYLTYPE indeed does not have such
a member.

This must be a bison thing, but I don't know enough to solve
this quickly. Any ideas? I maybe could simply add a char * text
member to YYLTYPE, but something tells me that might break
other things, especially since cfparse.h is autogenerated by
bison.

Best regards
Jason

--
Jason Doege
Director, Design Link Technology
Inovys, Corp.                     Phone (512) 422-9483
11417 Carnelian Dr.               Fax   (512) 292-8958
Austin, TX 78739                  email jason_doege@inovys.com