"resParser.l", line 99: unrecognized %option: bison-bridge
Brought to you by:
blais
Using qt-3.3.5 compiled from source.
The relevant bit that fails;
_DEBUG -I/opt/lunar/qt/3/mkspecs/default -I.
-I/opt/lunar/qt/3/include -o accelUtil.o accelUtil.cpp
flex -PresParser resParser.l
"resParser.l", line 99: unrecognized %option: bison-bridge
"resParser.l", line 100: unrecognized %option: header-file
make: *** [resParser_lex.cpp] Error 1
Is this a problem with my qt ? I have bison-2.3 installed.
Attached is a compile log.
xxdiff compile log
Logged In: YES
user_id=423669
You need a newer version of flex that supports the
bison-bridge and header-file options. Not sure why many
distributions ship with an old flex version.
Hint to the maintainers: To prevent such problems, it is
customary and useful to include files generated by flex and
bison in the distributed tar file.
Logged In: YES
user_id=29442
I am seeing this problem and I have flex 2.5.4a which is the
most recent to be found in the GNU archives at
ftp://ftp.gnu.org/non-gnu/flex/.
Logged In: NO
You have an older version of flex. Use a more recent version of flex that supports the above
options. I had version 2.5.4 and switched to 2.5.33.