ID:               31249
 Updated by:       [EMAIL PROTECTED]
 Reported By:      long+phpbugs at kestrel dot cc dot ku dot edu
-Status:           Assigned
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Tru64 4.0F
 PHP Version:      4CVS-2004-12-22 (stable)
 Assigned To:      magnus
 New Comment:

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

Works fine here on Tru64 4.0G with latest snapshot.


Previous Comments:
------------------------------------------------------------------------

[2005-01-19 03:14:12] [EMAIL PROTECTED]

It is some header file mismatch here..


------------------------------------------------------------------------

[2004-12-23 09:46:06] [EMAIL PROTECTED]

I'll check this on Tru64 4.0G.

------------------------------------------------------------------------

[2004-12-22 16:36:45] long+phpbugs at kestrel dot cc dot ku dot edu

Description:
------------
When I try building php4-STABLE-200412221330 it ends up failing with:

cc  -IZend/ -I/homeb/long/src/php4-STABLE-200412221330/Zend/
-DPHP_ATOM_INC -I/homeb/long/src/php4-STABLE-200412221330/include
-I/homeb/long/src/php4-STABLE-200412221330/main
-I/homeb/long/src/php4-STABLE-200412221330
-I/homeb/long/src/php4-STABLE-200412221330/Zend
-I/homeb/long/src/php4-STABLE-200412221330/ext/xml/expat 
-I/homeb/long/src/php4-STABLE-200412221330/TSRM  -g  -c
/homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c -o
Zend/zend_strtod.o  && echo > Zend/zend_strtod.lo
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 234: Missing type specifier or type qualifier. (missingtype)
        ULong ul[2];
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 381: Missing type specifier or type qualifier. (missingtype)
        ULong x[1];
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 440: Missing ";". (nosemi)
        ULong xi, z;
--------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 479: Ill-formed parameter type list. (parmtyplist)
        (CONST char *s, int nd0, int nd, ULong y9)
-----------------------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 484: In this declaration, "int32_t" must specify a type.
(badparsedecl)
        Long x, y;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 517: Error parsing parameter list. Found "x" when expecting one of:
",", ")". (notexpecting)
        (register ULong x)
------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 551: Error parsing parameter list. Found "*" when expecting one of:
",", ")". (notexpecting)
        (ULong *y)
---------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 555: Missing ";". (nosemi)
        register ULong x = *y;
-----------------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 620: In this declaration, "uint32_t" must specify a type.
(badparsedecl)
        ULong carry, y, z;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 623: Missing ";". (nosemi)
        ULong z2;
--------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 808: Invalid statement. (badstmt)
        int i, j;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 843: In this declaration, "int32_t" must specify a type.
(badparsedecl)
        Long borrow, y; /* We need signed shifts here. */
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 846: Missing ";". (nosemi)
        Long z;
-------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 924: Missing ";". (nosemi)
        register Long L;
----------------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 964: Invalid statement. (badstmt)
        int k;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 965: Missing ";". (nosemi)
        _double d;
----------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 1036: Missing ";". (nosemi)
        _double d;
----------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 1239: In this declaration, "int32_t" must specify a type.
(badparsedecl)
        Long L;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 1240: In this declaration, "uint32_t" must specify a type.
(badparsedecl)
        ULong y, z;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 928: In this statement, "L" is not declared. (undeclared)
        L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 1272: In this statement, "y" is not declared. (undeclared)
        y = z = 0;
--------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 1272: In this statement, "z" is not declared. (undeclared)
        y = z = 0;
------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 1329: In this statement, "L" is not declared. (undeclared)
                                L = c - '0';
--------------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 1608: In this statement, "L" is not declared. (undeclared)
                                L = (word0(rv) & Exp_mask) - Exp_msk1;
--------------------------------^
cc: Error: /homeb/long/src/php4-STABLE-200412221330/Zend/zend_strtod.c,
line 1741: In this statement, "L" is not declared. (undeclared)
                        L = aadj;
------------------------^
*** Exit 1
Stop.


Reproduce code:
---------------
Find a Tru64 4.0F system, unpack php4-STABLE-200412221330, run:

CC=cc CXX=cxx ./configure
make

and you get the error above.


Expected result:
----------------
The code to build.


Actual result:
--------------
See description



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31249&edit=1

Reply via email to