php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25897 Compilation fails immediately on Zend (zend.h)
Submitted: 2003-10-17 10:31 UTC Modified: 2003-11-06 09:39 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: kscott at toadmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.4RC1 OS: Solaris 8
Private report: No CVE-ID: None
 [2003-10-17 10:31 UTC] kscott at toadmail dot com
Description:
------------
Apparently there is a change from 4.3.3 to 4.3.4RC1 in how the zend.h file is built?  Compiling 4.3.3 works fine, but 4.3.4RC1 complains: 

from main/php.h:34,
from ext/zlib/zlib.c:28:
/Zend/zend.h:311: argument format specified for non-function 'error-function', 

and carries on for lines 312 ('printf_function'), 444 ('zend_printf'), and 451 ('zend_error_cb'). with same error statement while trying to compile the first file, ext/zlib/zlib.c.

The OS is Solaris 8, installed zlib is 1.1.4, compiling PHP 4.3.4RC1 using gcc 3.0.3.  

PHP 4.3.0 and 4.3.3 both compiled and installed fine. Issue only with 4.3.4RC1.

BTW, 4.3.4RC1 compiled and installed fine on a Linux RH 7.3 box, no issues at all.  I've run into a couple problems trying to compile this version on a Solaris box.


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-06 00:28 UTC] ricardoj at hotlink dot com dot br
Take a look at bug #26105 for a useful workaround to this issue.
 [2003-11-06 09:39 UTC] sniper@php.net
This was actually fixed in CVS now.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 17:01:29 2024 UTC