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