Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4227 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39562 invoked by uid 1010); 28 Aug 2003 14:42:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 39537 invoked from network); 28 Aug 2003 14:42:31 -0000 Received: from unknown (HELO netphobia.fi) (213.243.181.8) by pb1.pair.com with SMTP; 28 Aug 2003 14:42:31 -0000 Received: from localhost (jani@localhost) by netphobia.fi (8.11.6/8.11.6) with ESMTP id h7SEgb521859; Thu, 28 Aug 2003 17:42:37 +0300 X-Authentication-Warning: netphobia.fi: jani owned process doing -bs Date: Thu, 28 Aug 2003 17:42:37 +0300 (EEST) Sender: jani@netphobia.fi Reply-To: Jani Taskinen To: John Huntjens cc: internals@lists.php.net In-Reply-To: <20030828134104.51909.qmail@pb1.pair.com> Message-ID: References: <20030828134104.51909.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Compiling latest snapshot with ODBC From: sniper@iki.fi (Jani Taskinen) Don't worry about that, Dan will revert that patch sometime soon. :) --Jani On Thu, 28 Aug 2003, John Huntjens wrote: >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 > > -- https://www.paypal.com/xclick/business=sniper@php.net&no_note=1&tax=0¤cy_code=EUR