From: Patrick B. D. <uf...@vi...> - 2005-12-07 23:33:32
|
Hello, When configuring libiodbc-3.52.3 as follows, ./configure --with-iodbc-inidir=/etc/iODBC --disable-gui --disable-odbc3 the subsequent make ends with this error, gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../iodbc -I../iodbcinst -I../iodbcadm -DWITH_PTHREADS -D_REENTRANT-g -O2 -DODBCVER=0x0250 -DIODBC_BUILD=3051107 -MT SQLConfigDataSource.lo -MD -MP -MF .deps/SQLConfigDataSource.Tpo -c SQLConfigDataSource.c -fPIC -DPIC -o .libs/SQLConfigDataSource.o SQLConfigDataSource.c: In function `RemoveDefaultDataSource': SQLConfigDataSource.c:183: error: `ODBC_ERROR_REQUEST_FAILED' undeclared (first use in this function) SQLConfigDataSource.c:183: error: (Each undeclared identifier is reported only once SQLConfigDataSource.c:183: error: for each function it appears in.) SQLConfigDataSource.c: In function `SQLConfigDataSource_Internal': SQLConfigDataSource.c:253: error: `ODBC_USER_DSN' undeclared (first use in this function) SQLConfigDataSource.c:259: error: `ODBC_SYSTEM_DSN' undeclared (first use in this function) SQLConfigDataSource.c:263: error: `ODBC_REMOVE_DEFAULT_DSN' undeclared (first use in this function) SQLConfigDataSource.c:268: error: `ODBC_ERROR_INVALID_REQUEST_TYPE' undeclared (first use in this function) SQLConfigDataSource.c:277: error: `ODBC_ERROR_OUT_OF_MEM' undeclared (first use in this function) SQLConfigDataSource.c:286: error: `ODBC_ERROR_INVALID_NAME' undeclared (first use in this function) SQLConfigDataSource.c:298: error: `ODBC_ERROR_REQUEST_FAILED' undeclared (first use in this function) SQLConfigDataSource.c:459: error: `ODBC_ERROR_LOAD_LIB_FAILED' undeclared (first use in this function) SQLConfigDataSource.c:470: error: `ODBC_BOTH_DSN' undeclared (first use in this function) make[1]: *** [SQLConfigDataSource.lo] Error 1 make[1]: Leaving directory `/usr/local/src/libiodbc-3.52.3/iodbcinst' make: *** [all-recursive] Error 1 I'm compiling on a glibc2.3.3 system (SuSE 9.2). -Pat. |