php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31160 compile errors with latest version
Submitted: 2004-12-17 21:55 UTC Modified: 2004-12-21 17:52 UTC
Votes:5
Avg. Score:4.6 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:2 (50.0%)
From: jon at latchkey dot com Assigned: derick (profile)
Status: Closed Package: Compile Failure
PHP Version: 4.3.10 OS: MacOSX
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jon at latchkey dot com
New email:
PHP Version: OS:

 

 [2004-12-17 21:55 UTC] jon at latchkey dot com
Description:
------------
gcc  -IZend/ -I/usr/local/src/php/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/src/php/php-4.3.10/include -I/usr/local/src/php/php-4.3.10/main -I/usr/local/src/php/php-4.3.10 -I/usr/local/src/php/php-4.3.10/Zend -I/sw/include -I/usr/local/include -I/usr/local/imap-2004.RC6/include -I/usr/local/src/php/php-4.3.10/ext/xml/expat  -no-cpp-precomp -no-cpp-precomp -I/usr/local/src/php/php-4.3.10/TSRM  -g -O2  -c /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c -o Zend/zend_strtod.o  && echo > Zend/zend_strtod.lo
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:239: parse error before "uint32_t"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:239: warning: no semicolon at end of struct or union
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:240: warning: data definition has no type or storage class
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:386: parse error before "uint32_t"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:386: warning: no semicolon at end of struct or union
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `Balloc':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:405: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:409: sizeof applied to an incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:410: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:411: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:413: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:413: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `Bfree':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:426: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:426: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:427: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `multadd':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:443: `uint32_t' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:443: (Each undeclared identifier is reported only once
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:443: for each function it appears in.)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:443: `x' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:443: `y' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:445: parse error before "xi"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:449: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:450: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:454: `xi' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:456: `z' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:467: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:468: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:469: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:469: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:469: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:473: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:474: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: At top level:
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:484: parse error before "uint32_t"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `s2b':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:491: `nd' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:495: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:495: `y9' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:496: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:504: `nd0' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:505: `s' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: At top level:
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:522: parse error before "x"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `hi0bits':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:527: `x' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: At top level:
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:556: parse error before '*' token
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `lo0bits':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:560: syntax error before "x"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:562: `x' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:566: `y' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `i2b':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:610: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:611: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `mult':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:625: `uint32_t' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:625: parse error before "carry"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:626: `x' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:626: `xa' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:626: `xae' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:626: `xb' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:626: `xbe' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:626: `xc' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:626: `xc0' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:628: parse error before "z2"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:631: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:631: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:636: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:637: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:638: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:640: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:643: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:645: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:647: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:649: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:652: `y' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:655: `carry' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:657: `z' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:659: `z2' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:698: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:699: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `pow5mult':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:725: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:735: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:736: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:737: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `lshift':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:754: `uint32_t' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:754: `x' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:754: `x1' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:754: `xe' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:754: `z' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:761: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:762: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:763: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:766: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:769: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:770: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:799: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `cmp':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:812: `uint32_t' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:812: `xa' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:812: `xa0' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:812: `xb' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:812: `xb0' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:815: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:816: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:825: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:827: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `diff':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:849: `uint32_t' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:849: `xa' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:849: `xae' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:849: `xb' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:849: `xbe' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:849: `xc' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:857: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:858: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:869: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:870: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:871: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:872: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:874: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:875: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:877: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:916: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `ulp':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:928: parse error before "x"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:930: parse error before "a"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:932: `x' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:940: `a' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `b2d':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:968: `uint32_t' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:968: `xa' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:968: `xa0' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:968: `w' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:968: `y' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:968: `z' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:970: parse error before "d"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:978: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:979: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:988: `d' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `d2b':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1040: `uint32_t' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1040: `x' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1040: `y' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1040: `z' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1041: parse error before "d"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1046: `d' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1060: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1081: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1090: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `ratio':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1172: parse error before "da"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1175: `da' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1176: `db' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1178: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1178: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `zend_strtod':
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1243: parse error before "rv"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1245: `uint32_t' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1245: parse error before "y"
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1252: `rv' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1277: `y' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1277: `z' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1485: `rv0' undeclared (first use in this function)
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1514: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1515: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1515: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1515: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1570: dereferencing pointer to incomplete type
/usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:1571: dereferencing pointer to incomplete type
make: *** [Zend/zend_strtod.lo] Error 1
[11][ /usr/local/src/php ]# gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1173, based on gcc version 3.1 20020420 (prerelease)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-18 23:48 UTC] derick@php.net
Ok, will have a look somewhere next week.
 [2004-12-20 00:02 UTC] josephragsdale at adelphia dot net
Configure fails for me as well with PHP 5.0.3. Same errors, same lines.

Mac OS 10.2.8 and GCC 3.3
 [2004-12-20 22:38 UTC] jkt007 at mac dot com
I get the same 4.3.10 compile error on MacOS X Server 10.2.8. 4.3.10 compiles fine on MacOS X Server 10.3.6+, however.
 [2004-12-21 03:48 UTC] tomwoozle at ambrosiasw dot com
I have the same problem with 10.2.8 Server edition.
 [2004-12-21 05:51 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Should be fixed, tested myself..

 [2004-12-21 17:17 UTC] jon at latchkey dot com
ok, it builds now...thanks for the support...
 [2004-12-21 17:52 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 09:01:25 2019 UTC