From: [EMAIL PROTECTED]
Operating system: Solaris 2.8
PHP version: 4.1.1
PHP Bug Type: Compile Failure
Bug description: pgsql.c void value not ignored as it ought to be
Downloaded Apache_1.3.23, PHP_4.1.1 (=matest versions)
Env. vars set:
INFORMDIR=/home/informix2000
PATH=/home/informix2000/bin:$PATH
LD_LIBRARY_PATH=/home/informix2000/lib/esql:$LD_LIBRARY_PATH
LIBRARY_PATH=/home/informix2000/lib/esql:$LIBRARY_PATH
SQLEXEC=
export INFORMIXDIR PATH LD_LIBRARY_PATH LIBRARY_PATH SQLEXEC
Unpacked apache-1.3.23, did a
# ./configure --prefix=/usr/local/apache_1323
Unpacked php_4.1.1, did a
# ./configure --with-apache=/home/wins/cosslocal/src/other/apache_1.3.23
\
--with=pgsql \
--with-informix=/home/informix2000 \
--enable-yp
(we have PGSQL in /usr/local/pgsql and INFORMIX2000
up and running)
then did a
# make
...
at the gcc compile of pgsql.c I get:
pgsql.c: In function 'zif_pg_put_line':
pgsql.c:849: void value not ignored as it ought to be
make[3]: *** [pgsql.lo] Error 1
...
I didn't have that error with our previous
apache_1.3.14 and PHP4.0.4pl1 compilation (with the
same PGSQL and INFORMIX2000)
At line 849 in pgsql.c I don't find zif_pg_put_line,
substring 'zif' is nowhere in pgsql.c ...
Pieter
--
Edit bug report at http://bugs.php.net/?id=15759&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15759&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15759&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15759&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15759&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15759&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15759&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15759&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15759&r=submittedtwice