php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67962 Compile time error during Make
Submitted: 2014-09-04 22:14 UTC Modified: 2018-07-08 22:20 UTC
Votes:6
Avg. Score:4.7 ± 0.7
Reproduced:6 of 6 (100.0%)
Same Version:4 (66.7%)
Same OS:2 (33.3%)
From: chazmead89 at gmail dot com Assigned: laruence (profile)
Status: Closed Package: yaf (PECL)
PHP Version: 5.6.0 OS: Debian (Wheezy)
Private report: No CVE-ID: None
 [2014-09-04 22:14 UTC] chazmead89 at gmail dot com
Description:
------------
Compile time error during Make

/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/yaf_config.c:222:8: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
make: *** [yaf_config.lo] Error 1

Test script:
---------------
make

Expected result:
----------------
Successful compilation

Actual result:
--------------
/bin/bash /home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/libtool --mode=compile cc  -I. -I/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2 -DPHP_ATOM_INC -I/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/include -I/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/main -I/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/yaf_config.c -o yaf_config.lo 
 cc -I. -I/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2 -DPHP_ATOM_INC -I/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/include -I/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/main -I/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/yaf_config.c  -fPIC -DPIC -o .libs/yaf_config.o
/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/yaf_config.c: In function ‘yaf_config_zval_dtor’:
/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/yaf_config.c:81:9: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/yaf_config.c:81:9: note: each undeclared identifier is reported only once for each function it appears in
/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/yaf_config.c: In function ‘yaf_config_ini_zval_persistent’:
/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/yaf_config.c:183:8: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/yaf_config.c: In function ‘yaf_config_ini_zval_losable’:
/home/chaz/PHP_BUILDS/EXT/yaf-2.3.2/yaf_config.c:222:8: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
make: *** [yaf_config.lo] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-09-05 04:12 UTC] laruence@php.net
-Status: Open +Status: Verified
 [2014-09-05 04:12 UTC] laruence@php.net
it is already be fixed in trunk .... just didn't make a new release .... I will make one.... soon.
 [2014-09-05 04:12 UTC] laruence@php.net
-Assigned To: +Assigned To: laruence
 [2014-09-10 14:15 UTC] yu_zhaohua at yeah dot net
[root@localhost yaf-2.3.2]# make 
/bin/sh /root/php/yaf-2.3.2/libtool --mode=compile cc  -I. -I/root/php/yaf-2.3.2 -DPHP_ATOM_INC -I/root/php/yaf-2.3.2/include -I/root/php/yaf-2.3.2/main -I/root/php/yaf-2.3.2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -I/usr/local/include/php/ -DHAVE_CONFIG_H  -g -O2   -c /root/php/yaf-2.3.2/yaf_config.c -o yaf_config.lo 
 cc -I. -I/root/php/yaf-2.3.2 -DPHP_ATOM_INC -I/root/php/yaf-2.3.2/include -I/root/php/yaf-2.3.2/main -I/root/php/yaf-2.3.2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/php/ -DHAVE_CONFIG_H -g -O2 -c /root/php/yaf-2.3.2/yaf_config.c  -fPIC -DPIC -o .libs/yaf_config.o
/root/php/yaf-2.3.2/yaf_config.c: In function ‘yaf_config_zval_dtor’:
/root/php/yaf-2.3.2/yaf_config.c:81:9: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
    case IS_CONSTANT_ARRAY: {
         ^
/root/php/yaf-2.3.2/yaf_config.c:81:9: note: each undeclared identifier is reported only once for each function it appears in
/root/php/yaf-2.3.2/yaf_config.c: In function ‘yaf_config_ini_zval_persistent’:
/root/php/yaf-2.3.2/yaf_config.c:183:8: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
   case IS_CONSTANT_ARRAY: {
        ^
/root/php/yaf-2.3.2/yaf_config.c: In function ‘yaf_config_ini_zval_losable’:
/root/php/yaf-2.3.2/yaf_config.c:222:8: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
   case IS_CONSTANT_ARRAY: {
        ^
make: *** [yaf_config.lo] Error 1
 [2014-09-17 08:38 UTC] elain2012 at hotmail dot com
My OS CentOS 6.3x64  PHP Version 5.6.0

/home/data/rpmbuild/BUILD/yaf-2.2.9/yaf_config.c:89: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
/home/data/rpmbuild/BUILD/yaf-2.2.9/yaf_config.c:89: error: (Each undeclared identifier is reported only once
/home/data/rpmbuild/BUILD/yaf-2.2.9/yaf_config.c:89: error: for each function it appears in.)
/home/data/rpmbuild/BUILD/yaf-2.2.9/yaf_config.c: In function ‘yaf_config_ini_zval_persistent’:
/home/data/rpmbuild/BUILD/yaf-2.2.9/yaf_config.c:189: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
/home/data/rpmbuild/BUILD/yaf-2.2.9/yaf_config.c: In function ‘yaf_config_ini_zval_losable’:
/home/data/rpmbuild/BUILD/yaf-2.2.9/yaf_config.c:227: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
make: *** [yaf_config.lo] Error 1
make: *** Waiting for unfinished jobs....
 [2017-10-24 05:20 UTC] kalle@php.net
-Status: Verified +Status: Assigned
 [2018-07-08 22:20 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 [2018-07-08 22:20 UTC] cmb@php.net
This bug is fixed as of Yaf 2.3.3, see
<https://github.com/laruence/yaf/commit/d5878063d8c654419f27d958134a1bf220e2344b>.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC