Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

error: ‘ZEND_COMPILE_NO_BUILTINS’ undeclared in php7.0.6 #102

Open
cjhlai opened this issue Jan 21, 2021 · 0 comments
Open

error: ‘ZEND_COMPILE_NO_BUILTINS’ undeclared in php7.0.6 #102

cjhlai opened this issue Jan 21, 2021 · 0 comments

Comments

@cjhlai
Copy link

cjhlai commented Jan 21, 2021

php 7.0.6
when i run these :
git clone https://github.com/tideways/php-xhprof-extension.git
cd php-xhprof-extension
phpize
./configure
make

it return the below errors :
[root@oppo-www-20200806152015-ctbg php-xhprof-extension]# make
/bin/sh /data/php-xhprof-extension/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/data/php-xhprof-extension -DPHP_ATOM_INC -I/data/php-xhprof-extension/include -I/data/php-xhprof-extension/main -I/data/php-xhprof-extension -I/usr/local/php7/include/php -I/usr/local/php7/include/php/main -I/usr/local/php7/include/php/TSRM -I/usr/local/php7/include/php/Zend -I/usr/local/php7/include/php/ext -I/usr/local/php7/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /data/php-xhprof-extension/tideways_xhprof.c -o tideways_xhprof.lo
mkdir .libs
cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/data/php-xhprof-extension -DPHP_ATOM_INC -I/data/php-xhprof-extension/include -I/data/php-xhprof-extension/main -I/data/php-xhprof-extension -I/usr/local/php7/include/php -I/usr/local/php7/include/php/main -I/usr/local/php7/include/php/TSRM -I/usr/local/php7/include/php/Zend -I/usr/local/php7/include/php/ext -I/usr/local/php7/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /data/php-xhprof-extension/tideways_xhprof.c -fPIC -DPIC -o .libs/tideways_xhprof.o
/data/php-xhprof-extension/tideways_xhprof.c: In function ‘zm_activate_tideways_xhprof’:
/data/php-xhprof-extension/tideways_xhprof.c:146:51: error: ‘ZEND_COMPILE_NO_BUILTINS’ undeclared (first use in this function)
CG(compiler_options) = CG(compiler_options) | ZEND_COMPILE_NO_BUILTINS;
^
/data/php-xhprof-extension/tideways_xhprof.c:146:51: note: each undeclared identifier is reported only once for each function it appears in

hope for your relpy ,thanks!@Danack@beberlei

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant