hello, unixODBC stop compiling with the following Error lex.l: In function `yyerror': lex.l:241: error: `YY_FLUSH_BUFFER' undeclared (first use in this function) lex.l:241: error: (Each undeclared identifier is reported only once lex.l:241: error: for each function it appears in.) make[1]: *** [lex.lo] Error 1 in lex.c are a undefined of YY_FLUSH_BUFFER in front of the include of lex.l. As work around we can define YY_FLUSH_BUFFER in lex.l again. workaround patch will appended soon. bye bernd Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r2) ================================================================= System uname: 2.4.20-ck4 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="rsync://ftp.belnet.be/gentoo/ PORTDIR="/usr/portage" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla ldap cdr" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-tbird -march=athlon-tbird -O3 -pipe" CXXFLAGS="-mcpu=athlon-tbird -march=athlon-tbird -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache notitles"
Created attachment 13958 [details, diff] Patch to fix YY_FLUSH_BUFFER problem this patch are a work around. To solve the Problem there must be checked why YY_FLUSH_BUFFER will be undefined drictly befor including lex.l
Bernd: Does this patch work with newer and older versions of flex?
Appears to work with flex 2.5.4a.