PHP 4.0 Bug #5413: Errors during make when using --with-openlink (only v4.0.1 or greater)
| From: | hans at virginia dot edu | Date: | Thu, 06 Jul 2000 18:12:38 +0000 |
| Subject: | PHP 4.0 Bug #5413: Errors during make when using --with-openlink (only v4.0.1 or greater) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23619@lists.php.net to get a copy of this message | ||
From: hans@virginia.edu
Operating system: Linux (Redhat 6.2)
PHP version: 4.0 Release Candidate 2
PHP Bug Type: ODBC related
Bug description: Errors during make when using --with-openlink (only v4.0.1 or greater)
Exact error messages:
php_odbc.c: In function `odbc_column_lengths':
php_odbc.c:606: `SQLINTEGER' undeclared (first use in this function)
php_odbc.c:606: (Each undeclared identifier is reported only once
php_odbc.c:606: for each function it appears in.)
php_odbc.c:606: parse error before `len'
php_odbc.c:634: `len' undeclared (first use in this function)
I was able to get PHP to compile by doing the following:
* in /usr/local/openlink/odbcsdk/incoming/isql.h
I inserted the line: typedef long SQLINTEGER_FIX;
at line 9
* in php_odbc.h
I inserted the line: #define SQLINTEGER SQLINTEGER_FIX
at line 117