Bug #74295 [Opn->Dup]: make: error related to zend

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=74295&edit=1

 ID:                 74295
 Updated by:         [email protected]
 Reported by:        ifantasy072 at gmail dot com
 Summary:            make: error related to zend
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Centos 5.9
 PHP Version:        7.1.3
 Block user comment: N
 Private report:     N

 New Comment:

See bug #74265.


Previous Comments:
------------------------------------------------------------------------
[2017-03-23 04:06:05] ifantasy072 at gmail dot com

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 this bug report at https://bugs.php.net/bug.php?id=74295&edit=1
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.