[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)

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unixODBC\"
-DVERSION=\"2.2.11\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_SEM_H=1 -DHAVE_DLFCN_H=1 -DLTDL_SHLIB_EXT=\".so\"
-DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LIBCRYPT=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_SYS_TIME_H=1 -DSIZEOF_LONG=4 -DHAVE_LONG_LONG=1
-DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_VSNPRINTF=1
-DHAVE_STRTOL=1 -DHAVE_ATOLL=1 -DHAVE_STRTOLL=1 -DHAVE_ENDPWENT=1
-DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LOCALTIME_R=1 -DHAVE_FTOK=1
-DHAVE_SEMGET=1 -DHAVE_SHMGET=1 -DHAVE_SEMOP=1 -DHAVE_SNPRINTF=1
-DNEED_SEMUNDO_UNION=1 -DCOLLECT_STATS=1 -DSTDC_HEADERS=1
-DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PWD_H=1 -DHAVE_CRYPT_H=1
-DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1
-DHAVE_LOCALE_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SEM_H=1
-DHAVE_DIRENT_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_VPRINTF=1
-DHAVE_PUTENV=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1
-DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STRCHR=1 -DUNIXODBC_SOURCE=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 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# 


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.8.1.3- 2.95.4-22      The GNU C++ extension library - development 
ii  libg++2.8.1.3- 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
www:/usr/local/src/unixODBC-2.2.11#




More information about the unixODBC-support mailing list