php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42618 bcmath mod compile broken: '_zero_' undeclared in function 'bc_init_numbers'
Submitted: 2007-09-10 20:34 UTC Modified: 2007-09-11 11:31 UTC
From: john2317 at gmail dot com Assigned:
Status: Closed Package: BC math related
PHP Version: 5CVS-2007-09-10 (CVS) OS: all
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: john2317 at gmail dot com
New email:
PHP Version: OS:

 

 [2007-09-10 20:34 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-11 11:31 UTC] rrichards@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC