#42618 [Opn->Csd]: bcmath mod compile broken: '_zero_' undeclared in function 'bc_init_numbers'
| From: | rrichards@php.net | Date: | Tue, 11 Sep 2007 11:31:53 +0000 |
| Subject: | #42618 [Opn->Csd]: bcmath mod compile broken: '_zero_' undeclared in function 'bc_init_numbers' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117419@lists.php.net to get a copy of this message | ||
ID: 42618
Updated by: rrichards@php.net
Reported By: john2317 at gmail dot com
-Status: Open
+Status: Closed
Bug Type: BC math related
Operating System: all
PHP Version: 5CVS-2007-09-10 (CVS)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2007-09-10 20:34:23] john2317 at gmail dot com
Description:
------------
php 52-branch cvs co from a couple of weeks ago worked fine with:
cd /dev/php52/ext/bcmath
phpize --clean
phpize
./configure
make install
after update to
PHP 5.2.5-dev (cli) (built: Sep 10 2007 03:38:43)
build of bcmath mod breaks at
...
/dev/php52/ext/bcmath/libbcmath/src/init.c: In function
'bc_init_numbers':
/dev/php52/ext/bcmath/libbcmath/src/init.c:106: error: '_zero_'
undeclared (first use in this function)
/dev/php52/ext/bcmath/libbcmath/src/init.c:106: error: (Each undeclared
identifier is reported only once
/dev/php52/ext/bcmath/libbcmath/src/init.c:106: error: for each
function it appears in.)
/dev/php52/ext/bcmath/libbcmath/src/init.c:106: error: invalid lvalue
in assignment
/dev/php52/ext/bcmath/libbcmath/src/init.c:107: error: '_one_'
undeclared (first use in this function)
/dev/php52/ext/bcmath/libbcmath/src/init.c:107: error: invalid lvalue
in assignment
/dev/php52/ext/bcmath/libbcmath/src/init.c:108: error: invalid type
argument of '->'
/dev/php52/ext/bcmath/libbcmath/src/init.c:109: error: '_two_'
undeclared (first use in this function)
/dev/php52/ext/bcmath/libbcmath/src/init.c:109: error: invalid lvalue
in assignment
/dev/php52/ext/bcmath/libbcmath/src/init.c:110: error: invalid type
argument of '->'
/dev/php52/ext/bcmath/libbcmath/src/init.c: In function 'bc_init_num':
/dev/php52/ext/bcmath/libbcmath/src/init.c:129: error: '_zero_'
undeclared (first use in this function)
/dev/php52/ext/bcmath/libbcmath/src/init.c:129: warning: passing
argument 1 of 'bc_copy_num' makes pointer from integer without a cast
make: *** [libbcmath/src/init.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42618&edit=1