#42618 [NEW]: bcmath mod compile broken: '_zero_' undeclared in function 'bc_init_numbers'
From: john2317 at gmail dot com
Operating system: all
PHP version: 5CVS-2007-09-10 (CVS)
PHP Bug Type: BC math related
Bug description: bcmath mod compile broken: '_zero_' undeclared in function
'bc_init_numbers'
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 bug report at http://bugs.php.net/?id=42618&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42618&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42618&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42618&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42618&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42618&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42618&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42618&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42618&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42618&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42618&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42618&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42618&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42618&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42618&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42618&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42618&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42618&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42618&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42618&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42618&r=mysqlcfg
Thread (2 messages)
- john2317 at gmail dot com