From: l_faillie at yahoo dot com
Operating system: Solaris 8
PHP version: 4.3.4
PHP Bug Type: Compile Failure
Bug description: Yet Another Solaris compilation problem :-((

Description:
------------
Hi all,

the compilation fails at the 1st file w/ following error :

/bin/sh /export/home/laurent/bidon/php-4.3.4/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/zlib/
-I/export/home/laurent/bidon/php-4.3.4/ext/zlib/ -DPHP_ATOM_INC
-I/export/home/laurent/bidon/php-4.3.4/include
-I/export/home/laurent/bidon/php-4.3.4/main
-I/export/home/laurent/bidon/php-4.3.4
-I/export/home/laurent/bidon/php-4.3.4/Zend -I/usr/local/include
-I/usr/local/pgsql/include
-I/export/home/laurent/bidon/php-4.3.4/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS -I/export/home/laurent/bidon/php-4.3.4/TSRM -g
-O2 -prefer-pic -c /export/home/laurent/bidon/php-4.3.4/ext/zlib/zlib.c
-o ext/zlib/zlib.lo
In file included from /export/home/laurent/bidon/php-4.3.4/main/php.h:34,
from
/export/home/laurent/bidon/php-4.3.4/ext/zlib/zlib.c:28:
/export/home/laurent/bidon/php-4.3.4/Zend/zend.h:311: argument format
specified for non-function `error_function'
/export/home/laurent/bidon/php-4.3.4/Zend/zend.h:312: argument format
specified for non-function `printf_function'
/export/home/laurent/bidon/php-4.3.4/Zend/zend.h:444: argument format
specified for non-function `zend_printf'
/export/home/laurent/bidon/php-4.3.4/Zend/zend.h:451: argument format
specified for non-function `zend_error_cb'
make: *** [ext/zlib/zlib.lo] Error 1

My system is :
[1109]/export/home/laurent $uname -a
SunOS zeus 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-5_10
[1121]/export/home/laurent $gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/specs
Configured with: ../configure --with-as=/usr/local/bin/as
--with-ld=/usr/local/bin/ld --enable-libgcj
Thread model: posix
gcc version 3.0.1

I think it's a Solaris related problem because I can't reproduce it on my
SunServer5/NetBSD 1.6 system.



--
Edit bug report at [url]http://bugs.php.net/?id=26175&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=26175&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=26175&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=26175&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=26175&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=26175&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=26175&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=26175&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=26175&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=26175&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=26175&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=26175&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=26175&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=26175&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=26175&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=26175&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=26175&r=float[/url]