PHP4 Compile As Per Bug id #2933 AMMENDED
| From: | Grant Walters | Date: | Tue, 20 Mar 2001 13:41:39 +0000 |
| Subject: | PHP4 Compile As Per Bug id #2933 AMMENDED | ||
| Groups: | php.general php.general | ||
| Request: | Send a blank email to php-general+get-44739@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)
Not The SQLCHAR one below
Line 606 says
SQLINTEGER len;
Which I assume means a variable declaration of type SQLINTEGER.
>From a search of the PHP Site.
------------------------------
Status: Closed User Modify Dev Modify
From: bleyton@cpe-usalco.com
Date: 1999-12-07 16:51:27
Type: Compile Failure
OS: AIX 4.2.1
PHP Version: 4.0 Latest CVS (07/12/1999)
Assigned To:
Short Desc.: SQLCHAR undeclared
------------------------------
I have the same error compiling php4.0.1p2 on SCO Openserver 5.0.5 (with gcc
2.95).
I'm not sure about the CVS thing, but I downloaded a php-latest tar file
from the snapshots site, which I can't get to compile at all.
I even tried taking the etc/odbc directory from the snapshot and putting it
into the pl2 directory I have (as you can see I'm not a C programmer :-) ).
But this didn't work.
Is it possible to get detail on the patch that was applied, or another
solution.
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