[PHP-BUG] Bug #74295 [NEW]: make: error related to zend

[email protected] ("ifantasy072 at gmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             ifantasy072 at gmail dot com
Operating system: Centos 5.9
PHP version:      7.1.3
Package:          Compile Failure
Bug Type:         Bug
Bug description:make: error related to zend

Description:
------------
make: error. The last lines of information are listed as follows:

ext/standard/.libs/var.o: In function `php_var_export_ex':
/home/backup/php-7.1.3/ext/standard/var.c:473: undefined reference to
`isfinite'
main/.libs/php_variables.o: In function `zend_dval_to_lval':
/home/backup/php-7.1.3/Zend/zend_operators.h:117: undefined reference to
`isfinite'
Zend/.libs/zend_operators.o: In function `zendi_smart_strcmp':
/home/backup/php-7.1.3/Zend/zend_operators.c:2789: undefined reference
to `isfinite'
Zend/.libs/zend_operators.o: In function `zend_dval_to_lval':
/home/backup/php-7.1.3/Zend/zend_operators.h:117: undefined reference to
`isfinite'
/home/backup/php-7.1.3/Zend/zend_operators.h:117: undefined reference to
`isfinite'
Zend/.libs/zend_operators.o:/home/backup/php-7.1.3/Zend/zend_operators.h:117:
more undefined references to `isfinite' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

I know that the higher versions of bison and re2c are required in PHP7.
I had already updated them to meet the requirement and no warning
information was reported when ./configure

Test script:
---------------
./configure --prefix=/usr/local/php/7.1.3
--with-apxs2=/usr/local/apache2/bin/apxs --with-openssl=/usr/local/ssl
--with-config-file-path=/usr/local/php/7.1.3/etc
--with-mysql-sock=/var/lib/mysql/mysql.sock --with-gd --with-mysqli
--with-mcrypt=/usr/local/mcrypt --enable-mbstring -enable-mysqlnd
-with-pdo-mysql

make


-- 
Edit bug report at https://bugs.php.net/bug.php?id=74295&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=74295&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=74295&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=74295&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=74295&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=74295&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=74295&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=74295&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=74295&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=74295&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=74295&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=74295&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=74295&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=74295&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74295&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=74295&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=74295&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=74295&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74295&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=74295&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=74295&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.