php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28250 Make fails catastrophically
Submitted: 2004-05-02 07:56 UTC Modified: 2004-05-02 18:20 UTC
From: geoffw at cybertribe dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.0.0RC2 OS: OpenBSD 3.5-current(5/1)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: geoffw at cybertribe dot com
New email:
PHP Version: OS:

 

 [2004-05-02 07:56 UTC] geoffw at cybertribe dot com
Description:
------------
configure line as follows...
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-openssl --with-config-file-path=/usr/local/lib/php 
--enable-dba=shared --with-db4=/usr/local/BerkeleyDB4.2 --enable-ftp --with-mysql=/usr/local/

also with LD_LIBRARY_PATH set as follows...
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.4.2/lib

Start of problem...
In file included from /home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend.h:244,
                 from /home/lyk0s/BAMPS/php-5.0.0RC2/main/php.h:34,
                 from /home/lyk0s/BAMPS/php-5.0.0RC2/ext/standard/proc_open.c:23:
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:39: syntax error before `*'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:39: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:39: `ulong' declared as function returning a function
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:49: field `h' declared as a function
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:50: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:61: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:64: field `nNextFreeElement' declared as a function
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:81: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:82: field `h' declared as a function
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:93: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:94: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:101: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:107: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:113: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:119: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:147: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:153: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:153: `zend_get_hash_value' declared as function returning a function
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:156: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:157: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:161: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:162: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:164: `zend_hash_next_free_element' declared as function returning a function
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:172: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:196: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:197: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:198: syntax error before `uint'
/home/lyk0s/BAMPS/php-5.0.0RC2/Zend/zend_hash.h:243: syntax error before `uint'


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-02 07:59 UTC] geoffw at cybertribe dot com
fixed spelling typo :)
 [2004-05-02 08:14 UTC] geoffw at cybertribe dot com
I am using gcc version 2.95.3 20010125 (prerelease, propolice)

Also please note that this same system and configuration successfully builds PHP4.3.6
 [2004-05-02 09:53 UTC] wez@php.net
Duplicate of Bug #28157 (and Bug #28193).
 [2004-05-02 11:12 UTC] geoffw at cybertribe dot com
This may have a similar cause but it is "different". This is a BSD OS not Solaris, and I am using gcc 2.95 not 3.X Also note the failuer is in a different place in the build.
 [2004-05-02 13:06 UTC] wez@php.net
Regardless, the cause (and the workaround I suggested) are the same.
 [2004-05-02 18:20 UTC] geoffw at cybertribe dot com
The workaround found in #28193 by wez fixes the problem.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Feb 10 22:00:01 2026 UTC