php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74295 make: error related to zend
Submitted: 2017-03-23 04:06 UTC Modified: 2017-03-23 04:20 UTC
From: ifantasy072 at gmail dot com Assigned:
Status: Duplicate Package: Compile Failure
PHP Version: 7.1.3 OS: Centos 5.9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
9 + 16 = ?
Subscribe to this entry?

 
 [2017-03-23 04:06 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-03-23 04:20 UTC] requinix@php.net
-Status: Open +Status: Duplicate
 [2017-03-23 04:20 UTC] requinix@php.net
See bug #74265.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC