PHP 4.0 Bug #9044: Compiling with latest Openlink ODBC fails with PHP4
| From: | antiphobo at paradise dot net dot nz | Date: | Thu, 01 Feb 2001 07:04:52 +0000 |
| Subject: | PHP 4.0 Bug #9044: Compiling with latest Openlink ODBC fails with PHP4 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45498@lists.php.net to get a copy of this message | ||
From: antiphobo@paradise.net.nz
Operating system: Redhat Linux (Cobalt RAQ2)
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: Compiling with latest Openlink ODBC fails with PHP4
Tested with PHP402, 404Sp1 and Openlink version 4 :
php configured as:
/configure --with-openlink=/usr/local/openlink --with-mysql --with-apache=../apache_1.3.17
--enable-track-vars
then make fails with :
gcc -I. -I/tmp/php-4.0.2/main -I/tmp/php-4.0.2 -I/tmp/php-4.0.2/main
-I/tmp/apache_1.3.17/src/include -I/tmp/apache_1.3.17/src/os/unix -I/tmp/php-4.0.2/Zend
-I/tmp/php-4.0.2 -I/tmp/php-4.0.2/ext/mysql/libmysql -I/usr/local/openlink/odbcsdk/include
-I/tmp/php-4.0.2/ext/xml/expat/xmltok -I/tmp/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12
-g -O2 -c internal_functions.c && touch internal_functions.lo
In file included from internal_functions.c:38:
/tmp/php-4.0.2/ext/odbc/php_odbc.h:112: iodbc.h: No such file or directory
In file included from /tmp/php-4.0.2/ext/odbc/php_odbc.h:115,
from internal_functions.c:38:
/usr/local/openlink/odbcsdk/include/udbcext.h:47: warning: `SQL_LEN_DATA_AT_EXEC' redefined
/usr/local/openlink/odbcsdk/include/sqlext.h:250: warning: this is the location of the previous
definition
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/tmp/php-4.0.2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php-4.0.2/main'
make: *** [all-recursive] Error 1
--
Edit Bug report at: http://bugs.php.net/?id=9044&edit=1