FW: [PHP] PHP4 Compile As Per Bug id #2933 AMMENDED - FIXED!
| From: | Grant Walters | Date: | Tue, 20 Mar 2001 13:58:42 +0000 |
| Subject: | FW: [PHP] PHP4 Compile As Per Bug id #2933 AMMENDED - FIXED! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-44742@lists.php.net to get a copy of this message | ||
> Actually my error is
> 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 went back to the latest source relaaes and found the following which I
have included in my pl2 version.
----------------------------------------------------------------------------
-------
#if defined(HAVE_SOLID) || defined(HAVE_SOLID_30) || defined(HAVE_OPENLINK)
/* this seems to be necessary for Solid2.3 ( tested by
* tammy@synchronis.com) and Solid 3.0 (tested by
eric@terra.telemediair.nl)
* Solid does not seem to declare a SQLINTEGER, but it does declare a
* SQL_INTEGER which does not work (despite being the same type as a
SDWORD.
* Solid 3.5 does not have this issue.
*/
SDWORD len;
#else
SQLINTEGER len;
#endif
----------------------------------------------------------------------------
-------
php_odbc.c now compiles, the rest is still compiling :-)
Regards
Grant Walters
Brainbench 'Most Valuable Professional' for Unix Admin
Walters & Associates, P O Box 13-043 Johnsonville, Wellington, NEW ZEALAND
Telephone: +64 4 4765175, CellPhone 025488265, ICQ# 23511989