PHP 4.0 Bug #3605: bcmath won't compile

From: Date: Thu, 24 Feb 2000 11:14:14 +0000
Subject: PHP 4.0 Bug #3605: bcmath won't compile
Groups: php.dev 
Request: Send a blank email to php-dev+get-15932@lists.php.net to get a copy of this message
From: nicolai@dailyrush.dk Operating system: FreeBSD 3.2-RELEASE PHP version: 4.0 Beta 4 Patch Level 1 PHP Bug Type: Compile Failure Bug description: bcmath won't compile Problem is when compiling with bcmath, bc_num is not declared. Also applies to 4.0Beta3. gcc version 2.7.2.1 Configure line: ./configure --enable-bcmath --enable-track-vars --with-apache=/work/apache_1.3.11 --without-gd Result: Making all in Zend /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall -c zend_operators.c zend_operators.c: In function `zendi_smart_strcmp': zend_operators.c:1302: `bc_num' undeclared (first use this function) zend_operators.c:1302: (Each undeclared identifier is reported only once zend_operators.c:1302: for each function it appears in.) zend_operators.c:1302: parse error before `first' zend_operators.c:1305: warning: implicit declaration of function `init_num' zend_operators.c:1305: `first' undeclared (first use this function) zend_operators.c:1306: `second' undeclared (first use this function) zend_operators.c:1307: warning: implicit declaration of function `str2num' zend_operators.c:1309: warning: implicit declaration of function `bc_compare' zend_operators.c:1311: warning: implicit declaration of function `free_num' *** Error code 1 Stop. *** Error code 1 Stop.

« previous php.dev (#15932) next »