From: ct at swin dot edu dot au
Operating system: Tru64 UNIX 5.1B
PHP version: 4.3.10
PHP Bug Type: Compile Failure
Bug description: PHP 4.3.10 does not compile on Tru64 UNIX 5.1B
Description:
------------
Unable to compile PHP 4.3.10 on Tru64 UNIX 5.1B. PHP 4.3.9 compiles
successfully on this platform. Compiler used is the one shipped in the
operating system.
Actual result:
--------------
./configure --prefix=/www/php-4.3.10
--with-apxs=/www/apache-1.3.32/bin/apxs
--with-pgsql=/www/postgresql-7.3.4
[...]
/bin/ksh /usr/local/src/web-161204/php-4.3.10/libtool --silent
--preserve-dup-deps --mode=compile cc -IZend/
-I/usr/local/src/web-161204/php-4.3.10/Zend/ -DPHP_ATOM_INC
-I/usr/local/src/web-161204/php-4.3.10/include
-I/usr/local/src/web-161204/php-4.3.10/main
-I/usr/local/src/web-161204/php-4.3.10
-I/usr/local/src/web-161204/php-4.3.10/Zend
-I/www/postgresql-7.3.4/include
-I/usr/local/src/web-161204/php-4.3.10/ext/xml/expat
-I/usr/local/src/web-161204/php-4.3.10/TSRM -g -prefer-pic -c
/usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c -o
Zend/zend_strtod.lo
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
233: In this declaration, "Exactly" appears to be used as if it named a
type, but there is no declared type of that name visible. (typedefnotdef)
Exactly one of IEEE_LITTLE_ENDIAN IEEE_BIG_ENDIAN, VAX, or
^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
240: Invalid declarator. (declarator)
} _double;
^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
928: In this declaration, "_double" must specify a type. (badparsedecl)
_double x;
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
930: In this declaration, "_double" must specify a type. (badparsedecl)
_double a;
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
970: In this declaration, "_double" must specify a type. (badparsedecl)
_double d;
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1041: In this declaration, "_double" must specify a type. (badparsedecl)
_double d;
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1172: In this declaration, "_double" must specify a type. (badparsedecl)
_double da, db;
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1243: In this declaration, "_double" must specify a type. (badparsedecl)
_double rv, rv0;
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
932: In this statement, "x" is not declared. (undeclared)
value(x) = _x;
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
940: In this statement, "a" is not declared. (undeclared)
word0(a) = L;
----------------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
988: In this statement, "d" is not declared. (undeclared)
d0 = Exp_1 | y >> (Ebits - k);
----------------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
995: In this statement, "d" is not declared. (undeclared)
d0 = Exp_1 | y << k | z >> (32 - k);
----------------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1000: In this statement, "d" is not declared. (undeclared)
d0 = Exp_1 | y;
----------------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1027: In this statement, "d" is not declared. (undeclared)
return value(d);
---------------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1046: In this statement, "d" is not declared. (undeclared)
value(d) = _d;
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1175: In this statement, "da" is not declared. (undeclared)
value(da) = b2d(a, &ka);
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1176: In this statement, "db" is not declared. (undeclared)
value(db) = b2d(b, &kb);
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1252: In this statement, "rv" is not declared. (undeclared)
value(rv) = 0.;
--------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1485: In this statement, "rv0" is not declared. (undeclared)
value(rv0) = value(rv);
------------------------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1684: In this statement, "rv0" is not declared. (undeclared)
value(rv0) = value(rv);
------------------------^
cc: Error: /usr/local/src/web-161204/php-4.3.10/Zend/zend_strtod.c, line
1702: In this statement, "rv0" is not declared. (undeclared)
value(rv0) = value(rv);
--------------------------------^
*** Exit 1
Stop.
--
Edit bug report at http://bugs.php.net/?id=31110&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31110&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31110&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31110&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31110&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31110&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31110&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31110&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31110&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31110&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31110&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31110&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31110&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31110&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31110&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31110&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31110&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31110&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31110&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31110&r=mysqlcfg