Compiling latest snapshot with ODBC
| From: | John Huntjens | Date: | Thu, 28 Aug 2003 13:40:37 +0000 |
| Subject: | Compiling latest snapshot with ODBC | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-4226@lists.php.net to get a copy of this message | ||
Compiling the 28-8 3:30 snapshot whit the option
--with-unixODBC=/usr/local/odbc
/bin/sh
/sys/tmp/php5-200308280330/libtool --silent --preserve-dup-deps --mode=compi
le
gcc -I/usr/local/odbc/include -Iext/odbc/ -I/sys/tmp/php5-200308280330/ext/o
dbc/ -DPHP_ATOM_INC -I/sys/tmp/php5-200308280330/include -I/sys/tmp/php5-200
308280330/main -I/sys/tmp/php5-200308280330 -I/sys/tmp/php5-200308280330/Zen
d -I/usr/local/zlib/include -I/usr/local/libxml/include/libxml2 -I/usr/local
/firebird/include -I/usr/local/libxslt/include -I/sys/tmp/php5-200308280330
/TSRM -g -O2 -prefer-pic -c
/sys/tmp/php5-200308280330/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo
/sys/tmp/php5-200308280330/ext/odbc/php_odbc.c: In function `odbc_bindcols':
/sys/tmp/php5-200308280330/ext/odbc/php_odbc.c:657: error: `SQL_BLOB'
undeclared (first use in this function)
/sys/tmp/php5-200308280330/ext/odbc/php_odbc.c:657: error: (Each undeclared
identifier is reported only once
/sys/tmp/php5-200308280330/ext/odbc/php_odbc.c:657: error: for each function
it appears in.)
contents of:
ls -al /usr/local/odbc/include/
total 181k
drwxr-xr-x 2 root root 288 Aug 28 13:35 ./
drwxr-xr-x 5 root root 120 Aug 28 13:35 ../
-rw-r--r-- 1 root root 5.4k Aug 28 13:35 autotest.h
-rw-r--r-- 1 root root 8.4k Aug 28 13:35 odbcinst.h
-rw-r--r-- 1 root root 8.4k Aug 28 13:35 odbcinstext.h
-rw-r--r-- 1 root root 28k Aug 28 13:35 sql.h
-rw-r--r-- 1 root root 76k Aug 28 13:35 sqlext.h
-rw-r--r-- 1 root root 11k Aug 28 13:35 sqltypes.h
-rw-r--r-- 1 root root 21k Aug 28 13:35 sqlucode.h
-rw-r--r-- 1 root root 2.5k Aug 28 13:35 uodbc_stats.h