PHP 4.0 Bug #8418: ii.c (Ingres) fails to compile with gcc
| From: | mrodal99 at grm dot hia dot no | Date: | Mon, 25 Dec 2000 22:10:45 +0000 |
| Subject: | PHP 4.0 Bug #8418: ii.c (Ingres) fails to compile with gcc | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42260@lists.php.net to get a copy of this message | ||
From: mrodal99@grm.hia.no
Operating system: Solaris 2.5.1
PHP version: 4.0.4
PHP Bug Type: Compile Failure
Bug description: ii.c (Ingres) fails to compile with gcc
I get the following error when I try to compile php 4.0.4 with the "--with-ingres"
support.
gcc -I. -I/opt/nmc/users/nmcadm/morten/php-4.0.4/ext/ingres_ii
-I/opt/nmc/users/nmcadm/morten/php-4.0.4/main -I/opt/nmc/users/nmcadm/morten/php-4.0.4
-I/opt/nmc/users/nmcadm/morten/apache_1.3.14/src/include
-I/opt/nmc/users/nmcadm/morten/apache_1.3.14/src/os/unix
-I/opt/nmc/users/nmcadm/morten/php-4.0.4/Zend -I/opt/nmc/ingres/files
-I/opt/nmc/users/nmcadm/morten/php-4.0.4/ext/xml/expat/xmltok
-I/opt/nmc/users/nmcadm/morten/php-4.0.4/ext/xml/expat/xmlparse
-I/opt/nmc/users/nmcadm/morten/php-4.0.4/TSRM -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2
-c ii.c && touch ii.lo
ii.c: In function `_clean_ii_plink':
ii.c:191: `IIAPI_AUTOPARM' undeclared (first use in this function)
ii.c:191: (Each undeclared identifier is reported only once
ii.c:191: for each function it appears in.)
ii.c:191: parse error before `autoParm'
ii.c:200: `autoParm' undeclared (first use in this function)
ii.c: In function `php_if_ingres_autocommit':
ii.c:1350: `IIAPI_AUTOPARM' undeclared (first use in this function)
ii.c:1350: parse error before `autoParm'
ii.c:1363: `autoParm' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `ii.lo'
Current working directory /opt/nmc/users/nmcadm/morten/php-4.0.4/ext/ingres_ii
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
As you can see there seems to be a problem in the "ii.c" file.
--
Edit Bug report at: http://bugs.php.net/?id=8418&edit=1