Fergus,

This is a general Cygwin question, not a Cygwin/XFree86 question. It should have been sent to [EMAIL PROTECTED], not [EMAIL PROTECTED]

However, I happen to know the answer you want to hear. The problem is that 'flex' 2.5.31-1 sucks; it can't build anything in the XFree86 tree. Something is horribly wrong with it, but I don't care to get involved in fixing it. As such, I have upgraded flex to the 'test' version 2.5.4-2. You can do this in Cygwin's setup.exe, but you have to keep manually reselecting that version each time you run setup.exe because it will always try to replace it with the 'curr' 2.5.31-1 version.

Good luck, I hope that helps,

Harold

[EMAIL PROTECTED] wrote:
A configure / make /make install that has been working successfully oob for
a long time recently failed. the relevant .tgz is unaltered, only Cygwin has
changed. Does the following output from make, throw any light on this? The
configure worked fine. I attach cygcheck.out.
Fergus

~/tmp/grap-1.30> make
grep "^#" grap.y > grap.cc ; grep "^#" grap_lex.l > grap_lex.cc; touch
y.tab.h
g++ -MM -Wall -DHAVE_CONFIG_H grap.cc grap_lex.cc *.cc >> .depend;
rm -f grap.cc grap_lex.cc y.tab.h
bison -y -d grap.y
mv y.tab.c grap.cc
g++ -Wall -DHAVE_CONFIG_H   -c -o grap.o grap.cc
flex -ograp_lex.cc grap_lex.l
g++ -Wall -DHAVE_CONFIG_H -Wno-unused -c grap_lex.cc
grap_lex.l: In function `void expand_macro(macro*)':
grap_lex.l:979: error: `yytext_ptr' undeclared (first use this function)
grap_lex.l:979: error: (Each undeclared identifier is reported only once for
each function it appears in.)
grap_lex.l: In function `bool is_macro(const std::string&)':
grap_lex.l:990: error: parse error before `--' token
grap_lex.l: At global scope:
grap_lex.l:996: error: parse error before `]' token
make: *** [grap_lex.o] Error 1
~/tmp/grap-1.30>



Reply via email to