> 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
* [EMAIL PROTECTED]) and Solid 3.0 (tested by
[EMAIL PROTECTED])
* 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]