#31941 [Opn->Fbk]: Make Fails at Zend/zend_strtod.c, line 239
| From: | sniper@php.net | Date: | Sat, 12 Feb 2005 02:18:53 +0000 |
| Subject: | #31941 [Opn->Fbk]: Make Fails at Zend/zend_strtod.c, line 239 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73927@lists.php.net to get a copy of this message | ||
ID: 31941
Updated by: sniper@php.net
Reported By: buffalo at radix dot net
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Solaris 2.5.0 / 5.5
PHP Version: 4.3.10
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
AFAIK, this is already fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2005-02-11 23:26:57] buffalo at radix dot net
Description:
------------
During a normal build from source on Solaris 2.5.0/GCC 2.95.2, with the
the configure line:
./configure --prefix=/usr/local/php-4.3.10
--with-mysql=/usr/local/mysql-3.23
.58 --with-apxs=/usr/local/apache_1.3.33/bin/apxs
--enable-memory-limit
The make process fails at Zend/zend_strtod.c, line 239, complaining
about definitions for uint32_t or int32_t
Earlier versions of PHP 4.3.x had built without incident on the same
box. Trying the lates snapshot did not solve the problem.
A C programmer friend figured it out for me.:
Under Solaris 2.5.0, there doesn't seem to be a definition for uint32_t
or int32_t.
To get php 4.3.10 to compile, edit Zend/zend_strtod.c and at line 131
change:
#if defined(__sparc__) || defined(__ppc__)
#define u_int32_t uint32_t
#endif
to:
#if defined(__sparc__) || defined(__ppc__)
#define u_int32_t unsigned int
#define int32_t int
#endif
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31941&edit=1