[unixODBC-support] Compiling error.

longint longint longint at gmail.com
Sat May 14 01:59:14 BST 2005

Hi, Im trying to add odbc support to my php 4 codes on my Debian 3.1

while compiling unixdbc i got...(previos configure..../configure
--prefix=/usr/local/odbc/ --enable-gui=no)

-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 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
make[1]: Leaving directory `/usr/local/src/unixODBC-2.2.11/sqp'
make: *** [all-recursive] Error 1

www:/usr/local/src/unixODBC-2.2.11# dpkg -l | grep gcc
ii  gcc            3.3.5-3        The GNU C compiler
ii  gcc-3.3        3.3.5-8        The GNU C compiler
ii  gcc-3.3-base   3.3.5-8        The GNU Compiler Collection (base package)
ii  libgcc1        3.4.3-12       GCC support library
www:/usr/local/src/unixODBC-2.2.11# dpkg -l | grep make
ii  make           3.80-9         The GNU version of the "make" utility.
ii  makedev        2.3.1-77       creates device files in /dev
www:/usr/local/src/unixODBC-2.2.11# dpkg -l | grep g++ 
ii  g++            3.3.5-3        The GNU C++ compiler
ii  g++-3.3        3.3.5-8        The GNU C++ compiler
ii  libg++ 2.95.4-22      The GNU C++ extension library - development 
ii  libg++ 2.95.4-22      The GNU C++ extension library - runtime vers
www:/usr/local/src/unixODBC-2.2.11# uname -a
Linux www 2.6.8-2-386 #1 Mon Jan 24 03:01:58 EST 2005 i686 GNU/Linux

More information about the unixODBC-support mailing list