Error compiling php with openlink odbc on solaris
| From: | Damon Muller | Date: | Thu, 07 Dec 2000 03:14:47 +0000 |
| Subject: | Error compiling php with openlink odbc on solaris | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29041@lists.php.net to get a copy of this message | ||
Hi Folks,
I'm trying to compile php (php-4.0.3pl1) with the openlink odbc
libraries on Sparc Solaris (gcc version 2.95.2 19991024 (release)).
Initally I ran into a problem with not having the SDK (it's not
mentioned in the howto), but got around that. Now trying to compile with
the SDK, I'm getting the following problems.
php_odbc.c: In function `odbc_column_lengths':
php_odbc.c:619: `SQLINTEGER' undeclared (first use in this function)
php_odbc.c:619: (Each undeclared identifier is reported only once
php_odbc.c:619: for each function it appears in.)
php_odbc.c:619: parse error before `len'
php_odbc.c:648: `len' undeclared (first use in this function)
make[3]: *** [php_odbc.lo] Error 1
make[3]: Leaving directory `/working/php-4.0.3pl1/ext/odbc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/working/php-4.0.3pl1/ext/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/working/php-4.0.3pl1/ext'
make: *** [all-recursive] Error 1
Anyone have any suggestions
(please CC any replies, as the list is too high-traffic for me)
cheers,
damon
--
Damon Muller (damonm@vifp.monash.edu.au)
Criminologist and Occasional Webmeister
Victorian Institute of Forensic Medicine