[PHP-DEV] Bug #10563: missing #defines for ODBC From: jareds <email protected>
Date: 04/30/01

From: jareds <email protected>
Operating system: Linux 2.4.2
PHP version: 4.0 Latest CVS (30/04/2001)
PHP Bug Type: Compile Problem
Bug description: missing #defines for ODBC

php4/main/build-defs.h.in is missing 3 #define's for ODBC to compile correctly. (From looking at the CVS mailing list, it looks like they were included in a mega-patch that was rejected.)

Here's a diff that fixes the problem. The problem is that PHP_ODBC_INCLUDE, PHP_ODBC_LFLAGS, and PHP_ODBC_LIBS are undefined.

diff -r1.5 build-defs.h.in
51a52,54
> #define PHP_ODBC_INCLUDE " <email protected>@"
> #define PHP_ODBC_LFLAGS " <email protected>@"
> #define PHP_ODBC_LIBS " <email protected>@"

My configure line is as follows:

./configure --with-apxs --with-custom-odbc=/usr/local/odbc --with-openssl --with-gd --disable-debug

Please feel free to contact me if you need any more information...

-- 
Edit Bug report at: http://bugs.php.net/?id=10563&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>