#33601 [Opn]: PHP 5.0.4 Compile Error ARM Processer
| From: | jforgey at enetrak dot com | Date: | Thu, 07 Jul 2005 16:09:56 +0000 |
| Subject: | #33601 [Opn]: PHP 5.0.4 Compile Error ARM Processer | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81541@lists.php.net to get a copy of this message | ||
ID: 33601
User updated by: jforgey at enetrak dot com
Reported By: jforgey at enetrak dot com
Status: Open
Bug Type: Compile Failure
Operating System: Debian/Linux
PHP Version: 5.0.4
New Comment:
Commented out line 240 & 241
Exactly one of IEEE_LITTLE_ENDIAN IEEE_BIG_ENDIAN, VAX, or
IBM should be defined.
changed to;
//Exactly one of IEEE_LITTLE_ENDIAN IEEE_BIG_ENDIAN, VAX, or
//IBM should be defined.
Has now compiled
Previous Comments:
------------------------------------------------------------------------
[2005-07-07 18:00:19] jforgey at enetrak dot com
....d/zend_strtod.c -o Zend/zend_strtod.lo
/root/src/php5-200507071230/Zend/zend_strtod.c:240: parse error before
`one'
/root/src/php5-200507071230/Zend/zend_strtod.c:241: parse error before
`IBM'
/root/src/php5-200507071230/Zend/zend_strtod.c:247: parse error before
`}'
/root/src/php5-200507071230/Zend/zend_strtod.c:247: warning: data
definition has no type or storage class
/root/src/php5-200507071230/Zend/zend_strtod.c: In function `ulp':
/root/src/php5-200507071230/Zend/zend_strtod.c:935: `_double'
undeclared (first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c:935: (Each undeclared
identifier is reported only once
/root/src/php5-200507071230/Zend/zend_strtod.c:935: for each function
it appears in.)
/root/src/php5-200507071230/Zend/zend_strtod.c:935: parse error before
`x'
/root/src/php5-200507071230/Zend/zend_strtod.c:937: parse error before
`a'
/root/src/php5-200507071230/Zend/zend_strtod.c:939: `x' undeclared
(first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c:947: `a' undeclared
(first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c: In function `b2d':
/root/src/php5-200507071230/Zend/zend_strtod.c:977: `_double'
undeclared (first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c:977: parse error before
`d'
/root/src/php5-200507071230/Zend/zend_strtod.c:995: `d' undeclared
(first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c: In function `d2b':
/root/src/php5-200507071230/Zend/zend_strtod.c:1048: `_double'
undeclared (first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c:1048: parse error before
`d'
/root/src/php5-200507071230/Zend/zend_strtod.c:1053: `d' undeclared
(first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c: In function `ratio':
/root/src/php5-200507071230/Zend/zend_strtod.c:1179: `_double'
undeclared (first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c:1179: parse error before
`da'
/root/src/php5-200507071230/Zend/zend_strtod.c:1182: `da' undeclared
(first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c:1183: `db' undeclared
(first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c: In function
`zend_strtod':
/root/src/php5-200507071230/Zend/zend_strtod.c:1250: `_double'
undeclared (first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c:1250: parse error before
`rv'
/root/src/php5-200507071230/Zend/zend_strtod.c:1259: `rv' undeclared
(first use in this function)
/root/src/php5-200507071230/Zend/zend_strtod.c:1492: `rv0' undeclared
(first use in this function)
make: *** [Zend/zend_strtod.lo] Error 1
------------------------------------------------------------------------
[2005-07-07 09:43:18] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-07-07 08:58:59] jforgey at enetrak dot com
Description:
------------
Trying to compile php on an embedded device using an ARM processer,
fails
Reproduce code:
---------------
./configure --enable-apxs=/usr/share/apache/bin
make
Actual result:
--------------
....nclude -I/root/src/php-5.0.4/main -I/root/src/php-5.0.4
-I/usr/local/include/libxml2 -I/root/src/php-5.0.4/TSRM
-I/root/src/php-5.0.4/Zend -g -O2 -c
/root/src/php-5.0.4/Zend/zend_strtod.c -o Zend/zend_strtod.o && echo >
Zend/zend_strtod.lo
/root/src/php-5.0.4/Zend/zend_strtod.c:240: parse error before `one'
/root/src/php-5.0.4/Zend/zend_strtod.c:241: parse error before `IBM'
/root/src/php-5.0.4/Zend/zend_strtod.c:247: parse error before `}'
/root/src/php-5.0.4/Zend/zend_strtod.c:247: warning: data definition
has no type or storage class
/root/src/php-5.0.4/Zend/zend_strtod.c: In function `ulp':
/root/src/php-5.0.4/Zend/zend_strtod.c:935: `_double' undeclared (first
use in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c:935: (Each undeclared identifier
is reported only once
/root/src/php-5.0.4/Zend/zend_strtod.c:935: for each function it
appears in.)
/root/src/php-5.0.4/Zend/zend_strtod.c:935: parse error before `x'
/root/src/php-5.0.4/Zend/zend_strtod.c:937: parse error before `a'
/root/src/php-5.0.4/Zend/zend_strtod.c:939: `x' undeclared (first use
in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c:947: `a' undeclared (first use
in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c: In function `b2d':
/root/src/php-5.0.4/Zend/zend_strtod.c:977: `_double' undeclared (first
use in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c:977: parse error before `d'
/root/src/php-5.0.4/Zend/zend_strtod.c:995: `d' undeclared (first use
in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c: In function `d2b':
/root/src/php-5.0.4/Zend/zend_strtod.c:1048: `_double' undeclared
(first use in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c:1048: parse error before `d'
/root/src/php-5.0.4/Zend/zend_strtod.c:1053: `d' undeclared (first use
in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c: In function `ratio':
/root/src/php-5.0.4/Zend/zend_strtod.c:1179: `_double' undeclared
(first use in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c:1179: parse error before `da'
/root/src/php-5.0.4/Zend/zend_strtod.c:1182: `da' undeclared (first use
in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c:1183: `db' undeclared (first use
in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c: In function `zend_strtod':
/root/src/php-5.0.4/Zend/zend_strtod.c:1250: `_double' undeclared
(first use in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c:1250: parse error before `rv'
/root/src/php-5.0.4/Zend/zend_strtod.c:1259: `rv' undeclared (first use
in this function)
/root/src/php-5.0.4/Zend/zend_strtod.c:1492: `rv0' undeclared (first
use in this function)
make: *** [Zend/zend_strtod.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33601&edit=1