Compile problem on Linux
Brought to you by:
blais
Hi, I'm using Slackware Linux, and I got this problem with xxdiff-3.2:
g++ -c -pipe -DXX_DEBUG -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib/qt/mkspecs/default -I. -I/usr/lib/qt/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
The versions are:
g++ (GCC) 3.3.6
bison (GNU Bison) 1.35
flex version 2.5.4
Any clues?
Thanks.
Logged In: YES
user_id=1808742
Originator: NO
Hi,
I have exactly the same problem.
g++ 3.4.2
bison 1.875
flex 2.5.4
running on SUSE 9.x
Thanks.
Logged In: NO
Hello.
I run into the same problem and found out that my flex was to old. After installation of flex version 2.5.33 there where no problem. The documentation even says that it should be above 2.5.31 But I stop read the depenceny list after I read flex....
http://flex.sourceforge.net/#downloads is the offical site
But I downloaded from ftp://rpmfind.net/linux/fedora/core/development/source/SRPMS/flex-2.5.33-5.fc7.src.rpm instead.
Regards and good luck!
Johan