[unixODBC-support] Problem compiling under Debian with 2.6 kernel

Scott Johnson scott at advancedtool.com
Tue Jul 20 19:35:34 BST 2004

When I'm running the make for 2.2.9 I consistently get this error

-DHAVE_SETLOCALE=1 -DHAVE_STRCHR=1 -I. -I. -I../include -g -O2 -pthread
-c lex.c -MT lex.lo -MD -MP -MF .deps/lex.TPlo  -fPIC -DPIC -o lex.lo
lex.l: In function `yyerror':
lex.l:241: error: `YY_FLUSH_BUFFER' undeclared (first use in this
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
make[1]: Leaving directory `/root/unixODBC-2.2.9/sqp'
make: *** [all-recursive] Error 1

Does anyone have any ideas what I'm doing wrong, or what I'm missing to
get this to compile?

Thank you in advance.


More information about the unixODBC-support mailing list