Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23633 - unixODBC don't compile with flex 2.5.31
Summary: unixODBC don't compile with flex 2.5.31
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-27 23:03 UTC by Bernd Martin Wollny
Modified: 2003-10-05 18:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix YY_FLUSH_BUFFER problem (unixODBC-2.2.2_lex.l.diff,328 bytes, patch)
2003-06-28 00:44 UTC, Bernd Martin Wollny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Martin Wollny 2003-06-27 23:03:25 UTC
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"
Comment 1 Bernd Martin Wollny 2003-06-28 00:44:23 UTC
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
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2003-07-31 12:34:51 UTC
Bernd: Does this patch work with newer and older versions of flex? 
Comment 3 Ryan Phillips (RETIRED) gentoo-dev 2003-10-05 18:50:16 UTC
Appears to work with flex 2.5.4a.