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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ifantasy072 at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Nov 23 11:01:28 2024 UTC