Menu

#188 "resParser.l", line 99: unrecognized %option: bison-bridge

Compilation Issues
open
nobody
None
5
2006-09-23
2006-09-23
Dennis
No

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.

Discussion

  • Dennis

    Dennis - 2006-09-23

    xxdiff compile log

     
  • Ivo Hofacker

    Ivo Hofacker - 2006-11-02

    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.

     
  • Tom Hughes

    Tom Hughes - 2006-11-02

    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/.

     
  • Nobody/Anonymous

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.