php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28470 Parse and other errors reported during make
Submitted: 2004-05-21 13:47 UTC Modified: 2004-05-21 14:50 UTC
From: d dot j dot stevenson at sussex dot ac dot uk Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.0RC2 OS: Solaris 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: d dot j dot stevenson at sussex dot ac dot uk
New email:
PHP Version: OS:

 

 [2004-05-21 13:47 UTC] d dot j dot stevenson at sussex dot ac dot uk
Description:
------------
Did this once I downloaded the source:

gunzip php-5.0.0RC2.tar.gz
tar xf php-5.0.0RC2.tar
cd php-5.0.0RC2
export ORACLE_HOME=<path to oracle home>
./configure --with-oci8 --enable-dbx
make



Expected result:
----------------
'Build Complete'

Actual result:
--------------
An extract from the output (I can send the full output if you want):

gcc  -Iext/standard/ -I/home/davidst/php-5.0.0RC2/ext/standard/ -DPHP_ATOM_INC -
I/home/davidst/php-5.0.0RC2/include -I/home/davidst/php-5.0.0RC2/main -I/home/da
vidst/php-5.0.0RC2 -I/home/davidst/php-5.0.0RC2/Zend -I/usr/local/include/libxml
2 -I/usr/oracle/ora8i/rdbms/public -I/usr/oracle/ora8i/rdbms/demo  -D_POSIX_PTHR
EAD_SEMANTICS -I/home/davidst/php-5.0.0RC2/TSRM  -g -O2  -c /home/davidst/php-5.
0.0RC2/ext/standard/proc_open.c -o ext/standard/proc_open.o  && echo > ext/stand
ard/proc_open.lo
In file included from /home/davidst/php-5.0.0RC2/Zend/zend.h:244,
                 from /home/davidst/php-5.0.0RC2/main/php.h:34,
                 from /home/davidst/php-5.0.0RC2/ext/standard/proc_open.c:23:
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:39: error: parse error before '*' to
ken
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:39: error: parse error before "uint"
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:39: error: `ulong' declared as funct
ion returning a function
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:49: error: field `h' declared as a f
unction
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:50: error: parse error before "uint"
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:50: warning: no semicolon at end of
struct or union
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:58: error: parse error before '}' to
ken
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:58: warning: data definition has no
type or storage class
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:61: error: parse error before "uint"
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:61: warning: no semicolon at end of
struct or union
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:62: warning: data definition has no
type or storage class
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:63: error: parse error before "nNumO
fElements"
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:63: warning: data definition has no
type or storage class
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:65: error: parse error before '*' to
ken
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:65: warning: data definition has no
type or storage class
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:66: error: parse error before '*' to
ken
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:66: warning: data definition has no
type or storage class
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:67: error: parse error before '*' to
ken
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:67: warning: data definition has no
type or storage class


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-21 14:11 UTC] wez@php.net
Duplicate of at least two other reports, so marking it as bogus.

Grab a PHP 5 snapshot from http://snaps.php.net; the problem has already been fixed.
 [2004-05-21 14:50 UTC] d dot j dot stevenson at sussex dot ac dot uk
Thanks for the info.  Sorry about the repeat, however I did spend some time looking for similar bugs reports in the bug search engine and didn't find anything.

Build 5.0.0RC3-dev compiled ok, and fixed another problem we were having with ocilogon(), so thanks!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 02 21:00:01 2025 UTC