PHP 4.0 Bug #8418 Updated: ii.c (Ingres) fails to compile with gcc
| From: | sniper@php.net | Date: | Thu, 28 Dec 2000 14:07:15 +0000 |
| Subject: | PHP 4.0 Bug #8418 Updated: ii.c (Ingres) fails to compile with gcc | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42411@lists.php.net to get a copy of this message | ||
ID: 8418
Updated by: sniper
Reported By: mrodal99@grm.hia.no
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
Assigned To:
Comments:
What is the whole configure line you have used?
Is there anything unusual in config.log when
--with-ii is used? Does it work when it is not used?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-25 18:08:17] mrodal99@grm.hia.no
I just noticed that the configure program gives me an 'error':
Generating files
checking for working mkdir -p... yes
creating config_vars.mk
updating cache ./config.cache
creating ./config.status
creating php4.spec
creating Zend/Makefile
creating main/build-defs.h
creating pear/pear
creating pear/phpize
creating pear/php-config
creating pear/PEAR.php
creating TSRM/Makefile
creating sapi/apache/libphp4.module
creating main/php_config.h
creating sapi/Makefile
creating ext/Makefile
creating Makefile
mkdir: "": No such file or directory
creating pear/Makefile
creating main/Makefile
creating ext/ingres_ii/Makefile
creating ext/pcre/Makefile
creating ext/pcre/pcrelib/Makefile
creating ext/posix/Makefile
creating ext/session/Makefile
creating ext/standard/Makefile
creating ext/xml/Makefile
creating ext/xml/expat/Makefile
creating ext/xml/expat/xmlparse/Makefile
creating ext/xml/expat/xmltok/Makefile
creating sapi/apache/Makefile
creating regex/Makefile
creating main/internal_functions.c
Notice that "mkdir: "": No such file or directory" in there
---------------------------------------------------------------------------
[2000-12-25 17:10:45] mrodal99@grm.hia.no
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8418