php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33601 PHP 5.0.4 Compile Error ARM Processer
Submitted: 2005-07-07 08:58 UTC Modified: 2005-07-15 01:00 UTC
From: jforgey at enetrak dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.0.4 OS: Debian/Linux
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: jforgey at enetrak dot com
New email:
PHP Version: OS:

 

 [2005-07-07 08:58 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-07 09:43 UTC] 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 18:00 UTC] 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 18:09 UTC] jforgey at enetrak dot com
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
 [2005-07-07 18:34 UTC] tony2001@php.net
Derick, yet another one strtod issue..
 [2005-07-07 18:45 UTC] derick@php.net
I've no idea about this device, you need to figure out which platform and or compiler defines it sets.
 [2005-07-15 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 05:01:28 2025 UTC